Can I print a different endorsement on each item as it is scanned?

Started by wcoleman, May 02, 2008, 10:15:51 AM

Previous topic - Next topic

wcoleman

I wish to print a different endorsement on each item as it is scanned.

The documentation states that I can call SetFixedEndorseText from either TransportNewItem or the TransportSetItemOutput methods. The following code returns b == false every time and the original
text appears as the endorsement.

wcoleman

You will probably notice when you call SetEndorseText() on the CR-55 or CR-25 that it returns false. When any function in Ranger returns false, you can always check the Ranger log for a more detailed explanation. In this case the log it would contain:

    WARNING: This call not supported on this transport.

On the CR-25 or CR-55, by the time the SetItemOutput() event is fired the document is well beyond the inkjet.

For this reason, when endorsing on the CR-55 or CR-25, you must use SetFixedEndorseText() rather than SetEndorseText(). Call this method (after enabling the rear endorser and calling EnableOptions() of course) and it will print the given text on every subsequent document fed.   Furthermore, SetFixedEndorseText() should be called before starting to feed documents.

You may also want to read the topic "How do I print and tracking numbers on each document with the CR-series?"


Ranger® - The universal check scanner interface
Copyright © 2009 Silver Bullet Technology
www.sbullet.com