Description
Syntax
Visual Basic |
---|
Public Sub PrintSheet( _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant, _
Optional ByVal As Variant _
) |
Parameters
- Printer
- Name of printer as it appears in Print dialogue box.
- NumCopies
- Number of copies.
- Orientation
- Orientation
- PaperSize
- Paper Size
- Scale
- Scale
- PrintToFile
- True or False
- OutputFileName
- FileName if above field is specified as True
- ColorAsBlack
- Specifies to print all colors as black when set to True. If this argument is not specified, colors will be printed as true color on color devices or grayscale on black-and-white devices.
- Collate
- Specifies that all copies are to be collated when set to True. If this argument is not specified, then the copies will not be collated. This argument only applies when printing multiple sheets in a Draft document.
- ScaleLineWidths
- ScaleLineTypes
- UsePrinterClipping
See Also