Dummy Printing Round 2!

Stefan Leichter
Mon, 25 Feb 2002 14:31:35 -0000

Dtr wrote:

> If possible I want to tell wine I have a printer installed (write to file
> printer if possible) as I do not have a printer but have a windows
> application that requires a printer to be installed to run, could anyone
> advise me on any pointers of doing this,

Hello,

first of all: I did not try this suggestion.

Reading between the lines i found:


1.)

grep -iA4 spooler documentation/samples/config
[spooler]
"FILE:" = "tmp.ps"
"LPT1:" = "|lpr"
"LPT2:" = "|gs -sDEVICE=bj200 -sOutputFile=/tmp/fred -q -"
"LPT3:" = "/dev/lp3"

2.)
from documentation/psdrv.reg

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\\Wine
PostScript Driver]
"Attributes"="dword:00000000"
"Default Devmode""Name"="Wine PostScript Driver"
"Port"="LPT1:"                  <--- change this to
"FILE:"
"Print Processor"="WinPrint"
"Printer Driver"="PS Driver"
"Priority"="dword:00000000"
"Start Time"="dword:00000000"
"Status"="dword:00000000"
"Until Time"="dword:00000000"

adjust the file for your requirements and import it via regapi.

3.)
What does your program now?

Tsch??
Stefan