This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-Tools SDK of Library DLL functions(only) - Please use the PDF-XChange Drivers API SDK Forum for assistance with all PDF Print Driver related topics or PDF-XChange Viewer SDK if appropriate.
Moderators:PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Stefan - PDF-XChange
PDFPrinter.ResetDefaults();
// setting other general and save options which works :)
PDFPrinter.set_Option("Paper.LayoutType", "Normal");
PDFPrinter.set_Option("Paper.SheetSizeIndex", -2);
PDFPrinter.set_Option("Paper.SheetWidth", 450);
PDFPrinter.set_Option("Paper.SheetHeight", 250);
// other options which works
// ...
PDFPrinter.ApplyOptions(0);
I am using the PDF-XChange version10.3.1.387.
Any help is appreciated.
TestPDF.zip
You do not have the required permissions to view the files attached to this post.
Thank you for letting us know, this has been raised to the dev team to ask for their insight and expertise. Hopefully one of them can come post here with a solution, or promise to resolve the issue in a future release.
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Thank you for letting us know, this has been raised to the dev team to ask for their insight and expertise. Hopefully one of them can come post here with a solution, or promise to resolve the issue in a future release.
Kind regards,
Hi Daniel,
Is there any update regarding the issue from the dev team? Any updates would be helpful.
Please use Paper.StdSheetWidth and Paper.StdSheetHeight instead of Paper.SheetWidth and Paper.SheetHeight.
But also, please consider using Paper.CWidth, Paper.CHeight, and/or Paper.Size.
In a nutshell, dimensions specified by Paper.Size, Paper.CWidth, and Paper.CHeight is what your application "sees" when it communicates with the printer. And the Paper.SheetSizeIndex, Paper.StdSheetWidth, Paper.StdSheetHeight (and other parameters) defines what PDF page size (and layout on it) will be generated.
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.