PDF generation from a url or a html page
5.8K
The following environment variables are also honored for configuring your PRINT2PDF instance:
PRINT2PDF_PORT=8080 # Server portPRINT2PDF_TIMEOUT=0 # Process timeout in secondsPRINT2PDF_PUBLIC_KEY= # JWT public keyPRINT2PDF_LANDSCAPE=false # Landscape paper orientationPRINT2PDF_PRINT_BACKGROUND=false # Print background graphicsPRINT2PDF_SCALE=1 # Scale of the webpage renderingPRINT2PDF_PAPER_WIDTH=8.5 # Paper width in inchesPRINT2PDF_PAPER_HEIGHT=11 # Paper height in inchesPRINT2PDF_MARGIN_TOP=0 # Top margin in inchesPRINT2PDF_MARGIN_BOTTOM=0 # Bottom margin in inchesPRINT2PDF_MARGIN_LEFT=0 # Left margin in inchesPRINT2PDF_MARGIN_RIGHT=0 # Right margin in inchesPRINT2PDF_PREFER_CSS_PAGE_SIZE=false # Prefer page size defined by CSSPRINT2PDF_PAGE_RANGES= # Paper ranges to print, e.g., '1-5, 8, 11-13'PRINT2PDF_IGNORE_INVALID_PAGE_RANGES=false # Silently ignore invalid but successfully parsed page ranges, such as '3-2'PRINT2PDF_HEADER_TEMPLATE= # HTML template for the print headerPRINT2PDF_FOOTER_TEMPLATE= # HTML template for the print footerPRINT2PDF_DISPLAY_HEADER_FOOTER=false # Display header and footerContent type
Image
Digest
sha256:db458382d…
Size
154.2 MB
Last updated
5 months ago
docker pull modera/print2pdf:0.2-20260427