I am trying to print the PDF file to network printer in duplex mode, but regardless of settings document is always prints in single page mode. Am I doing soemthing wrong? My printer is supporting duplex printing. Below is the VFP code:
- Code: Select all
oGdViewer.DisplayFromPDFFile(cPDFfile)
oGdViewer.PrintSetActivePrinter(cMyPrintQueue) && this is UNC-coded path: \\printserver\printqueue
oGdViewer.PrintSetQuality(-4)
oGdViewer.PrintSetStdPaperSize(1)
oGdViewer.PrintSetDuplexMode(2)
oGdViewer.PrintSetFromToPage(1, oGdViewer.PageCount)
oGdViewer.PrintImage2Printer(oGdViewer.PrintGetActivePrinter)
Thanks,
Boris.
