A. A. I have enclosed instructions for printing to Unix servers (almost the same as for network printers), and also how the NT machine can be used as a gateway for 2 way printing between windows (all versions) and Unix. The Unix use is AIX, although the others should be similar.
Setting up NT for TCP/IP printing
Adding a remote print queue
Sharing NT printers with unix machines
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_MACHINE\SYSTEM\CurrentControlSet\Services\LPDSVC\Parameters
- 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
- Start – Settings – Printers
- Right click on printer to be shared
- Select properties
- Select shared tab
- Select shared
- Enter share name (this is what the unix machine will see it as)
- Select Security tab
- Select Permissions
- Ensure unix users have permissions to print, either by "everyone" or "network" having permission (Print is all that is required)
- Click OK
- run "smit mkpq"
- Select "remote"
- Select "local filtering before sending to print server"
- In the names section, type <desired queue name> against ASCII
- Set hostname to be hostname of the NT machine
- Set queue to be share name of queue on NT machine
- Set type of print spooler to be "BSD"
- Press enter to confirm
The default value for SimulatePassThrough is 0, which informs LPD to assign data types according to the control commands.
Create a queue on the unix machine as normal, for a text only print queue on aix use:
Using an NT machine as a Windows - Unix print gateway
Thanks to Chris Griffiths for this