Multi-Page Mode Configuration
Multi-Page Paginated Mode divides webpage content into multiple pages according to fixed paper dimensions. This mode is ideal for physical printing, binding, or creating standard paginated PDF documents.
1. Paper Size and Orientation (Paper size)
Section titled “1. Paper Size and Orientation (Paper size)”In Multi-Page Mode, you need to specify both Width and Height:
- Quick Selection of Built-In Sizes: Click the Paper size dropdown menu to choose from most standard paper specifications (
A0–A9,B0–B6, etc.), as well asContent SizeandWindow Size, without looking up dimensions manually. - Default Units & Automatic Conversion: Pixels (
px) are used as the default unit across the board (legacy built-in presets retaininormmlabels for compatibility). When pasting values with physical units from your clipboard (such as7inor210mm), the extension automatically converts them into the equivalentpxvalues. - Dynamic Adaptive Values (
0and-1): Both width and height fields support entering0(representing the current browser window width/height) or-1(representing the actual webpage content width/height). - One-Click Orientation Swap & Live Preview: Click the Swap button (
⇄) between the width and height fields to toggle between Portrait and Landscape in one click. The preview card below displays the paper aspect ratio in real time along with physical dimension equivalents inin,mm,pt, andpc.
2. Margins (Margin)
Section titled “2. Margins (Margin)”In the Margin section, you can set independent whitespace padding for Top, Right, Bottom, and Left:
- Proper margins provide binding space for physical printing and keep body content from touching the edges of the paper.
- If you have enabled header or footer templates, make sure to leave sufficient top and bottom margins so body content does not overlap with headers or footers.
3. Pagination Strategy (Disable Smart Page Breaks)
Section titled “3. Pagination Strategy (Disable Smart Page Breaks)”The extension offers two pagination strategies, toggled via the Disable Smart Page Breaks checkbox:
- Smart Pagination (Default, unchecked):
- During pagination, the extension automatically detects boundaries of paragraphs, images, code blocks, and tables, pushing cross-page elements intact onto the next page to minimize lines of text or images being sliced in half.
- ⚠️ Caveats & Limitations: Because modern webpage structures and CSS layouts can be highly complex (such as nested Flex/Grid, absolute positioning, or dynamic containers), smart pagination cannot guarantee 100% avoidance of all element cuts. Furthermore, calculating break points triggers layout reflow, so the resulting PDF layout may differ slightly from what appears in your browser.
- If you need precise pagination control over specific blocks, use Custom CSS (e.g.,
break-inside: avoidorpage-break-before). If preserving the exact original visual layout is your top priority, check Disable Smart Page Breaks.
- Forced Fixed-Height Pagination (Checked):
- Slices pages at strict, equal physical intervals based on the configured page height (Fixed-Height Break) without recalculating layout, faithfully preserving the original screen proportions.
- Ideal for workflows requiring exact pixel-height alignment or poster-style slicing.
4. Rendering Media Type (Media type)
Section titled “4. Rendering Media Type (Media type)”Using the Media type dropdown menu, you can control which CSS media query environment the extension simulates when generating the PDF:
screen(Default):- Preserves the exact visual styling displayed on your computer screen, including background colors, card shadows, colored highlights, and full layouts.
print:- Forces the webpage’s print stylesheet (
@media print) created by the site developer to take effect. - Most documentation sites in
printmode automatically hide navigation bars, sidebars, and background colors while switching text to high-contrast black-and-white styling—ideal for saving printer ink and comfortable paper reading.
- Forces the webpage’s print stylesheet (
5. Advanced Styling & Frame Templates (Optional)
Section titled “5. Advanced Styling & Frame Templates (Optional)”In Multi-Page Mode, you can further refine output quality with custom styles and frame templates:
- Page Cleanups / Custom CSS: Hide sticky top navigation bars, sidebars, or bottom comment sections to keep repeating clutter out of your PDF.
- Custom Templates: After enabling Override global settings, you can independently configure a full suite of publication-grade templates, including Cover, Table of Contents (with customizable title), Frame Template, and Back Cover.
For detailed configuration rules, see Custom CSS and Custom Templates.