printing MICR font from Linux shell
I've been trying unsucessfully for a few days to print checks using the MICR font from a shell in Linux. From what I understand in order to have the font display correctly I need to send escape codes to the printer before I print. This same font works fine in Windows, and the printer is a Troy security printer (HP LJ 4200).
The manual lists the escape code as:
But I'm not sure how to send it to the printer. I've read the Printing-HOWTO but it references /etc/printcap which on my new version of RedHat is no longer used. I also read up on filters but I could not find any on my system after doing extensive searches, and the /etc/printcap is where you reference filters but like I said my /etc/printcap only contains my printer name and nothing else. I'm at version 9 and to configure CUPS I used printconf, which is Redhat's printer config utility. I should mention that the printer works fine from Linux (I print with lpr) but it uses a simulated font for MICR.
I understand what I'm supposed to do I just am not sure how to do it. Also I sometimes see escape as ^] and other times as //033/, and given the escape code above is everything except for the <Esc> supposed to be sent literally or does "<Esc>(" mean escape parenthesis? As you can see I'm confused, and I would appreciate any help.
Thanks in advance,