How can I configure NT as a print server for UNIX systems?

John Savill

March 4, 1999

2 Min Read
ITPro Today logo in a gray background | ITPro Today

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.

  1. Start the registry editor (regedit.exe)

  2. Move to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesLPDSVCParameters

  3. From the Edit menu select New - DWORD value

  4. Enter a name of SimulatePassThrough and press Enter

  5. Double click the new value and set to 1. Click OK

  6. 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).

  1. The command below only needs to be entered once by technical staff
    # mkdev rlp

  2. You can then add a remote printer via SCOADMIN Printers for ordinary use

On the SVR system you would use.

  1. The command below only needs to be entered once by technical staff
    # /usr/sbin/lpsystem -t bsd -R 1 -T 1

  2. The 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

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like