GdPicture14 Namespace / GdPictureImaging Class / TwainGetImprinterMode Method

In This Topic
TwainGetImprinterMode Method (GdPictureImaging)
In This Topic
Returns the current imprinter mode, if any. Top/Bottom refer to duplex devices, and indicate if the printer is writing on the top or the bottom of the sheet of paper. Simplex devices use the top settings. Before/After indicates whether printing occurs before or after the sheet of paper has been scanned.
Public Function TwainGetImprinterMode() As TwainPrinterMode
public TwainPrinterMode TwainGetImprinterMode()
public function TwainGetImprinterMode(): TwainPrinterMode; 
public function TwainGetImprinterMode() : TwainPrinterMode;
public: TwainPrinterMode TwainGetImprinterMode(); 
TwainPrinterMode TwainGetImprinterMode(); 

Return Value

A member of the TwainPrinterMode enumeration. If TWPR_UNSUPPORTED is returned, the capability is probably not supported by the current device -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN). To get the TWAIN state, use the TwainGetState() method.
See Also