Summary: Many users have GENICOM matrix printers attached to an IBM host with a coax or twinax interface. A large number of these use proprietary commands to control the font, page size or print barcodes. Users who switch from coax/twinax to an Ethernet connection will have to recode these command strings.
Menu >> Setup >> Select Filter >> [Serial | Parallel | Expansion 1 | Expansion 2] >> HexPass
GENICOM DCF commands typically look like:
&%1B&%5B4;5;1;2;6;2;6;;;1&%7D
&%1B&%5B3&%74
&%1B&%5B0&%74
Any pair of characters preceded by &% is a hex pass-through code. Thus, &%1B represents a hexadecimal 1B passed through the interface. In this example, 1B is the ASCII Escape code. This methodology is required because the GENICOM ANSI command set uses ASCII characters not found in th IBM EBCDIC character set.
This hex pass-through sequence is interpreted only by the GENICOM coax/twinax interfaces. When switching to a Ethernet connection, these commands no longer pass through the coax/twinax interface. As a result, the command string is not interpreted, but is printed.
In th examples above, the first string defines a barcode, the second string enables the barcode, the third string terminates the barcode.
In most instances, these commands were simply embedded into the document. When converting, ASCII Transparency mode must be used in the application. Refer to IBM Technical Document 8060018, Using the ASCII Transparency (ATRN) SCS Control to Pass ASCII Data to a Printer for complete details.
Thus, the DCF string &%1B&%5B would be passed in ASCII Transparency as X'03 02 1B 5B. &%7D would be passed as X'03 01 7D.
Copyright © 2005 TallyGenicom
Specifications subject to change without notice.
® All trademarks are property of their respective holders at the time of this publication.
If you have any questions or comments regarding this document, please contact TallyGenicom Technical Support.
TallyGenicom has taken care to ensure that the information is complete, accurate and up-to-date. However, TallyGenicom assumes no responsibility for errors or omissions which may occur. All the information provided is subject to change from time to time at the sole discretion of TallyGenicom. This information is provided "as is" without warranty of any kind. TallyGenicom disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall GENICOM, or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if GENICOM, or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply.