Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
we need 3of9 barcodes on our drawings and the built in pdf saver aswell as SmartInventor PDF Exporter wont save the barcode right.
So i wrote a simple iLogic rule which gets activated via a macro by the user.
oPrintMgr = ThisApplication.ActiveDocument.PrintManager pdfname = ThisDoc.FileName(False) filePath = ThisDoc.Path oPrintMgr.Printer = "Microsoft Print to PDF" oPrintMgr.ColorMode = kPrintGrayScale oPrintMgr.Orientation = kLandscapeOrientation oPrintMgr.Scalemode = kCustomScale oPrintMgr.ScaleMode = PrintScaleModeEnum.kPrintBestFitScale oPrintMgr.PaperSize = kPaperSizeA4 oPrintMgr.PrintToFile(filePath+"\"+pdfname+".pdf")
So far it works pretty good, except for the Colormode. It always prints the PDF file in Color.
Anything i am missing?
Thanks in advance.
P.S.: I cant use any other PDF Printer than Microsoft PDF to print here at work.
Solved! Go to Solution.