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

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_MACHINE\SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters
  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 <remote system>
  2. The final stage is to actually configure the link to the NT printer
    # lpadmin -p <local printer> -s<remote NT system>!<NT printer name>
    # enable <local printer>
    # accept <local printer>

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

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.