DeviceSetImprinterEndorser Method (ImprinterEndorserType, ImprinterEndorserMode, String, Int32, String) |
Use this method to enable an imprinter or endorser and set its parameters.
Namespace:
Atalasoft.Twain
Assembly:
Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public void SetImprinterEndorser(
ImprinterEndorserType printer,
ImprinterEndorserMode mode,
string text,
int index,
string suffix
)
Public Sub SetImprinterEndorser (
printer As ImprinterEndorserType,
mode As ImprinterEndorserMode,
text As String,
index As Integer,
suffix As String
)
Parameters
- printer
- Type: Atalasoft.TwainImprinterEndorserType
The printer to use. Call GetSupportedPrinters to find out which
printers are available. - mode
- Type: Atalasoft.TwainImprinterEndorserMode
The text mode to use. - text
- Type: SystemString
The text to print. - index
- Type: SystemInt32
The starting index for the page. - suffix
- Type: SystemString
An optional suffix used when mode is Compound.
Return Value
Type:
To disable an imprinter or endorser, use the overload for
SetImprinterEndorser(ImprinterEndorserType, Boolean).
See Also