I'm running Wine 20010305. I am using the WINEPS driver and trying to
direct it to various printers on various ports. It seems to output to
port LPT1 regardless of the port I specify in the registry and
win.ini.
Here is a simplified scenario, in which I define only one printer, on
LPT2.
Can any one tell me what is happening?
Follow-up question: Am I limited to 9 printers, on LPT1-LPT9?
-Lee Allen
output of wine --debugmsg +psdrv (just one relevant line, I think):
trace:psdrv:PSDRV_ExtDeviceMode16 (hwnd=0000, hDriver=0000,
devOut=(nil), Device='Wine PostScript Driver', Port='LPT1:',
devIn=(nil), Profile='(null)', Mode=0000)
<----------------------- win.ini file ----------------------->
(entire file)
[windows]
device=Wine PostScript Driver,WINEPS,LPT2:
[devices]
Wine PostScript Driver=WINEPS,LPT2:
[PrinterPorts]
Wine PostScript Driver=WINEPS,LPT2:
<----------------------- wine.conf file --------------------->
(subset only)
[parallelports]
"LPT1:" = "/tmp/PRINTER1"
"LPT2:" = "/tmp/PRINTER2"
"LPT3:" = "/tmp/PRINTER3"
[spooler]
"LPT1:" = "/tmp/PRINTER1"
"LPT2:" = "/tmp/PRINTER2"
"LPT3:" = "/tmp/PRINTER3"
[psdrv]
"ppdfile" =
"/opt/leadtec/current/windows/windows/loptras.ppd"
[afmfiles]
"file1" =
"/opt/leadtec/current/windows/windows/afmfiles/agd_____.afm"
"file2" =
"/opt/leadtec/current/windows/windows/afmfiles/agdo____.afm"
"file3" =
"/opt/leadtec/current/windows/windows/afmfiles/agw_____.afm"
(and many more)
<----------------------- system.reg file -------------------->
(all printer entries)
[System\\CurrentControlSet\\Control\\Print\\Environments\\Windows
4.0\\Drivers\\PS Driver]
"Configuration File"="WINEPS.DRV"
"Data File"=""
"Driver"="WINEPS.DRV"
"Version"="dword:0a000000"
"Datatype"=""
"Dependent Files"=""
"Help Files"=""
"Monitor"=""
[System\\CurrentControlSet\\Control\\Print\\Printers\\Wine PostScript
Driver]
"Attributes"="dword:00000000"
"Default Devmode""Name"="Wine PostScript Driver"
"Port"="LPT2:"
"Print Processor"="WinPrint"
"Printer Driver"="PS Driver"
"Priority"="dword:00000000"
"Start Time"="dword:00000000"
"Status"="dword:00000000"
"Until Time"="dword:00000000"