[Bug 15942] Printers can't print format largers than A4
wine-bugs at winehq.org
wine-bugs at winehq.org
Sun Nov 9 15:38:12 CST 2008
http://bugs.winehq.org/show_bug.cgi?id=15942
--- Comment #3 from max at 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
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the wine-bugs
mailing list