• Subject: Re: Printing a Hex(02)
  • From: "Avi Hecht" <avi_hecht@xxxxxxxxxxx>
  • Date: Wed, 28 Mar 2001 18:11:52 +0200

If your printer can accept a driver then create a driver by duplicating one
via command rtvwscst and the use an init string that inserts a HEX
character.

----- Original Message -----
From: <philbrewer@johnson-tiles.com>
To: <MIDRANGE-L@midrange.com>
Sent: ??? ????? 28 ??? 2001 17:16
Subject: Printing a Hex(02)


>
>
>
> I am trying to print to a Datamax label printer from the AS/400.  This
printer
> requires a special "attention getter" character to be sent to the printer
before
> it will print.
>
> This special character is a <STX> that has the Hex value of '02'.
> My print program contains the following statement to set the hex value :
>
> MOVEL     X'02'         PRTDTA
>
> I've changed the printer file so that it has Replace Unprintable
Characters
> (*NO) .
> My problem is that this doesn't seem to work.  It is as if the control
character
> of Hex(02) is not getting to the printer.  The Printer definitey works,
it's
> been connected to a PC and works ok when a PC print is sent.
> I think that the Hex(02) is getting lost somewhere when the AS/400 sends
the
> report to the printer but I don't understand why.
>
> Can anybody explain this or suggest any solution ?
>
> Thanks
>
> Phil
>
>
> +---
> | 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 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.