Excuse me for butting in, but I've been following this, and I'm pretty new to Wine. I have a new Lexmark printer (X125) with no driver available for Linux. Is this implying there might be some way I can get it to print in Linux using Wine? Thanks, SJR Dan Sawyer wrote: > I struggled with printing for several days. Finally it all came > together and works very well. > > I chose cups; do you have cups working. That was the first step. I > turned off lpd and started cups. Can you print via cups?? > > Dan > > Kevin DeKorte wrote: > >>Here is the results of Notepad doing a print of one >>line of text. >> >>I have two printers both networked. >>I can print from Native Linux apps fine to both >>printers. >> >>When I did my initial install I used wineinstall and >>then I updated from CVS for each additional release. >> >>Kevin >> >>--- BEGIN LOG --- >> >>[kdekorte@localhost kdekorte]$ notepad --debugmsg >>+winspool >>trace:winspool:AddPrinterDriverA ((null),3,0x40792d94) >>trace:winspool:WINSPOOL_OpenDriverReg (null) >>trace:winspool:WINSPOOL_OpenDriverReg set environment >>to Windows 4.0 >>trace:winspool:WINSPOOL_OpenDriverReg >>System\CurrentControlSet\control\Print\Environments\Windows >>4.0\Drivers\ >>trace:winspool:AddPrinterA ((null),2,0x40792d1c): stub >>trace:winspool:DEVMODEdupAtoW >>trace:winspool:AddPrinterW ((null),2,0x40284630) >>trace:winspool:WINSPOOL_OpenDriverReg (null) >>trace:winspool:WINSPOOL_OpenDriverReg set environment >>to Windows 4.0 >>trace:winspool:WINSPOOL_OpenDriverReg >>System\CurrentControlSet\control\Print\Environments\Windows >>4.0\Drivers\ >>trace:winspool:DocumentPropertiesW >>((nil),(nil),L"HP1220C",(nil),(nil),0) >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP1220C,(nil),(nil),0) >>trace:winspool:OpenPrinterW (printerName: L"HP1220C", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x1, >>"PrinterDriverData", "Paper Size" (nil), 0x40792810, >>00000004, 0x40792828) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x1 >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x1 >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x1, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x1 >>trace:winspool:DocumentPropertiesW >>((nil),(nil),L"HP1220C",0x40284828,(nil),2) >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP1220C,(nil),(nil),0) >>trace:winspool:OpenPrinterW (printerName: L"HP1220C", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x1, >>"PrinterDriverData", "Paper Size" (nil), 0x40792810, >>00000004, 0x40792828) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x1 >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x1 >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x1, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x1 >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP1220C,0x40284be0,(nil),2) >>trace:winspool:OpenPrinterW (printerName: L"HP1220C", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x1, >>"PrinterDriverData", "Paper Size" (nil), 0x40792810, >>00000004, 0x40792828) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x1 >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x1 >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x1, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x1 >>trace:winspool:OpenPrinterW (printerName: L"HP1220C", >>pDefault (nil)) >>trace:winspool:AddPrinterA ((null),2,0x40792d1c): stub >>trace:winspool:DEVMODEdupAtoW >>trace:winspool:AddPrinterW ((null),2,0x40284868) >>trace:winspool:WINSPOOL_OpenDriverReg (null) >>trace:winspool:WINSPOOL_OpenDriverReg set environment >>to Windows 4.0 >>trace:winspool:WINSPOOL_OpenDriverReg >>System\CurrentControlSet\control\Print\Environments\Windows >>4.0\Drivers\ >>trace:winspool:DocumentPropertiesW >>((nil),(nil),L"HP8100DN",(nil),(nil),0) >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP8100DN,(nil),(nil),0) >>trace:winspool:OpenPrinterW (printerName: L"HP8100DN", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x11, >>"PrinterDriverData", "Paper Size" (nil), 0x40792810, >>00000004, 0x40792828) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x11 >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x11 >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x11, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x11 >>trace:winspool:DocumentPropertiesW >>((nil),(nil),L"HP8100DN",0x40284e40,(nil),2) >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP8100DN,(nil),(nil),0) >>trace:winspool:OpenPrinterW (printerName: L"HP8100DN", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x11, >>"PrinterDriverData", "Paper Size" (nil), 0x40792810, >>00000004, 0x40792828) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x11 >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x11 >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x11, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x11 >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP8100DN,0x40284f28,(nil),2) >>trace:winspool:OpenPrinterW (printerName: L"HP8100DN", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x11, >>"PrinterDriverData", "Paper Size" (nil), 0x40792810, >>00000004, 0x40792828) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x11 >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x11 >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x11, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x11 >>trace:winspool:OpenPrinterW (printerName: L"HP8100DN", >>pDefault (nil)) >>fixme:win:SetWindowTextA cannot set text "Notepad - >>(untitled)" of other process window 0 >>fixme:richedit:RICHED32_WindowProc Unknown message >>0x400 Passed to default hwnd=0x2006f, wParam=00000000, >>lParam=00000000 >>trace:winspool:WINSPOOL_EnumPrinters Found 2 printers >>trace:winspool:WINSPOOL_EnumPrinters Printer 0 is >>L"HP1220C" >>trace:winspool:WINSPOOL_EnumPrinters Printer 1 is >>L"HP8100DN" >>trace:winspool:WINSPOOL_EnumPrinters Found 2 printers >>trace:winspool:WINSPOOL_EnumPrinters Printer 0 is >>L"HP1220C" >>warn:winspool:WINSPOOL_GetDWORDFromReg Got ret = 2 on >>name Default Priority >>trace:winspool:WINSPOOL_EnumPrinters Printer 1 is >>L"HP8100DN" >>warn:winspool:WINSPOOL_GetDWORDFromReg Got ret = 2 on >>name Default Priority >>fixme:commdlg:PRINTDLG_SetUpPrinterListComboA Can't >>find '(null)' in printer list so trying to find >>default >>trace:winspool:OpenPrinterW (printerName: L"HP8100DN", >>pDefault (nil)) >>trace:winspool:WINSPOOL_GetPrinter >>(0x1d,2,(nil),0,0x40791d54) >>trace:winspool:WINSPOOL_GetPrinter returing 0 needed = >>382 >>trace:winspool:WINSPOOL_GetPrinter >>(0x1d,2,0x4028fee8,382,0x40791d54) >>warn:winspool:WINSPOOL_GetDWORDFromReg Got ret = 2 on >>name Default Priority >>trace:winspool:WINSPOOL_GetPrinter returing 1 needed = >>382 >>trace:winspool:WINSPOOL_GetPrinterDriver >>(0x1d,(null),3,(nil),0,0x40791d54) >>trace:winspool:WINSPOOL_OpenDriverReg (null) >>trace:winspool:WINSPOOL_OpenDriverReg set environment >>to Windows 4.0 >>trace:winspool:WINSPOOL_OpenDriverReg >>System\CurrentControlSet\control\Print\Environments\Windows >>4.0\Drivers\ >>trace:winspool:WINSPOOL_GetDriverInfoFromReg L"PS >>Driver",(null),3,(nil),(nil),0,0 >>trace:winspool:WINSPOOL_GetDriverInfoFromReg buffer >>space 0 required 81 >>trace:winspool:WINSPOOL_GetPrinterDriver buffer space >>0 required 121 >>trace:winspool:WINSPOOL_GetPrinterDriver >>(0x1d,(null),3,0x402901f0,121,0x40791d54) >>trace:winspool:WINSPOOL_OpenDriverReg (null) >>trace:winspool:WINSPOOL_OpenDriverReg set environment >>to Windows 4.0 >>trace:winspool:WINSPOOL_OpenDriverReg >>System\CurrentControlSet\control\Print\Environments\Windows >>4.0\Drivers\ >>trace:winspool:WINSPOOL_GetDriverInfoFromReg L"PS >>Driver",(null),3,0x402901f0,0x40290218,81,0 >>trace:winspool:WINSPOOL_GetDriverInfoFromReg buffer >>space 81 required 81 >>trace:winspool:WINSPOOL_GetPrinterDriver buffer space >>121 required 121 >>trace:winspool:ClosePrinter Handle 0x1d >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP8100DN,(nil),(nil),0) >>trace:winspool:OpenPrinterW (printerName: L"HP8100DN", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x1d, >>"PrinterDriverData", "Paper Size" (nil), 0x40791920, >>00000004, 0x40791938) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x1d >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x1d >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x1d, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x1d >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP8100DN,0x40290300,(nil),2) >>trace:winspool:OpenPrinterW (printerName: L"HP8100DN", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x1d, >>"PrinterDriverData", "Paper Size" (nil), 0x40791920, >>00000004, 0x40791938) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x1d >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x1d >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x1d, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x1d >>trace:winspool:OpenPrinterW (printerName: L"HP1220C", >>pDefault (nil)) >>trace:winspool:WINSPOOL_GetPrinter >>(0x1d,2,(nil),0,0x4079191c) >>trace:winspool:WINSPOOL_GetPrinter returing 0 needed = >>380 >>trace:winspool:WINSPOOL_GetPrinter >>(0x1d,2,0x4028fee8,380,0x4079191c) >>warn:winspool:WINSPOOL_GetDWORDFromReg Got ret = 2 on >>name Default Priority >>trace:winspool:WINSPOOL_GetPrinter returing 1 needed = >>380 >>trace:winspool:WINSPOOL_GetPrinterDriver >>(0x1d,(null),3,(nil),0,0x4079191c) >>trace:winspool:WINSPOOL_OpenDriverReg (null) >>trace:winspool:WINSPOOL_OpenDriverReg set environment >>to Windows 4.0 >>trace:winspool:WINSPOOL_OpenDriverReg >>System\CurrentControlSet\control\Print\Environments\Windows >>4.0\Drivers\ >>trace:winspool:WINSPOOL_GetDriverInfoFromReg L"PS >>Driver",(null),3,(nil),(nil),0,0 >>trace:winspool:WINSPOOL_GetDriverInfoFromReg buffer >>space 0 required 81 >>trace:winspool:WINSPOOL_GetPrinterDriver buffer space >>0 required 121 >>trace:winspool:WINSPOOL_GetPrinterDriver >>(0x1d,(null),3,0x402901f0,121,0x4079191c) >>trace:winspool:WINSPOOL_OpenDriverReg (null) >>trace:winspool:WINSPOOL_OpenDriverReg set environment >>to Windows 4.0 >>trace:winspool:WINSPOOL_OpenDriverReg >>System\CurrentControlSet\control\Print\Environments\Windows >>4.0\Drivers\ >>trace:winspool:WINSPOOL_GetDriverInfoFromReg L"PS >>Driver",(null),3,0x402901f0,0x40290218,81,0 >>trace:winspool:WINSPOOL_GetDriverInfoFromReg buffer >>space 81 required 81 >>trace:winspool:WINSPOOL_GetPrinterDriver buffer space >>121 required 121 >>trace:winspool:ClosePrinter Handle 0x1d >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP1220C,(nil),(nil),0) >>trace:winspool:OpenPrinterW (printerName: L"HP1220C", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x1d, >>"PrinterDriverData", "Paper Size" (nil), 0x407914e8, >>00000004, 0x40791500) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x1d >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x1d >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x1d, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x1d >>trace:winspool:DocumentPropertiesA >>((nil),(nil),HP1220C,0x40290f00,(nil),2) >>trace:winspool:OpenPrinterW (printerName: L"HP1220C", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x1d, >>"PrinterDriverData", "Paper Size" (nil), 0x407914e8, >>00000004, 0x40791500) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x1d >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x1d >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x1d, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x1d >>trace:winspool:OpenPrinterW (printerName: L"HP1220C", >>pDefault (nil)) >>trace:winspool:GetPrinterDataExA (0x1d, >>"PrinterDriverData", "Paper Size" (nil), 0x40791fbc, >>00000004, 0x40791fd4) >>warn:winspool:GetPrinterDataExA Can't open subkey >>"PrinterDriverData" >>trace:winspool:EnumPrinterDataExA 0x1d >>PrinterDriverData\FontSubTable >>trace:winspool:EnumPrinterDataExW 0x1d >>L"PrinterDriverData\\FontSubTable" >>trace:winspool:EnumPrinterDataExW RegOpenKeyExW (0x1d, >>L"PrinterDriverData\\FontSubTable") returned 2 >>trace:winspool:EnumPrinterDataExA EnumPrinterDataExW >>returned 2 >>trace:winspool:ClosePrinter Handle 0x1d >> >>--- Sylvain Petreolle <spetreolle@yahoo.fr> wrote: >> >> >>>Please report error messages from wine. >>>'wine some_app --debugmsg +winspool' is your friend. >>> >>> --- Dan Fer <ezra_daniel@hotmail.com> a écrit : > >>> >>> >>>>Hello, >>>> >>>>I've been trying to print under apps running with wine for a while. >>>> >>>>In wine docs it says wine automatically detect CUPS printer. Well, I have CUPS installed, everything prints great, except apps running under wine, which say that no printers are installed. >>>> >>>>CUPS version installed. Debian woody version - 1.1.14.3 Wine version installed. Prepackaged Deb 20021013. >>>> >>>>Can anyone point me and explain how can I truly print right now under Wine (using cups or not, wine docs are not very trustful. (I would thank a lot if the help would be detailed). If somebody could help me get it working I would personally offer myself to better wine doc section for printing. >>>> >>>>Thanks in advance. >>>> _______________________________________________ wine-users mailing list wine-users@winehq.com http://www.winehq.com/mailman/listinfo/wine-users