PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 10:18 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Thu Sep 15, 2016 12:33 pm 
Offline

Joined: Thu Sep 15, 2016 12:22 pm
Posts: 1
I am using PDFSharp (version 1.32.3057) to create a document that is meant to be printed on sheets of self adhesive labels. I can get the labels to line up correctly on one printer but when I print the same document on a different printer (both HP but one is a LaserJet and the other an InkJet) the labels are shifted slightly and do not line up. I am printing the document in landscape mode, if that makes any difference.

I understand not all printers are physically capable of printing all the way to the edge of the page but that doesn't appear to be the issue. What appears to be happening is the origin of the page for one of the printers (not sure which is wrong) isn't located at the actual top-left corner of the page.

Is there any way to have a 15 point margin fall in exactly the same place on multiple printers?


Top
 Profile  
Reply with quote  
PostPosted: Thu Sep 15, 2016 1:45 pm 
Offline
PDFsharp Guru
User avatar

Joined: Mon Oct 16, 2006 8:16 am
Posts: 3095
Location: Cologne, Germany
Hi!

Create a PDF page with a horizontal line e.g. 20 mm from the top and a vertical line e.g. 20 mm from left.

Print it on both printers and see which one is correct. This will also tell you which correction factors you may need for each printer.

I do not think this can be "calibrated" in the printer menu, the paper feeder, or the printer driver settings.
Thus allowing individual correction factors in your software might be the best solution workaround.

_________________
Regards
Thomas Hoevel
PDFsharp Team


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 142 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group