(still not) printing (lprng)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have lprng (debian 3.0) and only a fake_windows (despite, I could
install a Word97 ;-) and
~# dpkg -l libwin* |grep ^i
ii  libwine        0.0.20030115-2 Windows Emulator (Library)
ii  libwine-print  0.0.20030115-2 Windows Emulator (Printing Module)

I would like to generate PS file from application such as M$ Word97.

However, when I click on File/Print... I got 6 times
err:psdrv:PSDRV_FindPrinterInfo OpenPrinterA failed with code 1801
and 2 times
fixme:winspool:WINSPOOL_EnumPrinters We dont handle PRINTER_ENUM_CONNECTIONS

and then I see 2 Wine PostScript Driver, but in "Inactive" state when
choosing one of them. Then I check the "Print to file" box, and click
"OK" and I got a warning message (/!\) "There was a problem[..] and
Windows cannot print. Check the following:..." or similar (it is in
Hungarian).

You can find the relevant parts of my configs (with some comments from me)

IMHO, the Printing the documentation for using built in PS driver is not
complete, at least for printing with lpd or lprng... :-(
(I guess that without cups one should modify the win.ini by hand also..)

TIA, Zsolt

.wine/config:
[...]
[wine]
"Windows" = "C:\\Windows"
"System" = "C:\\Windows\\System"
"Temp" = "X:\\"
"Path" = "C:\\Windows;C:\\Windows\\System;X:\\;Y:\\"
"GraphicsDriver" = "x11drv"
[...]
"Printer" = "on"
; why is this necessary?

[...]

[parallelports]
"Lpt1" = "/dev/lp0"

[ppd]
"generic"="/home/szazs/.wine/generic.ppd"
; is this not redundant with "PPD FIle" in system.reg?

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

[ports]
;"read" = "0x779,0x379,0x280-0x2a0"
; "write" = "0x779,0x379,0x280-0x2a0"
[...]

snippet from system.reg:
[System\\CurrentControlSet\\Control\\Print\\Printers\\Wine PostScript Driver] 1068113715
"Attributes"=dword:00000000
"Default Devmode"="\xfctH@\xc8\37j@[HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\Print\\Printers\\Wine PostScript Driver"
"Name"="Wine PostScript Driver"
"Port"="LPT1:"
"Print Processor"="WinPrint"
"Printer Driver"="PS Driver"
"Priority"=dword:00000000
"Start Time"=dword:00000000
"Status"=dword:00000000
"Until Time"=dword:00000000

[System\\CurrentControlSet\\Control\\Print\\Printers\\Wine PostScript Driver\\PrinterDriverData] 1068113715
"PPD File"="/home/szazs/.wine/generic.ppd"

[System\\CurrentControlSet\\Control\\Print\\Printers\\Wine PostScript Driver\\PrinterDriverData\\FontSubTable] 1067333534
"Arial"="Helvetica"
"Courier New"="Courier"
"Helv"="Helvetica"
"Times New Roman"="Times"

and finally the tail of my .wine/fake_windows/Windows/win.ini:
[...]
[devices]
generic=WINEPS,LPR:generic
; what is the meaning of the last field LPR:generic?
; (it was originally LPR:hp)

[windows]
device=generic,WINEPS,LPR:generic
_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.com/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux