Printing Documents

This topic contains information about printing documents in the Department. Printing Duplex and Printing N-up save department resources, so use them whenever possible.

Printing Duplex

Use the duplexed printer queues to print duplex in the department. Instead of printing to <printer> (e.g. shake), print to <printer>/duplex (e.g. shake/duplex).
An example: lpr -Pshake/duplex

An older and less reliable means of printing duplex is to invoke the /usr/staff/bin/duplex script. This script takes a PostScript input and outputs modified PostScript (with an embedded duplex command) to STDOUT. This method is known not to work with the output of psnup (see Printing N-up) and may not work in other situations as well.
An example: duplex | lpr

Printing N-up

Printing a document n-up prints multiple pages of the document on a single side of a sheet of paper. There are multiple ways to print documents n-up that all boil down to the same thing: inserting appropriate commands into the PostScript representation of your document. Some of these methods are described below. If you are Printing N-up, you should also consider Printing Duplex.

  • lpr ... -o number-up=n: The number-up job parameter causes n-up formatting commands to be applied to the document. This method is appropriate for many different document types, in contrast to psnup (below). An example: lpr -Pshake/duplex -o number-up=2 myfile.txt

  • psnup: This command takes a PostScript file as input and generates PostScript output with embedded n-up (and possibly other) formatting commands. The output can be saved to a file (which will henceforth always be printed n-up) or piped to a some other program (e.g. lpr for printing). An example: psnup | lpr -Pshake/duplex

Checking Printer Queues

Use one of the following methods to check the documents that are queued to Department printers.

  • lpq - This command lists documents queued on all/any printer(s). To view the documents queued on shake, execute lpq -Pshake.
  • http://print:631/printers - This webpage allows you to check the status of Department printers. Selecting a printer yields slightly more detailed information about that printer.

-- PhilMichalak - 18 Aug 2005

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2005-08-18 - PhilMichalak
  • Edit
  • Attach
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback