Envelope Address Printer
Operator: Abdulla Al Fahad. How tools are built and checked
Address labels peel, curl and look like mass mail. If the envelope itself should carry the address, the job is to get each name onto the right spot of a sheet that is not A4 or Letter, in whichever direction your printer pulls envelopes through.
This tool takes a mailing list and writes a PDF in which every page is one envelope, at the envelope's real dimensions, with the recipient block set where a postal sorter expects it and an optional return address in the top-left corner.
Key features
- Five envelope sizes at true page size, one page per envelope
- CSV, XLSX or pasted addresses, with column matching and US, European or UK line order
- Text fitted between 7 pt and your maximum, with a live count of addresses that will shrink or be cut before you download
- Return address corner, rotation of 0, 90, 180 or 270 degrees, and a guide outline for a plain-paper trial
Envelope sizes, address placement and feed rotation
Five sizes are built in: #10 (4 1/8 x 9 1/2 in), DL (110 x 220 mm), C5 (162 x 229 mm), C6 (114 x 162 mm) and A7 (5 1/4 x 7 1/4 in). Each page is the envelope laid flat with its long side horizontal, so the PDF's page size equals the envelope and a printer set to that envelope size needs no scaling. The recipient block starts at roughly 40 percent of the width and 40 percent of the height; the #10 box stops about 0.75 inch above the bottom edge to leave the strip along the bottom clear for postal barcodes.
Addresses come from pasted text or a file. Pasted text is split either at blank lines, with one address per block, or one address per line split at commas and tabs. A CSV or XLSX is read with columns matched by header name (name, company, address lines 1 and 2, city, state, postcode, country), and you can correct any guess. City, state and postcode can follow US order (City, ST 12345), European order (12345 City) or the UK style of separate lines, and a home country can be left off the last line. An optional switch turns everything into capitals.
Text is fitted rather than wrapped: the largest size not above your maximum (default 13 pt) at which the widest line fits the box width and all lines fit its height, never below 7 pt. If an address still does not fit at 7 pt, a long line is cut with an ellipsis and the result counts how many. The return address is fitted the same way within the left 42 percent of the width, from your chosen size down to 5.5 pt. Helvetica, Times or Courier can be chosen; characters outside the Western European set are replaced with plain letters or a question mark and listed.
Rotation is written into the PDF as the page's /Rotate value: 0, 90, 180 or 270 degrees. Printers differ on whether an envelope should arrive as a landscape or portrait page and which edge goes in first, which is why the setting exists. A guide option draws the envelope outline and a dashed address box so that you can test on plain paper, and two offset boxes move the address up to 40 mm in any direction. Up to 2,000 envelopes are built per file.
How it works
A function measures each line with the real font widths from the PDF library, so the preview, which is a rendered page of the actual file, matches what prints. The recipient box is the default position plus your millimetre offsets, clipped to stay at least 14 points inside the envelope.
The counts of shrunk and cut addresses shown above the download button come from the same fitting function, run over every address without building any pages, so they update as you change the size, font, maximum or offsets and agree with the numbers reported after the PDF is made.
Common use cases
- Addressing 120 wedding invitations on C6 envelopes from a guest-list CSV, with the couple's return address in the corner
- Mailing 40 quarterly invoices on DL envelopes straight from an accounting export, without buying label stock
How to use this tool
- Paste your addresses, or drop a CSV or XLSX and check the column choices, then choose the envelope size, the font and your return address.
- Tick the guide option, download a trial page, print it on plain paper and hold it against a real envelope; nudge the address with the offsets or change the page rotation until it lands.
- Untick the guides and download the full PDF.
Example
Pasted addresses, blank line between them
Amara Okafor
14 Hawthorn Lane
Apt 3B
Portland, OR 97214
Priya Raman
9 Cedar Court
Austin, TX 78704Result on #10 envelopes
2 pages of 684 x 297 pt
Page 1: four lines at 13 pt starting 273.6 pt from the left and 118.8 pt from the top
Page 2: three lines at 13 pt in the same placeTips for best results
- Most desktop printers pull an envelope by its short edge. After the guide-sheet trial, check where the size label at the bottom left of the page came out: if it is at the flap end, add 180 to the rotation, and if the whole address is 5 mm too low, set the down offset to -5. Once one envelope lands correctly, the same rotation and offsets suit every envelope of that size on that printer.
- The home-country setting removes the country line for domestic mail, which is what postal services prefer.
- A7 stock is small enough that many printers cannot grip it; tape it to a carrier sheet of paper and print the carrier.
- To fit a long company name without shrinking the whole address, split it over two cells in the file so it becomes two shorter lines.
Common pitfalls
Window envelopes place the address in a fixed spot, so this layout does not apply to them.
The recipient position is a convention, not a guarantee of postal automation compliance for your country.
No postal barcode or address verification is added.
Only the standard PDF fonts are available, so a name in Cyrillic, Greek or Chinese is replaced with plain letters or question marks; read the replaced-characters note before printing.
Common errors and how to fix them
- "addresses did not fit even at 7 pt"
- A line is longer than the box. Shorten the company name, split it over two cells, or choose C5, which has the largest box.
- The printed address sits too far from where the preview shows it
- The printer scaled the page. Print at 100 percent or actual size, with the envelope size chosen in the dialog.
- Text prints sideways or on the wrong end
- Try another page rotation. The four settings cover every combination of landscape or portrait and which end goes in first.
Best practices
- Write the rotation, offsets, font and envelope size that worked on a note kept with the printer; the next mailing then needs no trial sheet.