| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| OpenPublisher5-i386-windowsXP.exe | 2026-10-14 | 56.5 MB | |
| openpublisher5_amd64-windows-portable.exe | 2026-10-14 | 183.2 MB | |
| openpublisher5_amd64-windows.exe | 2026-10-14 | 165.2 MB | |
| openpublisher5_amd64-macos.dmg | 2026-10-14 | 233.1 MB | |
| openpublisher5_amd64-linux.run | 2026-10-14 | 193.4 MB | |
| openpublisher5_amd64-linux.rpm | 2026-10-14 | 215.4 MB | |
| openpublisher5_amd64-linux.flatpak | 2026-10-14 | 153.6 MB | |
| openpublisher5_amd64-linux.deb | 2026-10-14 | 156.2 MB | |
| openpublisher5_amd64-linux.AppImage | 2026-10-14 | 166.4 MB | |
| openpublisher5_amd64-freebsd.pkg | 2026-10-14 | 185.5 MB | |
| 5.8.1_ Multiple Copies per Sheet (Card _ Label Imposition), Smart Multi-Up Printing, DTP Card Margins _ Print Image Pipeline Restoration source code.tar.gz | 2026-10-14 | 22.5 MB | |
| 5.8.1_ Multiple Copies per Sheet (Card _ Label Imposition), Smart Multi-Up Printing, DTP Card Margins _ Print Image Pipeline Restoration source code.zip | 2026-10-14 | 22.8 MB | |
| README.md | 2026-10-14 | 16.9 kB | |
| Totals: 13 Items | 1.8 GB | 0 | |
π Summary
Version 5.8.1 delivers one of the most requested features for desktop publishing: Multiple Copies per Sheet (N-Up Card & Label Imposition), accompanied by robust print engine image pipeline fixes. Users can now design a single business card, badge, ticket, or label and automatically print 10, 12, or custom cards to a page without manually duplicating elements across the canvas:
- Single-Card Design Workflow: Users can design a single business card or label on a dedicated canvas size (e.g. 3.5 in x 2.0 in or 85 mm x 55 mm) without having to copy, paste, and manage duplicate elements across an A4 or Letter page.
- Automated 10-Up, 12-Up & Custom Sheet Imposition: Built-in imposition engine automatically calculates grid geometry, tiling cards across US Letter (8.5 x 11 in) or A4 (210 x 297 mm) paper sheets with customizable columns and rows (10-up 2x5, 12-up 2x6, 12-up 3x4, 8-up 2x4, or custom).
- Avery Perforated Stock Compatibility: Standard 2 x 5 layout on US Letter aligns directly with Avery 5371, 8371, and 8871 business card stock (0.75 in side margins, 0.5 in top/bottom margins, 0 in card gutter).
- European A4 10-Up Layout: Pre-calibrated 2 x 5 layout for ISO 85 mm x 55 mm cards on A4 paper matching Avery C32011 / C32016 specifications.
- Crop & Cut Guidelines: Renders hairline perimeter crop marks, corner ticks, and gutter cut guidelines for users printing on plain cardstock with scissors or a paper trimmer.
- Double-Sided (Duplex) Support: Multi-page publications (Page 1 Front, Page 2 Back) generate Sheet 1 (all fronts) and Sheet 2 (all backs) with horizontally mirrored column ordering so front and back designs align with precision when flipped.
- Context-Aware Ribbon Tool: Added "Card Sheet" button in the File ribbon group next to Print and Booklet, which dynamically displays only when working on a business card or card-sized publication, preventing accidental imposition on full-sized pages.
- Smart Pre-Flight Detection & Clarified Options: When printing any document with a card-sized format, Open Publisher automatically detects the dimensions and prompts the user whether to print a single card or customize and tile multiple copies per sheet (10-up, 12-up, 8-up, or custom grid).
- Informative Print Assembly Progress & Compact Modal: Enhanced the print preparation dialog with an informative explanation card detailing high-resolution rasterization, constrained the modal width to a compact 380px-420px container, and added dark mode styling.
- Intelligent Business Card Safe Margins (1/8 in / 0.125 in): Solved the disproportionate margin issue where standard 0.5 in margins consumed 50% of a 2-inch business card height. Implemented automatic DTP standard safe margins (1/8 in / 12px at 96 DPI) for business card formats and added a dedicated "Card / Label (1/8 in)" preset to the Margins menu.
- Image & Clipart Print Pipeline Restoration: Resolved an issue where cliparts, picture placeholders, and remote images failed to appear on prints. Restored proper CORS credentials on staging elements, corrected fill layout evaluation for unset top/left offsets, and eliminated erroneous canvas re-baking for unstyled images.
- Full Codebase Cache & Version Synchronization: Synchronized all 84 asset cachebusters in
index.htmlto?v=5.8.1, incremented the Service Worker cache namespace toopen-publisher-v5-8-1, and updated all subsystem headers, logs, and dialog subtitles.
π Architecture & Technical Implementation
1. The Imposition Architecture (ui/modals/card-sheet-modal.js)
- Card Detection:
isCardSizedPage(page)detects whether the current publication uses theBusinessCardpage preset or has dimensions matching small cards (width <= 480px and height <= 384px, or vice versa). - Grid Geometry Calculation:
calculateCardGridLayout(cardW, cardH, sheetW, sheetH, cols, rows, gapX, gapY)computes optimal arrangement, centering the grid onto the target sheet and calculating exact margin offsets.- Supports standard 10-up (2 x 5), 12-up (2 x 6 and 3 x 4), 8-up (2 x 4), and user-defined custom grid dimensions.
- Element Cloning & Offset Math:
buildImposedSheet()duplicates background styling and canvas elements for each slot(col, row):slotLeft = marginX + col * (cardW + gapX)slotTop = marginY + row * (cardH + gapY)- Explicitly preserves
imgSrc,type, andimgStylewhen cloning card elements to guarantee all graphic assets reach imposed sheets intact. - Re-computes absolute positions for all inner elements and assigns elevated z-index ordering.
2. High-Precision Crop & Cut Guides
- Injects 14px hairline tick marks outside the card perimeter in the sheet margins (
markStyle = "position:absolute; width:1px; height:14px; background:#64748b;"). - Renders bounding dashed perimeter guides and gutter dividers (
rgba(100,116,139,0.25)) with-webkit-print-color-adjust: exactso they output crisply on both physical printers and vector PDFs.
3. Double-Sided Duplex Alignment
- In duplex printing (flip on long edge), left and right columns invert when turning over the paper.
- The imposition engine mirrors column positions for the back sheet:
effectiveCol = isMirroredBack ? (cols - 1 - c) : c - This ensures Column 1 on the front corresponds to Column 1 on the back, keeping card borders and text in exact alignment.
4. Print Engine Integration & Compact Progress Modal (extensions/print-engine.js & io/file-io.js)
- Integrated with Open Publisher's native print hooks via
window._isMultiUpPrintingandwindow._imposedSpreads. buildPrintDOM()supports multi-up imposed spreads, bypassing normal page serialization during imposition.window.printFullDocument()includes smart pre-flight detection: if a card-sized document is printed normally, a non-blocking modal gives the user a clear choice between "Print Multiple per Sheet..." (customizable) and "Print Single Card".- The print progress dialog dynamically updates its header to "Preparing Card Sheet..." and injects an informative note explaining that the engine is arranging multiple cards with high-resolution graphics and crop guidelines. Status updates explicitly state "Arranging & rendering card sheet X of Y..." to confirm continuous background execution.
- Fixed dialog width: Added explicit container dimensions (
width: 380px; max-width: 90vw; margin: 0 auto;) and dialog box width rule#custom-dialog-box:has(#pdf-print-status) { width: 420px !important; }to keep the progress window centered and compact. - Context-Aware Ribbon Visibility: The "Card Sheet" tool button in
index.htmlinitializes as hidden (display: none;) and is dynamically shown viaupdateCardSheetRibbonVisibility()only when the active publication is card-sized (e.g.BusinessCardpreset or dimensions <= 480x384px), ensuring standard full-page publications (A4, Letter, Flyers) maintain a clean ribbon without awkward card options.showCardSheetModal()additionally includes a non-card alert safeguard.
5. Smart DTP Business Card Margins (layout/document.js, core/pages.js, canvas/canvas.js)
- Evaluated business card margin scaling: on a standard Letter/A4 page, a 0.5 in margin is ~4.5% of the page height, but on a 2.0 in business card, 0.5 in top + bottom margins consumed 1.0 in (50% of the entire card height), leaving an awkward, cramped 50% strip.
- Industry Standard Safe Margin: DTP and commercial card printers (Avery, VistaPrint, Moo, InDesign) standardize on 1/8 in (0.125 in / 12px at 96 DPI) safe margins.
- Automatic Margin Switching: When switching format to
BusinessCard, Open Publisher checks if margins are at standard 0.5 in defaults and automatically switches them to 0.125 in (12px). When switching back to A4 or Letter, it restores 0.5 in (48px). - New Document & Template Defaults: New documents or templates opened in
BusinessCardformat automatically initialize with 0.125 in safe margins. - Margins Dropdown Preset: Added "Card / Label (1/8 in)" preset to the Margins dropdown menu for quick one-click application.
6. Image & Clipart Print Pipeline Restoration (extensions/print-engine.js, io/file-io.js, io/export/export.js)
- Root Cause Analysis:
- Dynamically instantiated
<img>elements in the print staging DOM lackedcrossOrigin = 'anonymous'prior to settingsrc. In Chromium, loading remote images (e.g. fromwsrv.nlor floydcraft.co.uk) without this attribute caused the browser to issueno-corsrequests, caching an opaque response. Whenhtml2canvas(pageWrapper, { useCORS: true })subsequently attempted to read pixel data from these elements, cross-origin security checks silently omitted them from the resulting print canvas. - In
isDefaultFillImageLayout(), evaluating(imgStyle.left ?? '0')produced empty strings for elements without explicit inline top/left offsets. The check"" === '0'failed, causing standard placeholder and clipart elements to be treated as non-fill images without explicit width and height defaults, collapsing their display dimensions. - Image opacity serialization defaulted to empty strings rather than
'1', causing"" !== '1'to evaluate as true. This forced standard unstyled images into thebakeImageForPrint()pipeline, triggering unnecessary cold-cache re-fetches and potentialNaNalpha parsing. - Implemented Fixes:
- Universal CORS Header Setting: Added
img.crossOrigin = 'anonymous'andimg.setAttribute('crossorigin', 'anonymous')across all print element factories inextensions/print-engine.js,loadImageStrict(),io/file-io.js, andio/export/export.js. - Universal Pre-Flight Sweep: Added a sweep before
html2canvasrasterization ensuring every<img>insidepageWrapperhas CORS attributes assigned. - Robust Layout Fill Normalization: Refactored
isDefaultFillImageLayout()to correctly treat empty string offsets as 0 (!l || l === '0'), ensuring images without explicit offsets receive complete100%width,100%height, anddisplay: blockstyling. - Clean Baking Conditions: Normalized
currentOpacityextraction so only elements with genuine opacity reductions (< 0.999) or active CSS filters/clip-paths enter the baking step. Fast-paths unstyled images directly into the DOM staging container with immediate rendering.
π Files Modified in 5.8.1
| File | Changes |
|---|---|
ui/modals/card-sheet-modal.js |
Complete Card & Label Sheet Imposition Engine, modal dialog, live SVG sheet preview, multi-up pre-flight prompt, explicit image property preservation, and updateCardSheetRibbonVisibility(). |
extensions/print-engine.js |
Added _isMultiUpPrinting support to buildPrintDOM(), updated clearImpositionState(), wired smart pre-flight detection, constrained progress modal width (380-420px), added multi-up progress note, restored image CORS credentials, corrected isDefaultFillImageLayout(), and optimized image baking. |
io/file-io.js |
Added _isMultiUpPrinting support to printFullDocumentDirect(), added pre-flight check to printFullDocument(), exposed printCardSheet(), and added crossOrigin = 'anonymous' to fallback print image elements. |
io/export/export.js |
Added crossOrigin = 'anonymous' and setAttribute('crossorigin', 'anonymous') to image elements created during HTML export. |
layout/document.js |
Added automatic 1/8 in safe margin switching for BusinessCard in setPageSize(), safe margin restoration for full sheets, and dynamic ribbon button visibility sync. |
core/pages.js |
Intelligent 1/8 in margin defaults for business card publications in renderPage() and showNewDocumentModal(), and dynamic ribbon button visibility sync. |
canvas/canvas.js |
Card-aware fallback margin calculation in syncMarginGuideOverlay(). |
elements/templates/templates.js |
Card-aware default margins (0.125 in) in loadTemplate(). |
io/publisher-file-loader.js |
Card-aware default margins (0.125 in) in file loader. |
index.html |
Added context-aware Card Sheet button in the File ribbon (hidden for standard documents, visible for cards), added "Card / Label (1/8 in)" margin preset, included card-sheet-modal.js, and synchronized all 84 asset cachebusters to ?v=5.8.1. |
sw.js |
Bumped Service Worker cache namespace to open-publisher-v5-8-1 and header to (v5.8.1). |
extensions/pwa-install.js |
Bumped header to (v5.8.1) and Service Worker registration query to sw.js?v=5.8.1. |
extensions/ui-interactions.js |
Bumped header comment, startup console log, About dialog subtitle to v5.8.1, and wired updateCardSheetRibbonVisibility() in setPageFormatIcon(). |
extensions/legacy-fixes.js |
Bumped engine initialization console log to v5.8.1. |
tools/proofing/spellcheck-engine.js |
Bumped proofing header comment to (v5.8.1). |
ui/dashboard.js |
Updated template fetch cachebuster queries to ?v=5.8.1. |
ui/sidebar-context.js |
Bumped sidebar context header comment to (v5.8.1). |
ui/modals/options-modal.js |
Bumped options modal header comment to (v5.8.1). |
style.css |
Bumped ruler indicator section headers and comments to (v5.8.1). |
wrapper.html was not modified.
β v5.8.1 Verification Checklist
- [x] Card Imposition Engine: Created
ui/modals/card-sheet-modal.jssupporting US Letter and A4 sheet imposition with customizable grid layouts (10-up, 12-up, 8-up, custom). - [x] Avery 10-Up Alignment: Verified 2 x 5 layout on Letter matches Avery 5371 / 8371 standard margins (0.75 in sides, 0.5 in top/bottom).
- [x] Crop & Cut Guidelines: Verified hairline crop marks and dashed dividing lines render for plain paper cutting.
- [x] Double-Sided Mirrored Columns: Verified Sheet 2 (Back) mirrors column ordering for duplex printer alignment.
- [x] Context-Aware Ribbon Tool: Added "Card Sheet" tool button to the File group in
index.htmlwith dynamic visibility (only shows for business cards and labels, hidden on standard A4/Letter publications). - [x] Clarified Multi-Up Prompt: Verified pre-flight prompt clearly presents "Print Multiple per Sheet..." (covering 10, 12, or custom cards) vs. "Print Single Card".
- [x] Print Progress Modal Width: Fixed print dialog over-expansion by setting
width: 380px; max-width: 90vw;and#custom-dialog-box:has(#pdf-print-status) { width: 420px !important; }. - [x] Informative Print Progress Note: Verified print progress dialog displays clear explanation card, dark mode support, and real-time status during multi-card arrangement.
- [x] Smart DTP Business Card Margins: Implemented intelligent 1/8 in (0.125 in / 12px) safe margins for business cards across
layout/document.js,core/pages.js,canvas/canvas.js,templates.js, andpublisher-file-loader.js. - [x] Margins Menu Preset: Added "Card / Label (1/8 in)" preset to the Margins dropdown menu.
- [x] Print Image CORS & Layout Pipeline: Added
crossOrigin = 'anonymous'across all staging<img>elements andloadImageStrict(), resolved empty string offset bugs inisDefaultFillImageLayout(), and prevented invalidNaNalpha states. - [x] Universal Image Pre-Flight: Verified pre-rasterization CORS check runs on all
<img>tags inpageWrapperbeforehtml2canvascaptures the page. - [x] Direct Print Engine Hooks: Integrated
window._isMultiUpPrintingandwindow._imposedSpreadsacrossextensions/print-engine.jsandio/file-io.js. - [x] Cache Invalidation & SW Versioning: Verified all 84 asset queries in
index.htmlreference?v=5.8.1,sw.jscache name isopen-publisher-v5-8-1, and all subsystem logs and headers are updated.
| | |
| :---: | :---: |
|
|
|
|
|
|
Dashboard listing
---
π **Version 5.8.1 - Open Publisher**
Dashboard listing