Kubotek Forum

KeyCreator & KeyCreator Viewer Technical discussion of CAD/CAM and integrated partner products
Subscribe to post
User avatar
Dana - (7/22/2020 9:48:01 AM)
RE:Set the options for exporting PDF
There is also:

SET PDFHeight, 11
SET PDFWidth, 17

At one point I was using:

EXPORT PDF, "s:\\test.pdf"

but I had it commented out of my kxl, because apparently using EXPORT PDF ignores the line width settings in the printer configuration (Set PDFPrintConfig) (for all I know that may be fixed now)  Instead, I use a compiled Autoit (a Windows scripting language)  script to click the KC menus to export the PDF:

Send("{ESC}{ESC}{ESC}{ESC}{ALT}FEF{F7}{F1}")

Autoit is great for automating other KC functions that aren't supported by KXL.
Login