The general approach is the following:
1. Check that the endorser is present in the "TransportInfo.ini" file. If the feature is not present then endorsing is not possible.
Example of TransportInfo.ini:
- [General]
- RearEndorserPresent = true
- [RearEndorser]
- MaxLines = 4
- PhysicalPrinterPresent = true
2. Enable the endorser in the GenericOptions.ini
Example of GenericOptions.ini:
- [OptionalDevices]
- NeedRearEndorser = true
3. Call SetEndorseText or SetFixedEndorseText as needed after the TransportReadyToFeed state.
The abilities of the scanner may limit when the endorsing can be set or updated. We recommend using the the TransportReadyToSetEndorsement
event which will provide the application more information on what type
of endorsing abilities the scanner is capable of with the current
options.
See section TransportReadyToSetEndorsement in the Ranger API guide for more information. If the endorsement mode is other than EndorseModeCurrentItem then SetFixedEndorseText should be used.