Ad
8288727343719668

Loading ad...

Page Setup Tool

Configure paper size, orientation, margins, generate usable code

📖 User Guide

Click to view detailed usage instructions

Expand

Page Setup Tool

Free online page setup tool, support paper size selection, page orientation, margin configuration, scale ratio, generate CSS, HTML, JavaScript code, one-click copy.

Main Features

1. Paper Size Selection

  • A3, A4, A5
  • B4, B5 (JIS)
  • US Letter, Legal, Tabloid
  • Real-time display of paper dimensions

2. Page Orientation

  • Portrait
  • Landscape
  • Real-time preview

3. Margin Settings

  • Top, Right, Bottom, Left margins independently
  • Unit: millimeters (mm)
  • Support 0-50mm range
  • One-click reset to default (2.54cm/1 inch)

4. Scale Ratio

  • Support 50%-150% scale
  • Real-time calculation of actual dimensions

5. Multiple Output Formats

  • CSS @page rule
  • HTML inline style
  • JavaScript object

How to Use

  1. Select paper size
  2. Set page orientation (Portrait/Landscape)
  3. Enter margin values
  4. Select scale ratio (optional)
  5. Select output format
  6. Click "Copy Result"

Use Cases

  • Web Printing: Set print styles
  • PDF Generation: Configure PDF page parameters
  • Document Layout: Set document page layout
  • Report Making: Configure report page format

FAQ

What is the default margin?

Default margin is 2.54 centimeters (1 inch), which is the international standard paper margin.

Supports custom paper size?

Current version provides preset paper size selection, custom size not supported yet.

How to apply these settings in web pages?

Copy the generated CSS code and add it to your stylesheet.

Margins (mm)

Page Preview

210.0 × 297.0mm
A4
Portrait

Generated Code

css
@page { size: 210mm 297mm portrait; margin: 2.54mm 2.54mm 2.54mm 2.54mm; }
Ad
1278624333018761

Loading ad...