Two Pilots™    Home  |  Navigation  |  Site Map  |  Products  |  Download  |  Prices  |  For Partners  |  Support


All forums · Statistics · Search ·

Two Pilots forum / For software developers / 11x17?
Author Message
ardolino
Member
# Posted: 6 Jun 2005 23:56


How do I create a PDF 11x17 page size?

Stanislav
# Posted: 7 Jun 2005 09:02


Dear Ardolino,

You need to setup page width and height in pixels.
Since the default resolution of PDF document is 72 dpi, you need to setup width 11*72=792 pixels, and height 17*72=1224 pixels. Here is the code VBScript code sample

Set PDF = CreateObject("PDFcreatorPilot2.piPDFDocument")

PDF.StartEngine "demo@demo","demo"

PDF.Filename = "11x17.pdf"
PDF.AutoLaunch = true

PDF.BeginDoc

PDF.PDFPAGE_Width = 792
PDF.PDFPAGE_Height = 1224

PDF.EndDoc

Thank you very much !

Best regards,
Stanislav

ardolino
Member
# Posted: 8 Jun 2005 21:01


Great, thanks! I will give it a try.

 

 

Powered by miniBB 2.0 RC7 © 2001-2004 Page creation time (sec.): 0.013

 

Page top