LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

foo2qpdl-wrapper

PostScript/PDF to QPDL wrapper script

TLDR

Print PostScript file
$ foo2qpdl-wrapper [file.ps]
copy
Set paper size
$ foo2qpdl-wrapper -p [a4] [file.ps]
copy
Color printing
$ foo2qpdl-wrapper -c [file.ps]
copy
Print multiple copies
$ foo2qpdl-wrapper -n [3] [file.ps]
copy

SYNOPSIS

foo2qpdl-wrapper [options] [files...]

DESCRIPTION

foo2qpdl-wrapper converts PostScript/PDF documents to QPDL format for Samsung and Xerox laser printers. It chains Ghostscript rasterization with foo2qpdl encoding.The wrapper provides a simplified printing interface, handling the conversion pipeline automatically. It translates common print options to the underlying tools.foo2qpdl-wrapper enables command-line printing to QPDL protocol printers.

PARAMETERS

FILES

PostScript or PDF files to print.
-p PAPER
Paper size (letter, legal, a4, a5, a6, b5, etc.).
-r XRESxYRES
Resolution in pixels/inch (default 1200x600).
-c
Print in color (default is monochrome).
-n COPIES
Number of copies (default 1).
-m MEDIA
Media type code (0=plain, 1=thick, 2=thin, 3=bond, 4=color, 5=card, 6=labels, 7=envelope).
-s SOURCE
Input slot (1=auto, 2=manual, 3=multi, 4=tray1; default 255).
-d DUPLEX
Duplex mode (1=off, 2=long edge, 3=short edge; default 1).
-t
Draft mode. Every other pixel is white.
-z MODEL
Printer model (0=CLP-300, 1=CLP-600, 2=CLP-310, 3=CLP-620).
-D LEVEL
Set debug level (default 0).
-g GSOPTS
Additional options to pass to Ghostscript.

CAVEATS

Requires Ghostscript. Only for QPDL-compatible printers. Color quality varies by model.

HISTORY

foo2qpdl-wrapper is part of the foo2zjs driver collection, simplifying document printing for Samsung printers using the QPDL protocol.

SEE ALSO

foo2qpdl(1), gs(1), lpr(1)

Copied to clipboard
Kai