Posted by Jim Guerber on July 23, 2007 at 13:09:32:
In Reply to: Re: Windows Printer Properties posted by Gerry B on July 23, 2007 at 12:12:48:
Looks like Grant beat me to it!
I looked at winptr.ibs in the dmw dir.
PRINT (PRINTER.LUN) (TR);(SetOrientation = DMORIENT.LANDSCAPE)
in prtctl.inc in wdl:
SET DMORIENT.LANDSCAPE = 2
in dmw there is another demo program called ptrcpy.ibs. In it you can see:
Print (PtrLUN) (TR);(SetPrinterInfo = PI.DMCOPIES, Copies)
and SET PI.DMCOPIES = 9 is in prtctl.inc as well.
so, I guess to print 4 copies of a document in landscape mode you would code as follows:
Include "PrintCtl.Inc", "Wdl"
open(1)'lp1'
PRINT (1) (TR);(SetOrientation = DMORIENT.LANDSCAPE)
Print (1) (TR);(SetPrinterInfo = PI.DMCOPIES, 4)
.
.
.