
Print to Unsupported Printers #95
Chapter 11, Hardware
|
289
HACK
After saving the details, go back to the Ports tab of the PostScript printer’s
properties and set the Port to be
RDR1:. Now print a test page to the Post-
Script printer; it should print out of the real printer. The print job that is
sent to the PostScript printer is being sent on to Ghostscript (the printer is
“redirected to a program,” as noted in the previous table), and then Ghost-
script prints the job to your Windows printer, because it was configured to
do so (when you put the name of the Windows printer in gsprint.cfg).
The printer should be available to all users; to do this, you need to copy the
settings in the registry that define the printer from your user account to the
default user account. Export the registry key
HKEY_CURRENT_USER\Software\
Microsoft\Windows NT\CurrentVersion\Devices
from RegEdit to a file. Edit
the exported file, and change the line
[HKEY_CURRENT_USER\Software\
Microsoft\Windows NT\CurrentVersion\Devices]
to [HKEY_USERS\.DEFAULT\
Software\Microsoft\Windows NT\CurrentVersion\Devices]
. Save the changed
file, and double-click it to load it into the registry.
Finally, go back to the PostScript printer’s properties, choose Ports, select
RDR1: and Configure Port, and uncheck Run as User. Now share the Post-
Script printer with a short share name (less than eight characters). Remem-
ber this name: you’ll need it shortly. ...