Printer Object
 
Syntax
 
Printer.OuputType = vsOutputStyle
 
Description
Returns or sets the outputtype for the current document.
 
Parameter
Description
vsOutputStyle
This parameter contains the following pre-defined constants and values:
Constant
Value
Description
vsPreview
0
Default. The document is not printed, but instead redirected to a print preview window.
vsPrintdirect
1
All output is sent directly to the printer
vsHTML
2
All output is written to a standard HTML file.
vsDHTML
3
All output is written to a Dynamic type HTML file.
vsPDFdoc
4
The document is formatted and exported into a Adobe PDF file (Portable Document Format)
vsRTFdoc
5
The document is formatted and exported into a RTF file (Rich Text Format)


See Also
Example