Printing from your laptop: Difference between revisions

From UW-Math Wiki
Jump to navigation Jump to search
Line 8: Line 8:
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. 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. When the wizard asks for your user name and password, enter your Math department user name and password.
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. 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. When the wizard asks for your user name and password, enter your Math department user name and password.


=== Printing from a linux laptop ===
===Printing via samba in linux===
There are two ways to print from a linux laptop.
 
# <B>Samba Printing (preferred)</B> To print via samba, simply open a terminal window and type a command like the following: <code><nowiki>
 
smbclient //printserver1/5 -U myusername -c 'put mydocument.ps'
 
</nowiki></code> 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.
# <B>lpr</B> 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.

Revision as of 16:39, 14 July 2010

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. 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. When the wizard asks for your user name and password, enter your Math department user name and password.

Printing via samba in linux