Unable to print with the Wine PS driver

leanne leanne at thizlinux.com
Wed Sep 18 02:05:52 CDT 2002


Which application you are using?

For me, I first ensure CUPS test page to be sent out successfully.
Before installing Lotus Notes, "ln -sf /usr/bin/lpr.cups /usr/bin/lpr".
It should detect the printer I configure in CUPS.

wine config file - using default is ok.

You could try with notepad first.

my printer is : HP Laser Jet 1200 and HP Laser Jet 4100N

Hope it helps.

Leanne Tsang

Oscar A. Valdez wrote:

>I'm trying to get Wine to print through it's PS driver, without success, on a HP DeskJet 694C, configured on Linux with the cdj670 driver.
>What I get to see on screen after I attempt to print are three windows with exclamation marks on a yellow triangle and garbled text. The
>first window is titled "Printer name", the second "Device name", the third "Output". After clicking OK on the third, I get Wine's Print
>Dialog window. If I hit OK on it, I get an unhandled exception.
>When I run Wine with the options --debugmsg +print,+psdrv, I get frequent 'FindPrinterInfo' and 'DeleteDC' messages, as well as numerous 'WriteSpool16' messages before the unhandled
>exception at the very end (which, by the way, doesn't even launch the debugger window).
>These are the relevant sections from ~/.wine/config:
>;"printer" = "on"
>"Lpt1" = "/dev/lp0"
>"HPDesk" = "/home/halvarado/.wine/HP-DeskJet_694C-cdj670-ppd.ppd" ;generated at www.linuxprinting.org
>;; key:  io-base of the emulated port
>;; value : parport-device{,timeout}
>;; timeout for auto closing an open device ( not yet implemented)
>;"378" = "/dev/parport0"
>;"278" = "/dev/parport1"
>;"3bc" = "/dev/parport2"
>"FILE:" = "tmp.ps"
>"LPT1:" = "|lpr"
>This is the file psdrv.reg that I regapi into the registry:
>[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\Wine PostScript Driver]
>"Default Devmode"=
>"Name"="Wine PostScript Driver"
>"Print Processor"="WinPrint"
>"Printer Driver"="PS Driver"
>"Start Time"="dword:00000000"
>"Until Time"="dword:00000000"
>[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\Wine PostScript Driver\PrinterDriverData]
>"PPD File"="/home/halvarado/.wine/HP-DeskJet_694C-cdj670-ppd.ppd"
>[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Printers\Wine PostScript Driver\PrinterDriverData\FontSubTable]
>"Courier New"="Courier"
>"Times New Roman"="Times"
>[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Print\Environments\Windows 4.0\Drivers\PS Driver]
>"Configuration File"="WINEPS.DRV"
>"Data File"=""
>"Dependent Files"=""
>"Help Files"=""
>This is what the relevant part of system.reg looks after being fed psdrv.reg:
>[System\\CurrentControlSet\\Control\\Print\\Environments\\Windows 4.0\\Drivers\\PS Driver] 1032197720
>"Configuration File"="wineps.drv"
>"Data File"="<datafile?>"
>"Dependent Files"=str(7):""
>"Help File"="<helpfile?>"
>"Monitor"="<monitor name?>"
>[System\\CurrentControlSet\\Control\\Print\\Printers\\HPDesk] 1032197724
>"Default DevMode"=hex:48,50,44,65,73,6b,00,00,00,00,00,00,00,00,00,00,00,00,00,\
>  00,00,00,00,00,00,00,00,00,00,00,00,00,0a,03,01,00,9c,00,00,00,13,7b,00,00,\
>  01,00,01,00,ea,0a,6f,08,64,00,01,00,07,00,00,00,02,00,00,00,00,00,03,00,00,\
>  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
>  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
>  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
>  00,00,00,00,00,00,00,00,00,00,00,00
>"Description"="WINEPS Printer using LPR"
>"Print Processor"="WinPrint"
>"Printer Driver"="PS Driver"
>"Separator File"="<sep file?>"
>"Share Name"="<share name?>"
>This is win.ini:
>sLanguage=Spanish (El Salvador)
>sCountry=El Salvador
>sLongDate=dddd, dd' de 'MMMM' de 'yyyy
>Suggestions to get this setup to work are welcome.

More information about the wine-users mailing list