SheetSizeIndex propery not working

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Tracker Supp-Stefan

Post Reply
gopinathrbe
User
Posts: 5
Joined: Thu Feb 14, 2019 3:38 pm

SheetSizeIndex propery not working

Post by gopinathrbe » Sun Feb 17, 2019 1:48 pm

PXCPrinter PDFPrinter = null;
CPXCControlEx prnFactory = new CPXCControlEx();
PDFPrinter = prnFactory.get_Printer("", "PDF-XChange Standard V7", "<REG CODE>", "<DEV CODE>") as CPXCPrinter;
PDFPrinter.Option["Save.SaveType"] = "Save";
PDFPrinter.Option["Save.ShowSaveDialog"] = "No";
PDFPrinter.Option["Save.WhenExists"] = "Overwrite";
PDFPrinter.Option["Saver.ShowProgress"] = "false";
PDFPrinter.Option["Save.RunApp"] = "false";
//PDFPrinter.Option["Paper.LayoutType"] = 0;
//PDFPrinter.Option["General.Specification"] = -1;
PDFPrinter.Option["Paper.SheetSizeIndex"] = 10;
PDFPrinter.Option["Paper.Size"] = 10;
PDFPrinter.ApplyOptions(0);

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13331
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: SheetSizeIndex propery not working

Post by Tracker Supp-Stefan » Mon Feb 18, 2019 12:49 pm

Hello gopinathrbe,

I just posted in your other topic:
viewtopic.php?f=43&t=32191

I believe the issue is that you are trying to use an option not documented here:
https://help.tracker-software.com/pdfxdapi7/paper.html
And namely - this one:
// PDFPrinter.Option["Paper.Size"] = 10;

Regards,
Stefan

Post Reply