custom sheet size 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: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

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

custom sheet size not working

Post by gopinathrbe »

CPXCPrinter 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.SheetSizeIndex"] = -2;
PDFPrinter.Option["Paper.SheetWidth"] =3000 ;
PDFPrinter.Option["Paper.SheetHeight"] = 4000;
PDFPrinter.ApplyOptions(0);

Always getting same paper size 8.27 x 11.69 in
Attachments
CustomPaperSizes.PNG
Post Reply