GdPicture.NET Reference Guide
TwainSetImprinterMode Method (GdPictureImaging)

GdPicture14 Namespace > GdPictureImaging Class : TwainSetImprinterMode Method
Printer mode. A member of the TwainPrinterMode enumeration.
Sets the current imprinter mode, if supported. 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 TwainSetImprinterMode( _
   ByVal PrinterMode As TwainPrinterMode _
) As Boolean
public bool TwainSetImprinterMode( 
   TwainPrinterMode PrinterMode
public function TwainSetImprinterMode( 
    PrinterMode: TwainPrinterMode
): Boolean; 
public function TwainSetImprinterMode( 
   PrinterMode : TwainPrinterMode
) : boolean;
public: bool TwainSetImprinterMode( 
   TwainPrinterMode PrinterMode
bool TwainSetImprinterMode( 
   TwainPrinterMode PrinterMode


Printer mode. A member of the TwainPrinterMode enumeration.

Return Value

True if success, else False -> 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


GdPictureImaging Class
GdPictureImaging Members
TwainGetAvailableImprinterModeNo Method
TwainGetAvailableImprinterModeCount Method
TwainIsImprinterAvailable Method
TwainIsImprinterEnabled Method
TwainGetImprinterMode Method
TwainGetImprinterString Method
TwainSetImprinterString Method
TwainGetImprinterSuffix Method
TwainSetImprinterSuffix Method
TwainSetImprinterIndex Method
TwainGetImprinterIndex Method
TwainGetLastPrintedString Method