Linux command
grolj4 命令
文件
涉及管道、覆盖或删除,执行前请先确认路径和参数。
常用示例
Generate HP LaserJet output
groff -Tlj4 [file.roff] | lpr -P[printer]
Direct grolj4 usage
grolj4 [file] > output.lj4
Specify copies
grolj4 -c [3] [file]
说明
grolj4 is a groff output driver for HP LaserJet 4-series and compatible printers. It produces PCL 5 output and supports duplex printing, various paper sizes, and orientations. The driver generates printer commands for direct printing to HP laser printers.
参数
- -c _N_
- Number of copies.
- -d _DUPLEX_
- Duplex mode (1=long, 2=short).
- -F _DIR_
- Font directory.
- -l
- Landscape orientation.
- -p _SIZE_
- Paper size.
- -w _WIDTH_
- Line width.
- --help
- Display help information.
FAQ
What is the grolj4 command used for?
grolj4 is a groff output driver for HP LaserJet 4-series and compatible printers. It produces PCL 5 output and supports duplex printing, various paper sizes, and orientations. The driver generates printer commands for direct printing to HP laser printers.
How do I run a basic grolj4 example?
Run `groff -Tlj4 [file.roff] | lpr -P[printer]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c _N_ do in grolj4?
Number of copies.