Printing using LPR in Windows










OVERVIEW:
Many printers in the SLAC network are accessible via LPR.
A central Unix print server, PRINTSERV,  is available for these printers.

To print using LPR, ensure that the printer you wish to use has a queue established for it on the print server.

To query the print server, enter at a command prompt:
    LPQ -Sprintserv.slac.stanford.edu  -Pqueue_name

Note - In the above command, the -S and the -P must be in upper case.
The queue name will usually be the name labeled on the printer.

If the command returns the response "non-existent printer ..." then either the name is incorrect or the printer does not have a queue on the server.
In this event, you will need to ask for your administrator's assistance.

Creating an LPR port requires administrative privileges on the local computer.
Once created, the printer will be available to any user on the computer.
 
 
 

LPR in Windows 2000 and XP:
LPR in Windows 2000 and XP is available in Standard TCP/IP printing.

To add a printer using LPR:
   -From the Start Menu, go to Settings - Printers
   -Double click on Add Printer
   -Click Next on the Welcome screen
 

   -The Local or Network Printer screen will open
LPR - Local or
 Network Printer

   -Ensure that Local printer is selected
   -Uncheck Automatically detect and install my Plug and Play printer
   -Click Next
 

   -The Select a Printer Port screen will open
LPR - Select a Printer Port

   -Select Create a new port
   - In the Type of port dropdown list, select Standard TCP/IP Port
   -Click Next
   -Click Next again on the Welcome screen
 

   -The Add Standard TCP/IP Printer Port screen will open
LPR - Add Standard TCP/IP Port

   -For Printer Name or IP Address, enter PRINTSERV
   -For Port Na me, enter the UNIX Queue name of the printer
     (E.g. HPCGB3B.  Using the Queue name will provide clarity when making multiple ports to different printers)
   -Click Next
 

The Additional Port Information Required screen will open
LPR - Additional Port Information

   -Select Custom
   - Click Settings
 

The Configure Standard TCP/IP Port Monitor screen will open
LPR - Configure Standard TCP/IP Port Monitor

   -In the Protocol section, select LPR
   -In the Queue Name field, enter the UNIX Queue name of the printer on PRINTSERV
   -Click on the LPR Byte Counting Enabled checkbox
 & nbsp;   (Due to a flaw in Windows LPR, some print servers will not accept jobs unless Byte Counting is enabled)
   -Click OK
   -Click Next
   -Click Finish
 

   -A window will open for installing drivers; select an appropriate driver
   -In the Name your Printer window, select an appropriate name
    (Use the Queue name for clarity when making multiple printer de finitions)
   -In the Printer Sharing window, select as appropriate.  Clients usually do not need to share printers.
   -In the Print Test Page window, you may test as needed
   -Click Finish
 
 
 

LPR in Windows NT 4:
To enable LPR capabilities in Windows NT 4, the client will need to have TCP/IP Printing installed.
   -In the Control Panel, click on Network
 

   -The Network screen will open
LPR - Network - Services

   -Click on the Services tab
   -Click on the Add button
   -Scroll and select Microsoft TCP/IP Printing
   -Click OK
   -The Windows NT Setup window will open asking for the installation CD.
     If you do not have one, you will need to ask for your administrator's assistance.
 

Once LPR is enabled, you are ready to create an LPR port for the printer.

To add a printer port using LPR:
-From the Start Menu, go to Settings - Printers
-Double click on Add Printer
-Ensure that My Computer is selected
-Click Next
-Click on the Add Port button
 

-The Printer Ports screen will o pen
LPR - Printer Ports

-Select LPR Port
-Click on the New Port button
 

-The Add LPR compatible printer screen will open
LPR - LPR Compatible Printer Port

-In the upper field, enter PRINTSERV
-In the lower field, enter the queue name of the printer.
-Click OK
-Click Close
-This will return you to the Add Printer Wizard screen.
-Click Next
-A window will open for installing drivers, select an appropriate driver
-In the Printer name field of the next window, enter an appropriate name
-In the Printer Sharing window, select as appropriate.  Clients usually do not need to share printers.
-In the Print Test Page window, you may test as needed.
-Click Finish
 
 
&n bsp;

If you have any difficulties, please see your computer support personnel and we will endeavor to meet your needs.
 
 
 
 
 
 


SSRL Computing SSRL Home SLAC Home Stanford University

 
 
 
Last Updated: June 16, 2005 5:43 PM 
Content Owner: SSRL PC Support
Page Editor: Jeff Lwin