× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Printing a Hex(02)
  • From: "Mark Villa" <markvilla@xxxxxxxxxxx>
  • Date: Wed, 28 Mar 2001 11:24:27 -0500
  • Importance: Normal

Phil,
First, are you using twinax? TCP? I ask because it's tricky with client
access...

Anyway try this & let us know....

opcode/result/length
BITOF'01234567' STX     1
BITON'6'        STX
Now just put STX in your output spec where needed.

Your text :I am trying to print to a Datamax label printer from
Your text :the AS/400.  This printer
Your text :requires a special "attention getter" character to
Your text :be sent to the printer before
Your text :it will print.
Your text :
Your text :This special character is a <STX> that has the Hex
Your text :value of '02'.
Your text :My print program contains the following statement to
Your text :set the hex value :
Your text :
Your text :MOVEL     X'02'         PRTDTA


Mark In Charleston

+---
| 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 thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.