Bug 128865 - Printing from kmail chops rightmost/leftmost chars from document
Summary: Printing from kmail chops rightmost/leftmost chars from document
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: KDE (show other bugs)
Version: RC 4
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 21:28 UTC by Bart Whiteley
Modified: 2006-05-07 11:36 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Test email printed to printer from kmail (35.83 KB, application/pdf)
2005-10-17 21:30 UTC, Bart Whiteley
Details
PDF generated by the "print to pdf" feature of kprinter, from kmail (19.04 KB, application/pdf)
2005-10-17 21:31 UTC, Bart Whiteley
Details
Test email, printed from kpdf, then scanned. (38.01 KB, application/pdf)
2005-10-17 21:32 UTC, Bart Whiteley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bart Whiteley 2005-10-17 21:28:51 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.
Comment 1 Bart Whiteley 2005-10-17 21:30:23 UTC
Created attachment 54435 [details]
Test email printed to printer from kmail

This test email was printed directly to the printer through kmail.
Comment 2 Bart Whiteley 2005-10-17 21:31:32 UTC
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.
Comment 3 Bart Whiteley 2005-10-17 21:32:28 UTC
Created attachment 54437 [details]
Test email, printed from kpdf, then scanned. 

Test email printed to pdf, then opened with kpdf, 
printed, and scanned.
Comment 4 Stephan Kulow 2006-01-30 13:04:43 UTC
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.
Comment 5 Johannes Meixner 2006-01-30 13:26:31 UTC
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
Comment 6 Johannes Meixner 2006-01-30 13:29:34 UTC
Does the YaST test page print correctly?
Is there something chopped (note the triangles in the corners)?
Comment 7 Klaus Singvogel 2006-01-30 14:25:19 UTC
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?
Comment 8 Bart Whiteley 2006-01-30 18:04:47 UTC
I stopped using kmail some time ago, so I'm not sure when I'll get around to providing the info.  Sorry. 
Comment 9 Johannes Meixner 2006-01-31 09:19:33 UTC
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.
Comment 10 Stephan Kulow 2006-05-07 11:36:58 UTC
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.