[Bug 39056] Redirect a device printer port to a print command (lpr)
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Feb 27 12:10:34 CST 2017
https://bugs.winehq.org/show_bug.cgi?id=39056
Detlef Riekenberg <wine.dev at web.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEEDINFO
Ever confirmed|0 |1
--- Comment #1 from Detlef Riekenberg <wine.dev at web.de> ---
You do not need a script.
Wine has a builtin Port redirection to a pipe (or a unix file),
which can be set in the registry in HKCU\Software\Wine\Printing\Spooler
Add a String with the portname as name of the String and the redirection-target
as Value.
Start the redirection with the pipe symbol, followed by your command.
"LPT1:"="|lpr -o raw -P cups_printer_name"
The Wine User Guide has a link to the related part in the Wine-Wiki:
https://wiki.winehq.org/Useful_Registry_Keys
Please verify, that this works also with your old program and report back.
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list