Sat Feb 20, 2021 11:03 pm
Hi,
I have attached four annotated images that I hope will help clarify the problem I am having. All four are scans of a printed document.
1.AcrobatOnBrother9450.jpg
This represents the desired output. The pdf file was loaded into Adobe Acrobat and printed "actual size" on a Brother 9450 printer. There is exactly 3mm of space at the top of the document above the "John" image. There is exactly 6mm of space below the numbers at the bottom of the page. This is what the printed pdf looks like when it is correctly printed actual size. If you do not have 3mm space above and 6mm below, the document has not been correctly printed actual size.
2.SpireOnHPLaserjetM29w.jpg
The is what SpirePDF produces when the pdf is printed on an HP LaserJet M29w. Note that the "John" image is clipped, and there is 11mm of space below the numbers at the bottom of the page. No amount of adjusting or altering the PrintSettings has corrected the problem.
3.SpireOnBrother9450.jpg
The is what SpirePDF produces when the pdf is printed on a Brother 9450. The image is identical to what was produced by the HP Laserjet M29w. We have tested on other printers with the same result. The problem has nothing to do with the physical printer. SpirePDF produces erroneous results on all of them, Adobe Acrobat produces correct results on all of them. I can't help but think that this problem represents a latent bug in SpirePDF. If I had to guess, I would say SpirePDF is having trouble with the CropBox or the MediaBox.
4.SpireScaleToFitOnBrother9450.jpg
I have included this to clarify a potential misunderstanding. You included some images in this ticket that were said to indicate that all tools were producing the same actual size printed result. In fact, those images all appear to represent "scale to fit" printing. "Actual size" will give a 3mm space at the top and a 6mm space at the bottom. Even if you used PdfSinglePageScalingMode.ActualSize, somewhere in the pipeline the choice was apparently made to scale to fit. In any case, if you have 10mm of space at the top and 10mm space at the bottom, your printed pdf is scaled to fit, not actual size.
I very much appreciate your perseverance in finding a solution to this problem. I will provide whatever additional info or other help you require.
Thank you!
Login to view the files attached to this post.
Last edited by
tbomgardner on Sat Feb 20, 2021 11:06 pm, edited 1 time in total.