LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

grolj4

Groff HP LaserJet 4 printer driver

TLDR

Generate HP LaserJet output
$ groff -Tlj4 [file.roff] | lpr -P[printer]
copy
Direct grolj4 usage
$ grolj4 [file] > output.lj4
copy
Specify copies
$ grolj4 -c [3] [file]
copy

SYNOPSIS

grolj4 [options] [file]

DESCRIPTION

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.Normally grolj4 is invoked indirectly by groff -Tlj4, not run directly; it reads groff's intermediate output format and translates it into PCL5 printer commands.

PARAMETERS

FILE

Groff intermediate output.
-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 thickness in thousandths of an em (default 40).
-v, --version
Show version information and exit.
--help
Display help information.

INSTALL

sudo apt install groff
copy
sudo dnf install groff
copy
sudo pacman -S groff
copy
sudo apk add groff
copy
sudo zypper install groff
copy
brew install groff
copy
nix profile install nixpkgs#groff
copy

CAVEATS

Part of groff package. Specific to HP PCL5 compatible printers. Default paper format is "letter" if none is specified; default duplex mode is long-side binding. Some features require printer support.

HISTORY

grolj4 was developed as part of GNU groff to support HP LaserJet series printers.

SEE ALSO

groff(1), grops(1), grolbp(1)

RESOURCES

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