Linux command
foo2qpdl-wrapper 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Print PostScript file
foo2qpdl-wrapper [file.ps]
Set paper size
foo2qpdl-wrapper -p [a4] [file.ps]
Color printing
foo2qpdl-wrapper -c [file.ps]
Print multiple copies
foo2qpdl-wrapper -n [3] [file.ps]
说明
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.
参数
- -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.
FAQ
What is the foo2qpdl-wrapper command used for?
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.
How do I run a basic foo2qpdl-wrapper example?
Run `foo2qpdl-wrapper [file.ps]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -p _PAPER_ do in foo2qpdl-wrapper?
Paper size (letter, legal, a4, a5, a6, b5, etc.).