Printing Related Questions
This is an collection of Answers to Frequently Asked Questions for
the UC Davis Math Dept.
How can I add printers to my Mac using cups?
To add all the printers we have you will need to
edit the client.conf file used by the
printer daemon in OSX. This
will need to be done as the root user or using sudo.
Warning: This is not recommended if you will be using this Mac to connect
to printers outside of the department. Please use the non-cups method elsewhere in this FAQ.
Add the following line to the end of the file /private/etc/cups/client.conf
ServerName print.math.ucdavis.edu
I recommend opening a Terminal window and using the following command:
sudo su -
You will be prompted for a password to switch to the root user. You can then
append the print server line with the following:
echo "ServerName print.math.ucdavis.edu" >> /private/etc/cups/client.conf
Then restart. The printers broadcast by our print server should now be
displayed in the Printer menu from the standard print dialog.
[ls]
How can I add printers to my Mac? (non-cups)
- Open 'System Preferences' from the Apple menu
- Click on Print & Fax icon if not already selected
- Select the 'Printing' tab if not already selected
- Click on the '+' sign. A new window with a list of printers will appear
- Select the printer you want to add. Here are some common ones you should add:
- grad_bw
- grad_color
- under_bw
- Click 'Add'. A new window will appear
- Check the 'Duplex Unit' option for grad if necessary and click 'Continue'
- The printer will now be listed in the printer list under "Print & Fax"
[ls]
How do I add a printer to my Windows XP system?
You can use the Add Printer Wizard to add a network printer.
When prompted for a printer location, enter the following URLs for the printers you want.
-
http://print.math.ucdavis.edu:631/classes/grad_bw_raw
-
http://print.math.ucdavis.edu:631/classes/under_bw_raw
-
http://print.math.ucdavis.edu:631/classes/grad_color_raw
[Leng Siakkhasone]
How do I fix margins in CUPS?
CUPS uses a poorly documented
filter called texttops. This filter needs margin information. However,
the default CUPS ppd file for my printer (a LaserWriter 5MP) not only
incorrectly assumes zero margins, it also does not offer the user any
margin options in the web interface to CUPS. Solution: set margins with
lpoptions and then copy ~/.lpoptions to /etc/cups/lpoptions.
[Greg K]
How do I print 2, 4, or 8 pages per page?
Use the mpage command. An example to print 8 pages on a page:
npage -8 -P under myfile.ps
[zdj]
How do I print a file from the command prompt?
The math department printers accept jobs that are either Postscript or
Text. If you have another type of file that you would like to print
you will need to convert it or print it with an application that will
convert it for you.
To print a PS or Text file use the following commands:
# lpr -P
substitute with the name of the printer you want to print to and
with the name of the file you want to print.
To print a DVI file:
# dvips -P
To print a PDF file run the acroread, xpdf, or gv application and print it
from there.
To print an image file (GIF, JPEG, etc) run the gimp application and print
it from there.
[zdj]
How do I set my default printer on point/plane/tangent?
You can set your default printer by using the lpoptions command at the UNIX prompt.
To set 'under_bw' as your default printer.
lpoptions -d under_bw
To set 'grad_bw' as your default printer.
lpoptions -d grad_bw
[ls]
What printers are available in the math department?
The following printers are available for math department use:
MSB 3114 3rd Floor Grad Lab
Queue Notes Model
---------------------- ----------------------------- ---------------------
grad_bw Double Sided HP Laserjet 4350
grad_bw_raw For use with local driver HP Laserjet 4350
grad_bw_short Double Sided (short edge) HP Laserjet 4350
grad_bw_simplex Single Sided HP Laserjet 4350
grad_color Single Sided Xerox Phaser 8550
grad_color_raw For use with local driver Xerox Phaser 8550
grad_color_duplex Double Sided Xerox Phaser 8550
grad_color_short Double Sided (short edge) Xerox Phaser 8550
MSB 2118 2nd Floor Undergrad Lab
Queue Notes Model
---------------------- ----------------------------- ---------------------
under_bw Double Sided HP Laserjet 4350
under_bw_raw For use with local driver HP Laserjet 4350
under_bw_short Single Sided (short edge) HP Laserjet 4350
under_bw_simplex Single Sided HP Laserjet 4350
MSB 2201 2nd Floor Copy Room
Queue Notes Model
---------------------- ----------------------------- ---------------------
copy_bw Double Sided Xerox Workcentre 245
copy_bw_raw For use with local driver Xerox Workcentre 245
copy_bw_short Double Sided (short edge) Xerox Workcentre 245
copy_bw_simplex Single Sided Xerox Workcentre 245
copy_color Single Sided Xerox Phaser 8400
copy_color_duplex Double Sided Xerox Phaser 8400
copy_color_short Double Sided (short edge) Xerox Phaser 8400
You can use these mathematical sciences building maps to
help you find printer locations.
There are some old print queues which are still available, but you should use one of the current ones.
Old print queues will be removed eventually.
[zdj]
Index
|