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