LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

pnmtopclxl

Convert PNM images to PCL-XL printer format

TLDR

Convert PNM to PCL-XL format
$ pnmtopclxl [input.pnm] > [output.pclxl]
copy
Specify paper size (A4)
$ pnmtopclxl -format=a4 [input.pnm] > [output.pclxl]
copy
High-resolution output, multiple copies
$ pnmtopclxl -dpi=600 -copies=2 [input.pnm] > [output.pclxl]
copy
Duplex printing
$ pnmtopclxl -duplex=vertical [input.pnm] > [output.pclxl]
copy

SYNOPSIS

pnmtopclxl [options] [pnmfile]

DESCRIPTION

pnmtopclxl converts PNM images into PCL-XL (also known as PCL 6) printer language, the native format of modern HP LaserJet printers. Part of the Netpbm toolkit. Options accept either a single or double hyphen and use = or whitespace to separate the value.

PARAMETERS

-format=PAPER

Paper size: letter, legal, a3-a6, jb4-jb6, exec, ledger, b5envelope, c5envelope, com10envelope, monarchenvelope, dlenvelope, jpostcard, jdoublepostcard.
-dpi=N
Print resolution in dots per inch.
-xoffs=N, -yoffs=N
Horizontal/vertical offset (in dots) of the image on the page.
-center
Center the image on the page.
-duplex=vertical|horizontal
Enable duplex printing with the given binding edge.
-feeder=N
Numeric media source (input tray).
-copies=N
Number of copies to print.
-rendergray
Force grayscale rendering.
-colorok
Allow color output even on printers that report no color support.
-jobsetup=FILE
Prepend the contents of FILE as a PCL-XL job-setup prologue.
-embedded
Emit only the image stream, omitting the PCL-XL job wrapper (for embedding in larger jobs).

SEE ALSO

pbmtolj(1), pnmtops(1)

Copied to clipboard
Kai