Printing

From Peyton Hall Documentation

(Difference between revisions)
Jump to: navigation, search
(Updated list of printers and locations)
(List of Printers: Updated List for Peyton)
Line 8: Line 8:
: The duplex/simplex queues will only set that printing style if there is no information in the postscript file to override it.  So if you're just sending plain postscript to a printer, the duplex queue will by default print it two sided, and the simplex queue single-sided.  However, many programs that generate postscript will now add information to the file to say if it should be single or double sided.  '''The queue will not override this decision.'''  If you want to print single sided with a program that does this (for example, [[acroread|Acrobat reader]] or enscript) you must tell it to print single-sided!
: The duplex/simplex queues will only set that printing style if there is no information in the postscript file to override it.  So if you're just sending plain postscript to a printer, the duplex queue will by default print it two sided, and the simplex queue single-sided.  However, many programs that generate postscript will now add information to the file to say if it should be single or double sided.  '''The queue will not override this decision.'''  If you want to print single sided with a program that does this (for example, [[acroread|Acrobat reader]] or enscript) you must tell it to print single-sided!
-
The room numbers below are for our temporary space in Green Hall
 
-
* Hallway outside Room 3-C-2, by the elevator
+
* Room 138 (copier room)
** Lexmark c792dte
** Lexmark c792dte
**: duplex queue name = ps
**: duplex queue name = ps
Line 17: Line 16:
*:'''Note:''' The printer driver may say "Lexmark c790 series"
*:'''Note:''' The printer driver may say "Lexmark c790 series"
-
* Room 3-N-7
 
** HP Color LaserJet Enterprise CP4525dn
** HP Color LaserJet Enterprise CP4525dn
**: duplex queue name = color
**: duplex queue name = color
Line 23: Line 21:
*:'''Please Note:''' This printer may not have a driver available for your computer. You may use the driver for the CP4020 or CP4520 and it should work fine (they are all printers in the same series).
*:'''Please Note:''' This printer may not have a driver available for your computer. You may use the driver for the CP4020 or CP4520 and it should work fine (they are all printers in the same series).
-
* Room 3-C-24
+
* Room 030 (basement, former server room)
-
** Xerox Phaser 4510
+
** HP Officejet Pro X576
-
**: duplex queue name = fred
+
**: duplex queue name = hp576
-
**: simplex queue name = freds
+
**: simplex queue name = hp576s
-
* Outside Room 3-C-10
+
* Room 031 (basement, former machine shop)
-
** Xerox Phaser 4510
+
** Xerox Phaser 6700
-
**: duplex queue name = ethel
+
**: duplex queue name = xe6700
-
**: simplex queue name = ethels
+
**: simplex queue name = x6700s
-
* Cubicle 3-S-9, outside Room 3-S-12
+
* 2nd Floor, next to the elevator
** HP Color LaserJet 4700
** HP Color LaserJet 4700
**: duplex queue name = waldorf
**: duplex queue name = waldorf
**: simplex queue name = waldorfs
**: simplex queue name = waldorfs
-
 
== Where to find drivers ==
== Where to find drivers ==

Revision as of 22:01, 20 August 2015

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


Contents

List of Printers

There's quite a few printers setup on the network. 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.

NOTE:

The duplex/simplex queues will only set that printing style if there is no information in the postscript file to override it. So if you're just sending plain postscript to a printer, the duplex queue will by default print it two sided, and the simplex queue single-sided. However, many programs that generate postscript will now add information to the file to say if it should be single or double sided. The queue will not override this decision. If you want to print single sided with a program that does this (for example, Acrobat reader or enscript) you must tell it to print single-sided!


  • Room 138 (copier room)
    • Lexmark c792dte
      duplex queue name = ps
      simplex queue name = pss
      transparency queue = pst
    Note: The printer driver may say "Lexmark c790 series"
    • HP Color LaserJet Enterprise CP4525dn
      duplex queue name = color
      simplex queue name = colors
    Please Note: This printer may not have a driver available for your computer. You may use the driver for the CP4020 or CP4520 and it should work fine (they are all printers in the same series).
  • Room 030 (basement, former server room)
    • HP Officejet Pro X576
      duplex queue name = hp576
      simplex queue name = hp576s
  • Room 031 (basement, former machine shop)
    • Xerox Phaser 6700
      duplex queue name = xe6700
      simplex queue name = x6700s
  • 2nd Floor, next to the elevator
    • HP Color LaserJet 4700
      duplex queue name = waldorf
      simplex queue name = waldorfs

Where to find drivers

As new printers come online, there comes the possibility that there isn't a preinstalled driver available for your machine. While we can't maintain a definitive list of drivers for all printers on all platforms, we can point you to where you can search for them. If given the opportunity to choose between a PCL or Postscript (PS) driver, we highly recommend using Postscript, since that's the language we ensure our print server uses to talk to our printers natively.


Lexmark

Go to the Lexmark Support Site Enter the model number for the printer (ex, 'c792'), then click the printer graphic when it comes up. Under "Downloads", select your Operating System from the drop-down list, then select the version from the Version list. Usually the driver you want to use will be listed in the Recommended Downloads section.


Xerox

Go to the Xerox Support Page Type in the model in the search box (typing the number might be sufficient -- so if the printer is a Phaser 4500, you can get away with typing in 4500).

HP

Go to the HP Software & Driver Downloads Page Type in the model of the printer to find the proper driver.

Using the printers

From Unix systems

To use a printer from the department Unix machines, simply choose which queue you wish to print to and specify that queue with your print command. For example, if printing with 'lpr', and you want the job to go to 'fred', type 'lpr -Pfred <filename.ps>'. You may prefer to use a graphical print manager, such as 'kprinter' which will let you select various options about the print job before it's sent through.

NOTE:

If you use kprinter to submit print jobs, you may find the '-c' option useful. This will copy the file to be printed to a temporary location before printing it, and delete the copy when finished. This is required if you're piping print jobs to kprinter from acroread, for example, because acroread will see kprinter's return to the shell as the cue to delete the temporary file that it created. kprinter will then complain that the source file does not exist, and won't be able to print the job.


From Laptops

If you have a laptop and would like to configure the printers on it, see the instructions later on in this page for Windows or Mac OS X

Linux machines may be able to just send to the queue name on gutenberg, as in 'lpr -Pps@gutenberg'. Or, if your machine uses CUPS, you may be able to find the printer in the "shared printers" area of your print client (though this doesn't always work well with the command line tools).

If your machine 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:

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.

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://fred.astro.princeton.edu or 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. If it does not, look above for links to find drivers on the manufacturers' websites.

WIRELESS USERS:

Because your wireless connection falls outside the department firewall, you will not be able to print. You will have to either use a wired connection, or SSH into one of the computers in the building and print from there.

From Windows

Start Menu -> Settings -> Control Panel -> Printers -> Add Printer -> Network Printer -> Connect to a printer on the Internet -> http://gutenberg.astro.princeton.edu:631/printers/queuename

Where queuename is the name of the print queue (listed above) you would like to print to.

Hit next, and 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.

From Mac OS X

If you are using Mac OS X 10.7 or above, you will need to download the HP and Xerox drivers from Apple's support website following the links below. Please install the driver packages, then follow the instructions for 10.6 below.

Apple HP Drivers Apple Xerox Drivers

  • Open Printing Preferences
    In 10.4, open Printer Setup Utility (located under Applications -> Utilities)
    In 10.5 & 10.6, open System Preferences and click Print & Fax
  • Click Add or, in 10.5 & 10.6 click the + sign
    In 10.6 click the IP icon at the top of the Add Printer dialog
  • Select Internet Printing Protocol - IPP for Protocol
  • Enter gutenberg.astro.princeton.edu as the Address
  • Enter "printers/" followed by the queue name you wish to print to in the Queue box (List of Printers) . You *must* enter the printers/ prefix or it will not work
    For example, to print to the Dell 5110, you would enter printers/ps
  • Select the proper driver for the printer. Unless otherwise noted in the printer list above, find the driver with the same name and model number as the model of the printer. If all else fails, you can use Generic PostScript Printer and most printer features should work.
    In 10.4 Select the printer manufacturer next to "Print Using" and select the proper model below that.
    In 10.5 & 10.6 Use the Select a driver to use option, and select the proper driver from the list.
  • Click Add
    A dialog may come up and ask you which options are installed on the printer. Usually the default settings are ok, but if you see 'Duplex Unit' as an option, make sure it is selected. If you know offhand that a printer has more than one paper tray (not counting the manual feed tray), then check off the options which are appropriate.

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.

Using these instructions will cause your Mac to print to our print server. As such, options such as duplexing and the tray to use are usually inherited by the Mac; however, if your job isn't duplexing and you would like it to, try the command 'lp -o sides=two-sided-long-edge filename'


Printing Transparencies From OS X

Please ensure that you have set the printer up using the proper driver for the printer noted above. The generic postscript option will not work.

You'll need to use our dedicated transparency queue (pst) and just print like you normally would, following the guidelines below. This ensures your computer tells the printer that you do indeed want to print transparencies -- sometimes OS X can override the printer configuration which we set.

  • It is easiest to print from a GUI (OS X-native) Application such as Preview or PowerPoint. If you have a postscript file, open it in 'Preview' rather than print from the command line.
  • In the Print dialog, select the proper printer and then select 'Printer Features' from the dropdown. Then select "Paper" from the "Feature Sets" dropdown.
  • Select Media Type: Transparency

FAQ

HELP! My laptop times out talking to the printer (or hangs indefinitely).

First and foremost, make sure you're not trying to print over wireless or while outside the building. Our printers are inside our firewall, and you can only print while attached to an ethernet connection inside the building. You might want to try turning off wifi, since sometimes your computer will attempt to use it, even if you're connected to wired ethernet. You'll also want to make sure you didn't make any typos when you specified the print server name and print queue. These are the two most common issues with printing. If your configuration looks correct and you're definitely on ethernet, contact us for more assistance.


How do I use 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

(queuename) should be changed to the name of the print queue you wish to use.


How do I print multiple pages per side of the paper (aka n-up printing)?

If you have a postscript file, you can do so from the command line using the following syntax:


lp -dps -o number-up=2 filename.ps


Where ps is the queue name you want to print to and filename.ps is, well, your postscript file. You can set number-up to 2,4,6,9, or 16.

Why is my dvips output shifted vertically?

Ed Jenkins ran into an issue where the output from dvips was shifted up on the page, sometimes cutting things off and definitely throwing off any centering of the page vertically. After some trial and error, he found that the default dvips configuration was set to assume A4 paper was being used. By including '-t letter' in the options list, this was fixed.


How do I print landscaped text?

A quick way to get some text to print out in landscape mode without loading it in Firefox first is to use a2ps: 'a2ps -1 -L66 -r -B [filename]'. The options mean:

  • -1 = Predefined font size and layout for 1 virtual page
  • -L66 = Print 66 lines/page
  • -r = Print in Landscape mode
  • -B = no headers

If you use 'kprinter' to handle your print jobs, then you can select landscaped printouts on the "Advanced" screen.


Poster Printing Essentials

We no longer have a poster printer in the department; however there are other options on campus for printing posters.


Fine Hall

There is a poster printer in the map library, on the B level of Fine Hall. You have to use the elevators to get there. The width of the poster paper is 36", and printing a poster will cost you $5, including a tube to carry it around. You just have to show up with your poster in PDF or Powerpoint format on a USB memory stick, and it'll do the trick!

If you need to convert your Postscript document to PDF for transfer to another location for printing, the following command should be used (even if the postscript file itself already defines the document as poster-sized)... otherwise you'll only get a 8.5x11 sized chunk of your document.

gs -sOutputFile=poster.pdf -dNOPLATFONTS -sDEVICE=pdfwrite -dNOPAUSE - dQUIET -dSAFER -sPAPERSIZE=a0 poster.ps -c quit


Printing and Mailing Digital Print Center

OIT has recently announced their new Digital Print Center which can handle pretty much anything you can throw at them (digitally), including posters. You can charge to a university account or pay cash or credit card as well. For more information, please see their website.


How do I merge multiple PDFs into a single file?

If you're on a Linux workstation (or possibly a Mac, too), you can use this command-line to merge multiple PDFs into a single file:

gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=outputfile.pdf file1.pdf file2.pdf file3.pdf

Personal tools