How can I configure NT as a print server for UNIX systems?
March 4, 1999
A. A. The Windows NT Server that will be acting as the print service must have the following:
TCP/IP installed
"Microsoft TCP/IP Printing" service installed (Start - Settings - Control Panel - Network - Services tab - Add - Microsoft TCP/IP Printing)
TCP/IP Print server service must be set to start automatically (Start - Settings - Control Panel - Services - TCP/IP Print Server - Startup - Automatic)
Once all of this is completed it is necessary to add a registry key as for UNIX to successfully pass data to an NT server the data type must be set to RAW.
Start the registry editor (regedit.exe)
Move to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLPDSVCParameters
From the Edit menu select New - DWORD value
Enter a name of SimulatePassThrough and press Enter
Double click the new value and set to 1. Click OK
Close the registry editor
The default value for SimulatePassThrough is 0, which informs LPD to assign data types according to the control commands.
You should now shutdown and restart the server. Once the start has completed the NT box will be able to accept UNIX print jobs. At the UNIX end you would need to use the following commands (example only for SCO Open Server 5).
The command below only needs to be entered once by technical staff
# mkdev rlpYou can then add a remote printer via SCOADMIN Printers for ordinary use
On the SVR system you would use.
The command below only needs to be entered once by technical staff
# /usr/sbin/lpsystem -t bsd -R 1 -T 1The final stage is to actually configure the link to the NT printer
# lpadmin -p -s!
# enable
# accept
An example would be NT server name SAVPDC and print HP4SI the unix command would be
# lpadmin -p p0 -sSAVPDC!HP4SI
Thanks to Steven Vobes for this Unix information
About the Author
You May Also Like