Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hey,
I am busy trying to print a documt with Ilogic. To keep it clear, I have split my goal into several steps. I am still quite new to the Ilogic world.
step 1: print active sheet to pdf with Ilogic
step 2: print all sheets to pdf in 1 document
Goal: to make options. That is for example:
option A printing page 1/3 and 2/3
option printing B page 1/3, 3/3 and 2/3
option printing C page 2/3 and 3/3
step 1: print active sheet to pdf with Ilogic
oPrintMgr = ThisApplication.ActiveDocument.PrintManager pdfname = ThisDoc.FileName(False) filePath = ThisDoc.Path 'printer settings oPrintMgr.Printer = "Microsoft Print to PDF" oPrintMgr.ColorMode = kPrintGrayScale oPrintMgr.PrintRange=kPrintAllSheets oPrintMgr.Orientation = kLandscapeOrientation oPrintMgr.Scalemode = kCustomScale oPrintMgr.ScaleMode = PrintScaleModeEnum.kPrintBestFitScale oPrintMgr.PaperSize = kPaperSizeA3 'location pdf print oPrintMgr.PrintToFile(filePath+"\"+pdfname+".pdf")
step 2: print all sheets to pdf in 1 document
There is where i get stuck. I only found code the let you print sings pages. So instead of having 1 document you will get 3......
Does anyone have maby experiece with this? I look forward to your response.
Solved! Go to Solution.