Am currently printing bills to a tractor feed printer (LaserMatrix LM2405/LM2406). I am using Red Hat Linux and am programming in COBOL. Prior to sending the file to the printer, a file is sent to the printer with all the commands like paper size, primary and secondary font plus a macro for the PostNet barcode which is changing to the new Imb barcode. I use the "shift-in, shift-out" to toggle between primary and secondary fonts. I am using pcl5 commands to call the macro for the old barcode and this has been working great. The new barcode is causing much greif. The code I am using was designed by someone else (which I have inherited) and I am rather new to pcl5.
The issue is that once the new barcode prints, it won't "turn off". The command I am using for the macro is"^[&f11Y^[&f0X^[(s24782T^[&f1X^[&f10X^O". The command that has been working with the PostNet barcode is:"^[&f11Y^[&f0X^[)15Y^[)s1p12.0v0s0b0T^[&f1X^[&f10X^O". If I change the left parenthesis on the first command to a right parenthesis the printing is correct on the entire document except the Imb barcode does not print. The Imb barcode font is on an print-jet that is attached on the network cable - don't know if this has anything to do with my issue.
Any suggestions would be greatly appreciated.
The issue is that once the new barcode prints, it won't "turn off". The command I am using for the macro is"^[&f11Y^[&f0X^[(s24782T^[&f1X^[&f10X^O". The command that has been working with the PostNet barcode is:"^[&f11Y^[&f0X^[)15Y^[)s1p12.0v0s0b0T^[&f1X^[&f10X^O". If I change the left parenthesis on the first command to a right parenthesis the printing is correct on the entire document except the Imb barcode does not print. The Imb barcode font is on an print-jet that is attached on the network cable - don't know if this has anything to do with my issue.
Any suggestions would be greatly appreciated.