|
Ron, What kind of printer are you trying to print to? We print to Xerox and HP laser printers and as long as they are configured to print OCR-A, we control the turning on and off of OCR-A within the program that is creating the output. For instance, one printer we have requires a command string of ESC[11m to set the font to OCR-A and then a command string of ESC[10m to set the font back to the default of Gothic. Now the 400 cannot send an ESC (excape) character, so we have to send the command string in hex after having initiated hex mode within the printer by using a command of &%. The string for ESC[11m would be &%1B5B31316D and the string for ESC[10m would be &%1B5B31306D. This is what we would actually print: Joe Schmoe <==== Prints in regular or default font 15 Snail Street " " " Abilene, Texas 58585 " " " &%1B5B31306D <==== Issues the command to the printer to switch to OCR-A TST OCR-A print <==== This prints in OCR-A font as will everything else until you change the font again. &%1B5B31316D <==== Issues the command to the printer to switch back to Gothic font. Could be more or less difficult or not even possible depending upon the particular printer that you have. Also, depending upon your printer you made need a "controller" box between your printer and your 400. We use I/O brand controller boxes which expand the capabilities of the printers that we have. Hope this helps. Debbie > -----Original Message----- > From: owner-midrange-l@midrange.com > [mailto:owner-midrange-l@midrange.com]On Behalf Of Klein Ron > Sent: Wednesday, June 21, 2000 9:38 AM > To: ''MIDRANGE-L' > Subject: OCR Code pages > > > We are trying to create a print file that will print OCR > characters. How do > we define that character set or code page for those line that are printing > the OCR characters and still be able to print the other > characters normally. > Sorry for being so vague. This is something new for me. > > TIA > Ron > +--- > | This is the Midrange System Mailing List! > | To submit a new message, send your mail to MIDRANGE-L@midrange.com. > | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. > | To unsubscribe from this list send email to > MIDRANGE-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.