Search found 3 matches

by twonests
Thu Dec 06, 2018 5:44 pm
Forum: PDF-XChange Drivers API SDK
Topic: Correct Syntax for add/edit Custom Forms
Replies: 8
Views: 8691

Re: Correct Syntax for add/edit Custom Forms

Here is the python code that we are using. This code printsin A4 (and not A0)...: import logging import win32com.client import os import collections import time com = win32com.client.Dispatch("PXCComLib7.CPXCControlEx") code = """ sdfsdfdsf """ printer = com.P...
by twonests
Thu Dec 06, 2018 2:43 pm
Forum: PDF-XChange Drivers API SDK
Topic: Correct Syntax for add/edit Custom Forms
Replies: 8
Views: 8691

Re: Correct Syntax for add/edit Custom Forms

Oh quick response. This is exactly what we do. We set the default settings and then send the job to the printer. But as already stated, the predefined settings are not correctly applied. More curious it was perfectly working with v6. Did you change anything?
by twonests
Thu Dec 06, 2018 10:12 am
Forum: PDF-XChange Drivers API SDK
Topic: Correct Syntax for add/edit Custom Forms
Replies: 8
Views: 8691

Re: Correct Syntax for add/edit Custom Forms

Hi, thank you for your help. We are currently using V7 , create avirtual printer with the driver API. Then we set to Paper size, height and width with: PDFPrinter.Options["Paper.Size"] = 256; // stands for DMPAPER_CUSTOM PDFPrinter.Options["Paper.CWidth"] = 1230; PDFPrinter.Optio...