Artwork tools
Set up the online designer and blank artwork guides
Match artwork to selected dimensions and pages, reopen designs and understand print limits.
Guide source reviewed for PressFlow 2.0.5.
PressFlow includes a locally hosted PDFme 6.2.6 designer. Customers can create artwork in the shop without another account or an external design subscription. The editor opens from Your artwork → Design online, and uses the current print job's finished size, bleed and number of pages. One PDF contains all printed sides.
Shop-wide switches are in PressFlow settings → Features & integrations. Enable Online artwork designer and, to restore saved source, Reopen saved designs. Blank template downloads are independent; see FEATURES-INTEGRATIONS.md.
Set up a product
- Open PressFlow → Print products and open the product's print setup.
- In Artwork checks, enable requirements and define the finished width and height in millimetres, bleed on each edge and expected pages.
- If customers choose a size, map every offered size choice to its finished dimensions. If customers enter dimensions, choose the job-size source and verify the configured unit. A metre is converted to 1,000 mm; copies do not multiply the canvas.
- Map printed-side choices to one or two pages. For booklets, map the page-count choice, or use a valid numeric page-count field. Check each combination you sell.
- In the normal WooCommerce product editor, Product data → General → Online artwork designer controls whether customers can use it. Save the product after changing it.
- Open the customer page, choose options and click Design online. Check the size, bleed and page count in its heading before designing. Test a different size and both single- and double-sided choices.
Existing correctly mapped demo business cards, leaflets and booklets can use the designer. Products without a reliable artwork size/page mapping retain the ordinary file upload flow. Do not invent a print area for a mug, garment, shaped item, wrap or folded product: obtain the printer's actual artwork requirements first. The initial editor uses rectangular pages; dielines, folds and specialist safe areas need review. Dock products continue to use Dock's own configurator and artwork flow.
For an 85 × 55 mm business card with 3 mm bleed and printing on both sides, the editor has two 91 × 61 mm pages, each with an 85 × 55 mm TrimBox. A run of 500 copies still has two design pages. Bleed extends outside the finished size, on all four edges.
Cover and inner-page guides
PressFlow 2.2.1 can generate a wraparound cover PDF from the selected closed size and spine width. Enable Artwork template downloads shop-wide and Downloadable artwork template on the product. Configure the artwork dimensions, bleed and total printed pages in Print setup → Step 5: Artwork requirements, then configure a valid spine under Weight & spine.
Cover template pages chooses an outside spread only, or outside and inside spreads. Outside is arranged back cover + spine + front cover; inside is inside front + spine + inside back. Bleed goes around the outer spread edges. The guides include trim, fold lines and a 4 mm reference safe area.
For books with more than four pages, Download inner-page template excludes the four cover faces. A 32-page A5 book with a 2.9 mm spine gives a 298.9 × 210 mm cover trim, a 304.9 × 216 mm canvas with 3 mm bleed, and 28 A5 inner pages. Changing size, pages or stock regenerates the relevant guides; copies do not multiply PDF pages.
Remove all guide content before exporting finished artwork. Supply the cover and inner pages as separately labelled PDFs. The checker recognises the configured cover spread dimensions, bleed and cover/inner page counts. You can still supply all pages individually. These downloads do not change the online designer to a spread editor.
Read the cover template setup guide or try the booklet example.
Customer: create artwork
- Choose the print options, size and sides/pages, then open Design online.
- Use Add text, Add image, or Shapes & codes → Add element for rectangles, ellipses, lines, triangles, stars, arrows, QR codes and Code 128/EAN-13 barcodes. Double-click text or a code to edit its content. Drag elements to move them; use the properties panel to change fonts, colours, dimensions, rotation and alignment. The Layers panel lists elements and allows their order to be changed. PDFme's keyboard editing shortcuts are available.
- Use the page controls to work on each side/page. Keep the selected page count. Spread layouts and automatic booklet imposition are not part of this editor.
- Extend backgrounds to the outside page edge. The dashed outer guide marks the trim; the inner dotted guide is a 4 mm reference, not a substitute for the printer's instructions. Rounded corners, folds and finishing may need more space.
- Download preview to inspect every exported page. Guides do not appear in the export. Check text, spelling, orientation, images and edge-to-edge backgrounds.
- Choose Use this design. The generated PDF replaces the current selected files and clears a transfer link or reuse selection. No old saved artwork is deleted yet.
- Complete the usual action: Add print job to basket, Save to order in Quick Order, Save print job for a named saved job, or submit the quote request. Using the editor alone does not save a job or place an order.
The seven included font families are Noto Sans, Montserrat, Poppins, Lato, Open Sans, Playfair Display and Roboto, each with regular, bold, italic and bold italic faces (28 local font files). The PDF embeds/subsets the fonts it uses. Font files are bundled with their open-source licence notices and are served by the shop; customer browsers do not contact Google Fonts. Font coverage depends on those fonts; this version does not provide custom font uploads, a stock-image library or remote image URLs. Images must be uploaded JPEG or PNG files up to 2 MB each. Use appropriately sized, high-resolution images. Enlarging a small picture does not add detail.
Shapes, QR codes and barcodes
Select a shape/code in Shapes & codes, then Add element. Triangle, star and arrow use fixed vector presets; their fill colour, dimensions, rotation and layer order remain editable. Rectangle radius creates a rounded box, and equal ellipse width/height creates a circle. The preset renderer does not accept arbitrary SVG.
Double-click a QR or barcode on the canvas to change its content. QR codes can contain up to 1,000 UTF-8 bytes of text, such as a website URL. That encodes the text; the editor does not visit the URL. Code 128 accepts up to 120 printable ASCII characters. EAN-13 needs 13 digits including a valid check digit; PressFlow does not issue retail barcode numbers. The server checks content and minimum geometry before saving. Codes are rendered at full opacity; use dark marks on a plain light background, keep a clear quiet area, and scan a printed sample at its real size before approval. An EAN check digit verifies format, not number ownership or retail acceptance.
Customer: add or update artwork later
In the basket or checkout, open the artwork button on the exact print job, open Add your artwork / Update artwork, then choose Design online. In My Account, open the order's print job or artwork workspace and use the same control. Guests use their private link for that particular job.
If the current artwork was created here, its editable design opens again. After editing, choose Use this design, then Save artwork / Save updated artwork in the job's existing artwork form. The entire artwork set is replaced on that save. Existing artwork history remains available until its retention period expires. Updating artwork requires fresh checks and proof approval. Completed, locked, cancelled or otherwise closed jobs do not become editable through the designer.
Named saved jobs and reorders that copy a generated artwork file retain an independent editable copy. To edit a saved design, reopen that job's configurator and select Design online. Opening a saved or previous job still requires the account/session permission for that job. A downloaded PDF alone cannot be converted back into the original editable design through this editor.
Changing print options
Quantity, material, finish and production-date changes can keep the design when its size, bleed and page count are unchanged. New prices still come from PressFlow.
A different size, bleed or page count requires matching artwork. The designer offers Start a new design for these choices, or you can close it and restore the original print options. It does not silently resize text, crop images, move layouts or drop pages. The previous saved job keeps its artwork until you explicitly save a replacement.
Print quality and supplier jobs
The designer saves an RGB PDF with MediaBox, CropBox, BleedBox and TrimBox with the editable design. The screen preview is for checking layout. Use the production export below to prepare a CMYK PDF/X-1a file for prepress.
The server verifies the actual PDF's page count and page boxes against the selected job before attaching its editable source. That checks geometry, not whether the PDF visually matches the editable source or whether the content is suitable for printing. The normal manual artwork review, preflight and customer proof process still applies.
Tradeprint jobs can use the generated PDF when their PressFlow artwork requirements are mapped accurately. File Check, accepted-format rules, payment, flags, approval and manual supplier-release safeguards remain in place. Check the supplier accepts the exported colour/geometry and specification before releasing a real order. Dock continues to own its own artwork process; this editor does not replace it.
Download a CMYK PDF/X-1a production file
In WordPress admin, open Production & artwork → Manage job → Prepress handoff. Choose Download local CMYK PDF/X-1a to produce a separate file from the current saved online design. The editable original remains attached to the job.
Ask your hosting provider for a maintained Ghostscript installation, PHP access to proc_open, proc_get_status, proc_close and proc_terminate, and a writable private system temporary directory. Configure the executable and the press ICC profile in wp-config.php. Keep the ICC files outside the web root.
define('PFW_PDFX_GHOSTSCRIPT', '/usr/bin/gs');
define('PFW_PDFX_ICC_PROFILE', '/private/profiles/ISOcoated_v2_eci.icc');
define('PFW_PDFX_OUTPUT_CONDITION', 'FOGRA39');
// Optional lower-ink separation for the original ECI FOGRA39 profile pair.
define('PFW_PDFX_FOGRA39_300_ICC', '/private/profiles/ISOcoated_v2_300_eci.icc');This example embeds Tradeprint’s ISO Coated v2 output profile. The optional 300% separation uses the matching ECI FOGRA39 profile for conversion. Preflight the finished file for PDF/X-1a, total ink coverage and the supplier’s artwork specifications before production. Tradeprint artwork guidance.
Storage, limits and privacy
The PDF and its validated editable source are stored together in PressFlow's private artwork database, not the public Media Library. The usual artwork retention and cleanup apply to both. Backups can retain their own copies and need your normal backup-retention policy. No artwork, design source or access credential is written to browser localStorage/sessionStorage. Unsaved editing remains in memory and can be lost when the tab closes or reloads. The editor warns before discarding changes.
Limits: 64 pages, finished width/height 1–2,000 mm, bleed 0–20 mm, 100 elements per page, 1,000 per document and up to 4 MB of editable JSON, reduced when the server's upload, request, packet or memory limit is lower. Base64 images count towards that source limit. The generated PDF must also fit the shop's normal upload limits and be measurable.
The editor, PDF renderer and fonts are bundled with the plugin and load from the shop. The large editor is requested only after clicking Design online. There is no customer PDFme account and no runtime PDFme cloud-rendering request.
Troubleshooting
| What you see | What to do |
|---|---|
| Design online is unavailable | Select valid options. Check Artwork checks is enabled and every selected size/page choice is mapped. Use file upload for unsupported specifications. |
| Online design disabled for this product | Enable it in WooCommerce Product data → General if it is appropriate for that product. |
| Previous design uses a different size/pages | Restore the previous specification or explicitly start a new design. |
| Editable design is too large | Resize/compress the source images before adding them, or use fewer images. Do not reduce important print detail excessively. |
| Image rejected | Export a genuine PNG or JPEG below 2 MB. Renaming an SVG, PDF, TIFF, AI or INDD file does not convert it. |
| Font cannot display a character | Use supported characters or supply artwork from a suitable desktop design tool. |
| Canvas does not load | Refresh once; inspect security-plugin/CSP/worker/WASM blocking with your host. Ensure the bundled HTML, JS, WASM and fonts are served with correct types. Normal uploads remain available. |
| Artwork session expired / job changed | Refresh the exact job or open its newest private link. Another tab may have saved a newer version. |
| Previous artwork expired | Upload/create new artwork. Deleting/expiring the private PDF also removes its editable source. |
| Design ready but not saved | Complete the normal Add/Save action. In the basket/account, click Save artwork after Use this design. |
Exclude private designer AJAX requests (action=pfw_designer) from caching, as for the
other PressFlow AJAX actions. Preserve FormData and nonces. Do not combine, rewrite
or delay the PDFme ES module or its worker in a way that breaks module URLs. Static
fonts/renderer files can be cached; the editor entry is versioned. Purge page/asset
caches after upgrading. Never cache private AJAX responses or the basket/account pages.
Developers
assets/designer.js is the small flow controller. The isolated, same-origin
assets/vendor/pdfme/editor.html frame hosts the bundled editor; it receives only
the current owned design. It cannot retrieve arbitrary artwork IDs. The pfw_designer
AJAX action uses the existing upload contexts, nonces, account/session/guest access,
job revision and licence guards. Opening/validating a design does not mutate a job.
The actual Add/Save actions remain responsible for receiving the PDF. pfw_design
carries versioned, bounded, allowlisted source. The design column on the existing
private pfw_artwork row holds canonical JSON; the artwork metadata designer flag
identifies an editable file. Do not expose the column through public REST fields,
generic attachment download URLs or public product data. Private copies use
PFW_Artwork::copy() so source and retention follow the original artwork model.
pfw:priced bubbles from the configurator after a successful, current price response.
Its event.detail.artwork_requirements is display/context information. The designer
uses it to detect stale local artwork; the server independently recalculates or
uses the ordered snapshot. Do not use this event to write prices or tax values.
Rebuild sources and a pinned npm lockfile are included in tools/pdfme/. From that
directory run npm ci --ignore-scripts, then node build.mjs using a modern Node.js
runtime. No Node installation is needed on the customer's WordPress server.
Keep fonts, PDFme's MIT licence, PDFium/other third-party notices and dependency
inventory when distributing a rebuild. The production ZIP excludes node_modules
and build caches. Run the designer PHP, browser and independent PDF-output fixtures
after upgrading dependencies. Internal schema/storage methods are not a public
permission-bypass or arbitrary-template import API.
Local font build
The shipped assets/vendor/pdfme/fonts/catalogue.json lists all font names, files
and SHA-256 checksums; google-font-sources.json records upstream Google Fonts URLs
and blob/content hashes. Family-specific *-OFL.txt files retain the font licences.
The four pre-existing Noto Sans files and their licence remain unchanged.
To refresh the six additional families deliberately, from tools/pdfme/ run
node fetch-google-fonts.mjs font-sources, then (in a development Python environment
with fonttools installed from requirements-fonts.txt) python compile-google-fonts.py font-sources ../../assets/vendor/pdfme/fonts. The script instances variable fonts at default
width and regular/bold weight; static fonts are copied through the same catalogue.
Compare upstream licences and hashes before distributing changed files. Re-run the
font/PDF tests and rebuild the editor after changing the catalogue. FontTools and the
font source/build directories are not needed on the WordPress server.
Supported source types now include pfwShape (allowlisted shapePreset and solid
color only), qrcode, code128 and ean13. Arbitrary SVG, executable attributes,
remote fonts and remote image URLs remain outside the source contract. The server
canonicalises code properties and validates EAN check digits. No arbitrary HTML or
SVG source is accepted from a customer or saved with a vector preset. The source
version stays compatible with older text/image/basic-shape designs; older plugin
versions cannot open newly introduced types and fonts.
Primary references: PDFme schemas and Google Fonts. The included fonts are a curated selection; this is not a live picker for the entire Google Fonts directory.
Need a hand?
Contact the PressFlow team with details of what you are trying to do.