http://bugs.winehq.org/show_bug.cgi?id=15942
Summary: Printers can't print format largers than A4 Product: Wine Version: CVS/GIT Platform: PC-x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wineps.drv AssignedTo: wine-bugs@winehq.org ReportedBy: max@veneto.com
Tested on Autocad and Excel.
If I choose a print format larger than A4 (21x29.7 cm, printer standard) the printout gets clipped at the A4 format like it would be hard-wired in code. Selecting the printer into application behaves correctly, showing all supported formats, but none biggest than A4 size gets printed correctly.
Max
http://bugs.winehq.org/show_bug.cgi?id=15942
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wineps.drv |-unknown Version|CVS/GIT |1.1.7
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #1 from max@veneto.com 2008-11-08 05:32:15 --- Created an attachment (id=17136) --> (http://bugs.winehq.org/attachment.cgi?id=17136) Printout result on a pdf-generator printer
Here the print result on printing a cad drawing on big format. Next attachment shows the same, but printed to file (so without going to printer driver).
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #2 from max@veneto.com 2008-11-08 05:36:32 --- Created an attachment (id=17137) --> (http://bugs.winehq.org/attachment.cgi?id=17137) Same as previous attachment, but printed to file
Here the same drawing printed to file, thus not going thru printer driver.
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #3 from max@veneto.com 2008-11-09 15:38:11 --- Well, I guess the problem is due to missing media size in lpr command sent to cups. In 'printdrv16.c' (dlls/gdi32) the lpr command is build as
sprintf(psCmd,"|lpr -P'%s'",pszOutput+4);
I found that pszOutput does not contain any media size spec, so the job is sent to printer using default media size (usually A4). Changing default media in CUPS printer manager BEFORE printing makes it print correctly. I guess we should add a '-o media=<mediatype>' to lpr command sent to cups.
Max
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #4 from max@veneto.com 2008-11-09 18:50:58 --- Created an attachment (id=17187) --> (http://bugs.winehq.org/attachment.cgi?id=17187) Appends page size to lpr command sent to cups
Should solve the issue. Appends page size to lpr command sent to cups, instead of
|lpr -P'device'
it does
|lpr -P'device' -o PageSize=<page size>
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=15942
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, printing
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #5 from Austin English austinenglish@gmail.com 2008-11-10 19:07:07 --- Please send patches to wine-patches@winehq.org
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #6 from max@veneto.com 2009-04-20 07:57:00 --- (In reply to comment #5)
Please send patches to wine-patches@winehq.org
Done, but it won't be accepted, so it's here for whom whish to test it. I guess I'll setup a page somewhere for autocad wine patches....
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=15942
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wine.dev@web.de
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #7 from Austin English austinenglish@gmail.com 2009-11-19 12:27:15 --- Probably still present.
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #8 from max@veneto.com 2009-11-19 13:09:14 --- (In reply to comment #7)
Probably still present.
Yep. I still have my patch in my tree to work with it :-)
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=15942
Detlef Riekenberg wine.dev@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.2.0
http://bugs.winehq.org/show_bug.cgi?id=15942
max@veneto.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #17187|0 |1 is obsolete| |
--- Comment #9 from max@veneto.com 2010-03-25 09:44:45 --- Created an attachment (id=27032) --> (http://bugs.winehq.org/attachment.cgi?id=27032) patch modified to work on wine 1.1.41
Almost same patch as before, remade to follow changes in wineps.drv.
Ciao
Max
http://bugs.winehq.org/show_bug.cgi?id=15942
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nerv@dawncrow.de
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #10 from André H. nerv@dawncrow.de 2010-06-04 09:00:20 --- Mmh, OpenOffice 3.2 with Wine 1.2-rc2 works great printing A3 Format with cups-pdf
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #11 from max@veneto.com 2010-06-04 09:04:32 --- (In reply to comment #10)
Mmh, OpenOffice 3.2 with Wine 1.2-rc2 works great printing A3 Format with cups-pdf
mhhhh.... what's your DEFAULT format for cups-pdf printer ? I should have expressed better the problem.... You CAN print in different formats, BUT you have to set them as default in printer settings. At least in autocad wine ingnores completely any page format you select and gets just the dafault one, whichever it is.
Max
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #12 from André H. nerv@dawncrow.de 2010-06-04 09:15:33 --- My default is A4 with 300dpi
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #13 from André H. nerv@dawncrow.de 2010-06-04 12:23:32 --- oh and it was OOo 3.0 instead of 3.2, sry. but i guess that does not make a difference
http://bugs.winehq.org/show_bug.cgi?id=15942
max@veneto.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #14 from max@veneto.com 2010-10-20 12:25:11 CDT --- Fixed for me in 1.3.5 with change LPR --> CUPS.
Working for most printers besides one on which it insists printing in A4 no matter of paper choice. For plotter and pdf printer now it's perfect.
Max
http://bugs.winehq.org/show_bug.cgi?id=15942
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org 2010-10-29 12:57:51 CDT --- Closing bugs fixed in 1.3.6.