Printing from your laptop

From DEV UW-Math Wiki
Jump to navigation Jump to search

To print from your laptop, you must be connected to the internet inside Van Vleck. You can use either the DoIT wireless network or you can use the spare ethernet cables in rooms 101 and 322. You cannot print to the Math department printers from outside Van Vleck.

  1. #Configuring a printer with Windows XP
  2. #Printing via samba in linux
  3. #Configuring a samba printer in MacOs

Configuring a printer with Windows XP

To configure your laptop to print to a Math department printer, first connect your laptop to the DoIT wireless within Van Vleck or use the spare ethernet cables in rooms 101 or 322. Once you are connected, click Start -> Control Panel -> Printers and Faxes. When the Printers and Faxes control opens, click the Add Printer button. Follow the prompts. When the wizard asks if you are configuring a local printer or a network printer, click the button for 'A network printer or a printer connected to another computer'. When the wizard asks for the printer name, enter \\printserver1\N where N is the number of your favorite printer. For instance, if you are on the 6th floor of Van Vleck, you would probably want to print to printer 6. You would therefore enter //printserver1/6 as the name of the printer you are connecting to.

Printing from a linux laptop

There are two ways to print from a linux laptop.

  1. Samba Printing (preferred) To print via samba, simply open a terminal window and type a command like the following: smbclient //printserver1/5 -U myusername -c 'put mydocument.ps' In the example above, replace '5' with the number of your favorite printer, replace 'myusername' with your own Math department user name, and replace 'mydocument.ps' with the name of your document. Note: You will be prompted to enter your Math department password.
  2. lpr To use the lpr command to print do the following:
  • Install the lprng package. On a debian system, type 'apt-get install lprng'.
  • Copy the /etc/printcap file from a departmental linux machine to your laptop.
  • Use lpr to print your document, 'lpr -P5 mydocument.ps'. Replace the '5' in the example with your favorite printer number and replace 'mydocument.ps' with the name of your document.