print commands - option and parameter differences (CrCh387)
Tru64 UNIX and HP-UX use different print subsystems. Therefore, some commands may accept different parameters or support different command options.
Tru64 UNIX uses a BSD-style LPD printing subsystem. HP-UX uses a print subsystem based on the System V lp functionality.
The cancel, lp, and lpr print commands are supported on both Tru64 UNIX and HP-UX with some differences.
Review your makefiles and shell scripts for uses of the cancel, lp, and lpr print commands. You may need to modify uses of these commands to work with the HP-UX implementations.
On HP-UX, the cancel print command expects a destination parameter that is not supported on Tru64 UNIX. The HP-UX cancel command also supports several command options not available on Tru64 UNIX.
The HP-UX lp print command does not support the Tru64 UNIX -A option to the lp command.
The HP-UX /usr/bin/lpr print command is a script that calls lp, and it does not support the Tru64 UNIX lpr command options. However, some Tru64 UNIX lpr commands can be mapped to HP-UX lp command. For example:
Tru64 UNIX: lpr -Pprinter
HP-UX: lp -dprinter
Review the HP-UX manpages for more information about the cancel and lp commands.
||any HP-UX 11i version