Skip to Main Content
Linux Desktop Hacks
book

Linux Desktop Hacks

by Nicholas Petreley, Jono Bacon
March 2005
Beginner to intermediate content levelBeginner to intermediate
342 pages
15h 55m
English
O'Reilly Media, Inc.
Content preview from Linux Desktop Hacks
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. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Linux Server Hacks, Volume Two

Linux Server Hacks, Volume Two

William von Hagen, Brian K. Jones
Introducing Linux Distros

Introducing Linux Distros

Jose Dieguez Castro

Publisher Resources

ISBN: 0596009119Supplemental ContentCatalog PageErrata