http://bugs.winehq.org/show_bug.cgi?id=25581
Summary: Printing in Landscape Mode on Legal Paper skewed. Product: Wine Version: unspecified Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv AssignedTo: wine-bugs@winehq.org ReportedBy: fhmanas@yahoo.com
I am having problem printing in Landscape mode. I have a program that requires landscape printing. I have a Canon ip2770 attached directly to my machine, and is configured properly in Cups, correct driver and all. Linux OpenOffice and gedit works perfectly in Portrait and Landscape printing.
In Wine, Portrait printing works perfectly for my program and the Wine Notepad. However, in both my program and the Wine Notepad, printing in Landscape will print the document skewed to the right, thus giving me a a good 3 inches of white space on the left side of the paper and my document is cut off when it reaches end of paper.
I have tried with this with multiple printers, HP Deskjet and 2 Epson Dot-Matrix and it is all the same way. Is this a bug in Wine handling landscape modes? My Wine version is 1.3.9 and OS is Ubuntu 10.04, paper size is US Legal.
Please help.
http://bugs.winehq.org/show_bug.cgi?id=25581
fhmanas fhmanas@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fhmanas@yahoo.com Version|unspecified |1.3.9
http://bugs.winehq.org/show_bug.cgi?id=25581
fhmanas fhmanas@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC|fhmanas@yahoo.com | Component|wineps.drv |-unknown
http://bugs.winehq.org/show_bug.cgi?id=25581
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, printing
http://bugs.winehq.org/show_bug.cgi?id=25581
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de, | |wine.dev@web.de
http://bugs.winehq.org/show_bug.cgi?id=25581
--- Comment #1 from fhmanas fhmanas@yahoo.com 2011-08-03 00:11:50 CDT --- Any progress on this bug? Still not working in Wine 1.3.24. I think it has something with the paper sizes, as I just discovered that even if I print portrait on US Legal size, it stops just the length of a letter size paper, further more printing is still screwed up. I tested this with built-in Notepad app and my App and it's the same with both. No native dlls were used.
http://bugs.winehq.org/show_bug.cgi?id=25581
--- Comment #2 from fhmanas fhmanas@yahoo.com 2011-08-05 09:26:07 CDT --- I have been trying to find a reason why this is happening. It seems that whatever paper size I choose in the Printer Dialog, it prints on a letter-size paper. On hunch, I changed the default paper size to legal in cups via localhost:631 and printed and it worked. Somehow it does not matter what paper I choose in Wine Printer Dialog, it does not change the default Cups paper size. I hope this observation will help in resolving this issue which seems to be affecting a lot of other applications including the built-in notepad.
http://bugs.winehq.org/show_bug.cgi?id=25581
--- Comment #3 from fhmanas fhmanas@yahoo.com 2011-08-06 01:23:03 CDT --- Created an attachment (id=35830) --> (http://bugs.winehq.org/attachment.cgi?id=35830) Test PB5 Application
This is a sample application, there are 2 Printer Setups, the first one is oversimplified and works, the second one calls the Printer Dialog and does not print.
Hope somebody can figure it out.
http://bugs.winehq.org/show_bug.cgi?id=25581
--- Comment #4 from fhmanas fhmanas@yahoo.com 2011-08-06 01:48:31 CDT --- Doing a WINEDEBUG=+PSDRV wine TestPrint
I found the difference between the first Print Setup that works vs the second Print Setup that does not wtork are the ff output.
1st Debug Output (this works) ... trace:psdrv:PSDRV_StartDocA using output: "CUPS:Canon-iP2700-series" fixme:winspool:SetJobW Ignoring everything other than document title ...
2nd Debug Output (does not print) ...
trace:psdrv:PSDRV_StartDocA using output: "CUPS:" fixme:winspool:SetJobW Ignoring everything other than document title ...
Any reason why the second can't find the output printer?
http://bugs.winehq.org/show_bug.cgi?id=25581
--- Comment #5 from fhmanas fhmanas@yahoo.com 2011-08-06 02:33:21 CDT --- I found another difference between the first Print Setup that works vs the second Print Setup that does not wtork are the ff output.
1st Debug Output (this works) ... trace:psdrv:PSDRV_CreateDC (L"wineps.drv" L"Canon-iP2700-series" L"CUPS:Canon-iP2700-series" (nil)) ...
2nd Debug Output (does not print) ...
trace:psdrv:PSDRV_CreateDC (L"wineps.drv" L"Canon-iP2700-series" L"CUPS:" (nil)) ...
http://bugs.winehq.org/show_bug.cgi?id=25581
fhmanas fhmanas@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #6 from fhmanas fhmanas@yahoo.com 2011-08-29 06:00:44 CDT --- Ok, I finally traced the problem to a faulty pb5 dll which provides the print dialog. I have now bypassed the dll and now using the comdlg32.dll and winspool.drv functions, which is working.
http://bugs.winehq.org/show_bug.cgi?id=25581
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED Resolution|FIXED |INVALID
--- Comment #7 from Austin English austinenglish@gmail.com 2011-08-29 12:23:14 CDT --- (In reply to comment #6)
Ok, I finally traced the problem to a faulty pb5 dll which provides the print dialog. I have now bypassed the dll and now using the comdlg32.dll and winspool.drv functions, which is working.
Nothing was fixed in wine.