Posted by Brian Levantine on April 30, 2004 at 15:48:33:
In Reply to: Duplex printing posted by John P. Carr on April 30, 2004 at 13:16:10:
Hi John. Try the below code. All though I can't test it, it is using a function (SetPrinterInfo) that we know works. I've added the symbolic constants to the PrintCtl.In file for the next release. This command should be issued right after opening the printer.
SET PI.DMDUPLEX = 10
SET DMDUP.SIMPLEX = 1
SET DMDUP.VERTICAL = 2
SET DMDUP.HORIZONTAL = 3
Print (PtrLUN) (TR);(SetPrinterInfo = PI.DMDUPLEX, DMDUP.VERTICAL)
Brian