Hide

SftPrintPreview/OCX 1.0 - ActiveX Print Preview Control

Display
Print

SftPrintPreviewPrinter.Can Method

Returns information about printer capabilities.

Syntax

VB.NETAvailable = object.Can(ByVal Feature As String) As Boolean
VBAvailable = object.Can(ByVal Feature As String) As Boolean
C#.NETbool Available = object.Can(string Feature);
VC++VARIANT_BOOL* Available = object->Can(_bstr_t Feature);
CHRESULT object->raw_Can(BSTR Feature, VARIANT_BOOL* Available);

object

A SftPrintPreviewPrinter object.

Feature

Specifies the printer capability. The Feature argument is case-sensitive.

FeatureDescription
CollateThe current printer supports collating. The Printer.Collate property can be used to enable collating.
ColorsThe current printer is a color printer. The Printer.Duplex property can be used to enable duplexing.
DuplexThe current printer supports duplexing.
StapleThe current printer supports stapling (Windows 2000 and above only).
TrueTypeAsGraphicsThe current printer prints TrueType fonts as graphics.
TrueTypeDownloadThe current printer can download TrueType fonts.
TrueTypeSubstituteThe current printer can substitute device fonts for TrueType fonts.

Available

Returns True if the Feature specified is supported by the current printer, False otherwise.

Comments

The Can method returns information about printer capabilities.

See Also SftPrintPreviewPrinter Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.