Image Viewer CP ActiveX Control

PrintSetPaperSource 

 

Set the page source programatically when you called PrintImage2Printer.
 

ImageViewer1.PrintSetPaperSource[=Integer]


Parameter
Integer
1 - DMBIN_UPPER
2 - DMBIN_LOWER
3 - DMBIN_MIDDLE
4 - DMBIN_MANUAL
5 - DMBIN_ENVELOPE
6 - DMBIN_ENVMANUAL
7 - DMBIN_AUTO
8 - DMBIN_TRACTOR
9 - DMBIN_SMALLFMT
10 - DMBIN_LARGEFMT
11 - DMBIN_LARGECAPACITY
14 - DMBIN_CASSETTE
15 - DMBIN_FORMSOURCE
256 - DMBIN_USER


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.PrintImage2Pinter(""HP LaserJet 4L")