Re: Windows Printer Properties


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

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)
.
.
.





Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):






[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]