Linux command
grolbp 命令
文件
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Generate Canon LBP output
groff -Tlbp [file.roff] | lpr -P[printer]
Direct grolbp usage
grolbp [file] > output.lbp
Specify font
grolbp -F [fontdir] [file]
说明
grolbp is a groff output driver that produces output in CAPSL and VDM format suitable for Canon LBP-4 and LBP-8 series laser printers. It supports various paper sizes, orientations, and copy counts. The driver processes groff intermediate output and produces printer-specific commands for direct printing to Canon LBP hardware.
参数
- -c _N_, --copies _N_
- Print N copies of each page.
- -F _DIR_, --fontdir _DIR_
- Prepend directory to the font search path.
- -l, --landscape
- Format the document in landscape orientation.
- -o _ORIENTATION_, --orientation _ORIENTATION_
- Set orientation to portrait or landscape.
- -p _SIZE_, --papersize _SIZE_
- Set paper size (A4, letter, legal, executive).
- -w _WIDTH_, --linewidth _WIDTH_
- Set default line thickness in thousandths of an em (default: 40).
- -v, --version
- Display version information.
- -h, --help
- Display help information.
FAQ
What is the grolbp command used for?
grolbp is a groff output driver that produces output in CAPSL and VDM format suitable for Canon LBP-4 and LBP-8 series laser printers. It supports various paper sizes, orientations, and copy counts. The driver processes groff intermediate output and produces printer-specific commands for direct printing to Canon LBP hardware.
How do I run a basic grolbp example?
Run `groff -Tlbp [file.roff] | lpr -P[printer]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _N_, --copies _N_ do in grolbp?
Print N copies of each page.