Image Viewer CP ActiveX Control

PrintSetDuplex

 

Set the duplex mode programatically when you called PrintImage2Printer.
 

ImageViewer1.PrintSetDuplex[=Integer]


Parameter
Integer
1 - DMDUP_SIMPLEX
2 - DMDUP_VERTICAL
3 - DMDUP_HORIZONTAL

 


Remark
This property is Read/Write.

Example

   

Visual Basic Syntax
ImageViewer1.FileName = "c:\1.tif"
ImageViewer1.PrintOutline = True
ImageViewer1.PrintSetPaperSize=1
ImageViewer1.PrintSetColor=0
ImageViewer1.PrintSetCopies=1
ImageViewer1.PrintSetPaperSource=1
ImageViewer1.PrintSetQuality=0
ImageViewer1.PrintSetDuplex=1
ImageViewer1.PrintImage2Pinter(""HP LaserJet 4L")