PDFsharp & MigraDoc Foundation
http://forum.pdfsharp.com/

Extra lines in PDF when printed
http://forum.pdfsharp.com/viewtopic.php?f=3&t=1890
Page 1 of 1

Author:  dmcclean [ Thu Jan 26, 2012 3:14 am ]
Post subject:  Extra lines in PDF when printed

Hello,
I'm not convinced this is a bug, as it may be a problem with some printer drivers or it may be the case that I am unwittingly violating some precondition.

(This issue is also under discussion on Stack Overflow at: http://stackoverflow.com/questions/8995 ... en-printed)

I created a PDF using PDFSharp. I can't attach a zipped copy because the zip is still 756 KiB which exceeds the forum limit. Anyone who wants to see it can email me at douglas.mcclean@gmail.com.

When I print it (to my Brother HL 5140 laser printer, or to the XPS printer, but not to PDFCreator) it ends up with some extra lines. I've also taken a pair of screenshots, which are at http://i.imgur.com/E7452.png.

The printed copy contains an extra line segment (actually two, a skinny white one atop a wider black one in a style commonly used to depict roads) that runs from top center to bottom left.

Does anyone know why this happens, whether it is a bug in PDFSharp or a problem with my geometry, or have any idea how to go about debugging something like this?

Author:  Thomas Hoevel [ Thu Jan 26, 2012 2:19 pm ]
Post subject:  Re: Extra lines in PDF when printed

Adobe Reader X and Acrobat 8 display the file correctly, printing on an HP LaserJet also draws the line.
Looks as if the line is drawn while it should be a move (with "pen up").
I forwared the file to Stefan, maybe he can say more.

Author:  dmcclean [ Fri Jan 27, 2012 11:20 pm ]
Post subject:  Re: Extra lines in PDF when printed

It's independent of the exact geometry. The same thing happens even though I run the geometry through a simplifier first to reduce the file size.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/