Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

How to Print with UNIX

Part of the UNIX For Dummies Cheat Sheet

UNIX lets you do everything any other operating system does, and that includes printing files and documents. The following table shows you how to print whether you’re on a System V UNIX or using Linux or BSD UNIX.

To Do This Type This on System V UNIX Type This on Linux or BSD UNIX
Print file lp textfile lpr textfile
Print file on a named printer lp -dprinter textfile lpr -P printer textfile
Cancel a print job cancel requestid lprm jobnumber
Check the printer queue lpstat -a all lpq -a

NetBSD, FreeBSD, OpenBSD, and BSD/OS are all BSD. Solaris 1, OSF/1, and AIX are similar to BSD. Solaris 2 is similar to System V. Your UNIX shell: Bourne Shell, C Shell, Korn Shell, and BASH Shell.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus

SERIES
UNIX For Dummies Cheat Sheet

Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.