Sub topic 5
Setting Up Your Document Correctly from the Start
This chapter assumes you know what trim size, bleed, and safe area mean from the previous chapters. It also assumes you can create a new file in a layout or design application. The focus here is on entering those values at the start of a job so you don't have to fix them later.
Why setup comes first
Changing the trim size, adding bleed, or moving margins after the layout exists is risky. Text reflows. Images shift. Anything you scale changes its effective resolution. A few minutes of setup before you place anything prevents most of these problems.
Setup means deciding five things before you design:
- The trim size, which is the final cut size.
- The bleed on each side.
- The safe area, set as margins or guides.
- The page count and page arrangement.
- The color mode and the target resolution for raster images.
Get the specification from the printer or the job brief. Do not guess. Printers publish templates and state their bleed and safety values. Follow those numbers if they differ from the defaults in this chapter.
Enter the trim size, not the bleed size
The most common setup error is typing the size with bleed into the page width and height. A flyer that should trim to A4 (210 × 297 mm) is then built as 216 × 303 mm. The printer receives a file whose trim edge is unclear, and every margin is off by the bleed amount.
Enter the finished size as the page size. Then enter bleed in the separate bleed field. The application draws the bleed area outside the page edge, usually as a red guide.
| Application | Where the trim size goes | Where bleed goes |
|---|---|---|
| InDesign | Width and Height in the New Document dialog | Bleed and Slug section of the same dialog |
| Illustrator | Width and Height for the artboard | Bleed fields in the New Document dialog |
| Affinity Publisher | Page size in the New Document dialog | Bleed field in the same dialog |
| Photoshop | No trim or bleed fields | Make the canvas the size with bleed and add guides |
Photoshop is the exception. It has no bleed setting, so the canvas itself must include the bleed. In that case you draw guides at the trim edge and at the safe edge. The code later in this chapter calculates those positions.
Choose the bleed amount
A typical bleed is 3 mm in metric countries and 0.125 inch (1/8 inch) in the United States. Some printers ask for more, for example 5 mm on large posters or 0.25 inch for some jobs. The printer's value overrides the default.
Set the same bleed on all four sides unless the printer says otherwise. Some applications let you link the four values. Leave them linked so you don't leave one side at zero.
If the job is a folded piece or a bound book, there may be no bleed on the fold or spine edges. Check the printer's template. You will see more on this in the chapter on folds and binding.
Set margins as the safe area
Margins in a layout application play the role of the safe area. They are guides, and they do not clip anything. Set them so that important text and logos stay inside them.
A common starting point is 3 to 5 mm (about 0.125 to 0.25 inch) inside the trim edge. Use more room for these cases:
- Text near the edge of a heavily trimmed product, such as a stack cut on a guillotine.
- Pieces that will be folded, drilled, or bound.
- Small type, where a 1 mm shift is easy to see.
Margins in InDesign are measured from the page edge, which is the trim edge. In a Photoshop canvas that includes bleed, margins must be measured from the trim guide. Remember that when you place guides.
Calculate the numbers
When the application has no bleed field, or you want to check what it produces, calculate the values. The function below takes a trim size in millimeters, a bleed, a safe distance, and a resolution. It returns the full document size, the guide positions measured from the top-left corner of the document with bleed, and the pixels needed to cover the full document.
import math
MM_PER_INCH = 25.4
def px(mm, ppi):
# round first so 25.4 mm at 300 ppi gives exactly 300, not 300.0000001
return math.ceil(round(mm / MM_PER_INCH * ppi, 6))
def setup_spec(trim_w, trim_h, bleed=3, safe=5, ppi=300):
doc_w = trim_w + 2 * bleed
doc_h = trim_h + 2 * bleed
return {
"document_mm": (doc_w, doc_h),
"trim_guides_mm": (bleed, bleed, bleed + trim_w, bleed + trim_h),
"safe_guides_mm": (
bleed + safe,
bleed + safe,
bleed + trim_w - safe,
bleed + trim_h - safe,
),
"document_px": (px(doc_w, ppi), px(doc_h, ppi)),
}
spec = setup_spec(148, 210) # A5 with 3 mm bleed and 5 mm safe margin
for name, value in spec.items():
print(name, value)Running it prints:
document_mm (154, 216)
trim_guides_mm (3, 3, 151, 213)
safe_guides_mm (8, 8, 146, 208)
document_px (1819, 2552)The trim guides sit 3 mm in from each document edge. The safe guides sit 5 mm further in. The pixel size is what a full-bleed background image needs at 300 ppi. This size is a minimum. A photo that you will crop or scale needs more pixels.
The same arithmetic works in inches. A 3.5 × 2 inch business card with 0.125 inch bleed has a full size of 3.75 × 2.25 inches. At 300 ppi that is 1125 × 675 px. With a 0.125 inch safe margin, the safe area is 975 × 525 px.
Follow a setup sequence
The order matters, because later steps depend on earlier ones.
Saving a template is worth the extra step. If you produce business cards, flyers, or posters regularly, a template with correct bleed and margins removes the chance of a setup mistake.
Set color mode and raster resolution at the start
Two more settings belong at setup, although they get their own chapters later.
- Color mode. Choose CMYK for a document that goes to a press, unless the printer asks for RGB. Starting in the correct mode avoids a late conversion that shifts bright colors. Some applications default to RGB for new documents, so check.
- Raster resolution. When a new Photoshop file or raster effects resolution setting is needed, use 300 ppi for typical print work. Resolution for vector artwork is not set in this way, since vector shapes have no fixed pixel count.
Large-format jobs use lower values. Do not apply 300 ppi to a billboard. The printer's guidance and the viewing distance decide.
Page structure: facing pages and page count
For multi-page documents, choose the page arrangement at the start as well.
- Single pages suit flyers, posters, and cards.
- Facing pages suit booklets and books. Inside and outside margins differ, since the inside margin must allow for binding.
- Page count often must be a multiple of 4 for saddle-stitched booklets, because each sheet gives four pages. Ask the printer.
Adding pages later is easy in most applications. Changing from single to facing pages after the layout is built can shift content, so decide first.
Common errors
- Trim size set to the size with bleed. The result is a file that looks correct on screen but has wrong margins and a wrong trim box in the PDF.
- Bleed left at zero. The exported PDF has no bleed. A thin white line can appear at the edge after cutting.
- Backgrounds stopped at the page edge. Bleed exists but nothing fills it.
- Text inside the bleed or outside the margin. Small cutting shifts can clip it.
- Wrong units. A document set in inches while the printer works in millimeters leads to rounding errors. Work in the printer's units.
- Resizing the document afterwards. Using a "scale to fit" resize changes everything, including the bleed and margin proportions.
You can check the result of a setup after export. The command below uses the pdfinfo tool from poppler-utils to print the page boxes recorded in a PDF.
pdfinfo -box flyer.pdfFor an A4 flyer with 3 mm bleed, the MediaBox and BleedBox should be 216 × 303 mm (about 612.28 × 858.94 points), and the TrimBox should be 210 × 297 mm. If the TrimBox equals the MediaBox, bleed was not set up correctly.
Exercise
You need a poster that trims to 420 × 594 mm (A2) with 5 mm bleed, and you are working in Photoshop, which has no bleed field. What canvas size in millimeters do you create, and at what distance from the canvas edge do you place the trim guides?
Show answer
Create a canvas of 430 × 604 mm, which is the trim size plus 5 mm on each side. Place the trim guides 5 mm in from each canvas edge, so they enclose a 420 × 594 mm rectangle.
Exercise
A colleague sets up a 3.5 × 2 inch business card by entering a page size of 3.75 × 2.25 inches and zero bleed. Name two problems this causes.
Show answer
The trim edge is wrong, because the page size includes the bleed amount, so margins are measured from the wrong place and the PDF's TrimBox is too large. The file also has no bleed, so backgrounds that reach the edge can show a white line after cutting.