Printing

From Peyton Hall Documentation

(Difference between revisions)
Jump to: navigation, search
Line 68: Line 68:
...where (queuename) is the name of the print queue you wish to use.
...where (queuename) is the name of the print queue you wish to use.
 +
 +
==Using LPR==
 +
Use the command 'lpr' to print your document.
 +
Eg:
 +
 +
lpr myfile.ps
 +
 +
...will print "myfile.ps" on the Xerox Phaser 6200 in room 101 (ps) by default.
 +
 +
To change which printer is used, use the '-P' option followed by the queuename.
 +
Eg:
 +
 +
lpr -Pcolort myfile.ps
 +
 +
...will print "myfile.ps" on the HP 5500 in room 101, on transparency media
----
----
-
*[[Using LPR]]
 
*[[Odd-sized Pages on Fawkes]]
*[[Odd-sized Pages on Fawkes]]
*[[Dvips output shifted vertically]]
*[[Dvips output shifted vertically]]

Revision as of 17:43, 3 May 2007

Template:oldfaq "Dead tree format" documentation is still widely used, and here you'll find information on how to use it yourself.

Contents

List of Printers

From Unix Systems

Here's the list of printers that can be accessed from the Unix systems. If there is a duplex and a simplex queue listed, the duplex queue prints on both sides of the page while the simplex queue does single-sided printouts.

Room 146: Xerox Phaser 6350 (color), duplex queuename = ps
Room 146: Xerox Phaser 6350 (color), simplex queuename = pss
Room 146: HP Color LaserJet 5500, duplex queuename = color
Room 146: HP Color LaserJet 5500, simplex queuename = colors
Room 146: HP Color LaserJet 5500, transparency queuename = colort
Room 29: Xerox Phaser 4500, duplex queuename = fred
Room 29: Xerox Phaser 4500, simplex queuename = freds
Room 21: Xerox Phaser 4500, duplex queuename = ethel
Room 21: Xerox Phaser 4500, simplex queuename = ethels
Room 25: HP DesignJet 650, queuename = fawkes

From Laptops

If you have a laptop and would like to configure the printers on it, you'll need to know the IP addresses of the printers:

Xerox Phaser 4500: fred.astro.Princeton.EDU. has address 128.112.24.25
Xerox Phaser 4500: ethel.astro.princeton.edu has address 128.112.24.212
Xerox Phaser 6350: phaser.astro.Princeton.EDU. has address 128.112.24.222
HP 5500: hp5500.astro.Princeton.EDU. has address 128.112.24.17
HP DesignJet 650: fawkes.princeton.edu has address 128.112.24.87

As for setting up the software to print, that is left as an exercise for the reader. Different OSs (and even different versions of the same OS) are configured in various ways. You may be able to get some information from HP's website, and if you're running Windows you can even download the drivers necessary to run the printer from there. Linux machines may be able to just send to the queue name on gutenberg, as in 'lpr -Pps@gutenberg'

If you have a personal machine running Linux, and it uses CUPS for its printer setups, then you can also edit the "ServerName" line in /etc/cups/client.conf to read "gutenberg.astro.princeton.edu". This will setup all the CUPS client software on your laptop to talk to our print server here, and no additional changes are needed.

Note, however, that doing this means if you have a local printer setup, for example one you use at home, it will not work anymore unless you change the ServerName back to what it was.

From Windows

This information according to Ed Jenkins, who figured out the process and was kind enough to submit it for others: Settings -> Control Panel -> Printers -> Add Printer -> Local Printer -> Create a new port: Standard TCP/IP Port -> (Enter IP address of printer)

Then find the printer driver you downloaded and installed, or that came with Windows if it's included. Print a test page and verify it worked, and you're all done.

The Xerox printers are also very user-friendly in helping you to install drivers on your machine for them. If you're running Windows or Mac OS, point your web browser to the printers' built-in web servers at http://phaser.astro.princeton.edu, http://fred.astro.princeton.edu and http://ethel.astro.princeton.edu. There's a link there for installing drivers, and it seems to work well for everyone who's tried it so far.

From Mac OS X

  • Open Printer Setup Utility (located under Applications -> Utilities)
  • Click on Add
  • Select "HP Jet Direct - Socket" for Protocol
  • Enter the IP address of the printer you want to setup (List of Printers)
    In most cases, as soon as you finish typing the IP address, OSX should discover the printer and automatically pick the proper driver, but if it doesn't, select the printer manufacturer next to "Print Using" and select the proper model below that
  • Hit Add
    A dialog box asking you for Installable options might show up. In most cases it's safe to just hit Continue, since it seems like OSX is able to detect the printer's configuration.

Repeat for any other printers you want to configure. The last printer you add is always selected as the default -- if you want to print to a different printer by default, highlight the printer and click "Make Default" at the top of the Printer List window.

Since these instructions print directly to the printer instead of using our predefined queues, options such as duplexing and the tray to use are set in the dialog box when you go to print.

If you'd like to print duplex at the command line, try the following command:

lp -o sides=two-sided-long-edge filename

Printing to a specific printer by default

By default, your print jobs will go to the queue "ps", which is the duplex queue on the Xerox Phaser 6350 in the copier room. To change this to a different printer, set the values of PRINTER and LPDEST in your shell dotfiles. For .cshrc:

setenv LPDEST (queuename)
setenv PRINTER $LPDEST

For .bashrc:

export LPDEST=(queuename)
export PRINTER=$LPDEST

...where (queuename) is the name of the print queue you wish to use.

Using LPR

Use the command 'lpr' to print your document. Eg:

lpr myfile.ps

...will print "myfile.ps" on the Xerox Phaser 6200 in room 101 (ps) by default.

To change which printer is used, use the '-P' option followed by the queuename. Eg:

lpr -Pcolort myfile.ps

...will print "myfile.ps" on the HP 5500 in room 101, on transparency media


Personal tools