Bugzilla – Bug 128865
Printing from kmail chops rightmost/leftmost chars from document
Last modified: 2006-05-07 11:36:58 UTC
I've noticed this for several versions of SUSE Linux. When I try to print emails from kmail, it chops the leftmost two characters from each line. I'll attach some scans to demonstrate. If I print to PDF (in kprinter), then open/print the doc with kpdf it works. The printer and the print settings are the same both cases, but with kpdf it looks good, and kmail it does not. Konqueror seems to have this problem as well at times.
Created attachment 54435 [details] Test email printed to printer from kmail This test email was printed directly to the printer through kmail.
Created attachment 54436 [details] PDF generated by the "print to pdf" feature of kprinter, from kmail Test email, printed from kmail, using kpdf's "print to pdf" feature instead of a physical printer.
Created attachment 54437 [details] Test email, printed from kpdf, then scanned. Test email printed to pdf, then opened with kpdf, printed, and scanned.
I guess the printer settings that kprinter gets are wrong - i.e. no borders. But I have no idea how to debug this further. Perhaps Klaus or Johannes have an idea.
What results if you print plain text: echo "Hello" | lp -d QUEUE If only "llo" is printed, the print driver or the print driver settings are wrong. If "Hello" is printed, the print queue settings are o.k. for plain text. I don't know which data type kmail sends to the printing system. According the the attachment in comment #1 it is not plain text but something else (e.g. PostScript). To test whether PostScript prints o.k. print via echo "Hello" | a2ps -1 -o- | lp -d QUEUE You should get top/bottom/left/right border lines on the printout. With which exact URL does Konqueror also chop the leftmost two characters when printing? Obviously we need an URL to have at least the chance to reproduce it. Do you print in landscape mode or two pages on one sheet or something else which is not default? By the way: Perhaps it might be a little bit useful for us if we knew which printer model and which PPD file you use? grep '^\*NickName' /etc/cups/ppd/*.ppd
Does the YaST test page print correctly? Is there something chopped (note the triangles in the corners)?
BTW: the page can also be cropped, if you choose the wrong kind of paper: print a Din A4 printout on paper of letter size. Are you sure, you've installed/chosen the right paper size?
I stopped using kmail some time ago, so I'm not sure when I'll get around to providing the info. Sorry.
If other applications (in particular non-KDE applications) print correctly, it is very likely a problem how KDE in general (or only the one KDE application kmail) creates its printing output.
ok, no idea what this is causing for you, but as it's no problem here and you're not able to provide any help, we're closing this corpse.