Hi Dave,
your customer accesses the printer through the normal uniface printing mechanism so he is not free to do whatever he likes.
so (if I remember it well, it was 1996) we used some text attributes to specify control sequences like:
bold-on: switch barcode printing on
bold-off: turn barcode printing off
The other focus was on the INIT sequences sent to the printer to have a proper print of "Umlauts" etc.
Another way we used was creating an ASCII file and wrap some escape codes around it and copy it to the printer-port as binary.
A lot of options,
a lot to do.
Uli
P.S: still the best onthis topic: http://march-hare.com/puuu/doc/uprinting.pdf from Debra Mullen
Author: ulrich-merkel (
ulrichmerkel@web.de)