We are attempting to print a pdf with exact dimensions using gdpicturedotnet with vb.net code. The resulting printout is slightly scaled to be smaller. The dimensions coincide with the adobe reader printout if the "shrink to printable area" page scaling option is used. I assume that gdpicture is doing the same thing - is this correct? We need to turn off this scaling in order to get the printed dimensions to be exact:
The attached document has a box which is exactly 1.25 inches from the left, six inches in width, and 1.25 inches from the right of the page (for a total of 8.5 inches). When printed with gdpicture, these measurements are incorrect. Please help!
ok, the BB would not let me upload a doc, so here it is:
Thanks for the reply. The correct dimensions (six inch box) can be seen by printing the document with acrobat reader and choosing "none" for the page scaling option. There is not a similar option that I can find with gdpicture. Are you saying that when you print using gdpicture, it gives you a page with the correct dimensions, or that both adobe and gdpicture give the same (incorrect) dimensions?
See the adobe options dialog here (http://screencast.com/t/XqNeF3PX). It shows the scaling in the preview, which is exactly the same thing gdpicture does when it prints.
The preview here shows the correct dimensions when scaling is turned off (http://screencast.com/t/3sowUf7SVOK).
Can we remove this scaling with gdpicture?
This is not a scaling to printable area issue.
GdPicture.NET takes care of the Physical margins of your printer. This means that printing destination (in some situation) can be adjusted in this way:
PrintWidthDest = AskedWidth - (PhysicalLeftmargin * 2)
PrintHeightDest = AskedHeight - (PhysicalToptmargin * 2)
it appears that Adobe ignore physical margin on "default" printing. Tomorrow, we will make some test to try to replicate the Adobe Acrobate behavior for PDF printing.
My printings have similar 'physical margin' problem which I sent a request to esupport on 25 Jan.
I understand that Acrobat Reader ignores the physical margin by default. We need export PDF in our application and print PDF using GdPicture SDK.
To make perfect exported PDF file, we cannot add offset compensation for the printer 'physical margin'. However, printing this PDF using GdPicture SDK makes the printing-out off the designed position due to the 'physical margin'.
Is there a way to tell GdPicture SDK to ignore the 'physical margin' or provide a 'soft margin compensation' to GdPicture printing API?
I think it is not the same issue as mentioned previously.
In latest release we stopped to check printer margin for non fitting printing.
Also, I don't have any trace of the PDF you sent to the support, so if you can explain your issue clearly and attach your document we should be able to help.
With best regards,
Who is online
Users browsing this forum: No registered users and 15 guests