Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

Tru64 UNIX Software Transition Kit
» 

DSPP Home

» HP STK home
Tru64 UNIX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» Tru64 UNIX STK
» DSPP
Content starts here

critical impact:

print commands - option and parameter differences (CrCh387)

CMD Impacts

Problem description

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.

Identifiers

UNIX Commandscancel UNIX Commandslp UNIX Commandslpr      

See also

Solution description

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.

See also


Problem summary

classifications source types OS release severity type
CMD Make, Script any HP-UX 11i version critical changed
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.