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.

INSTALL

sudo apt install printer-driver-foo2zjs
copy
sudo dnf install foo2qpdl
copy

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)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid