× 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: Sending printer control codes
  • From: Lou Schmaus <lschmaus@xxxxxxxx>
  • Date: Tue, 03 Jun 1997 18:46:23 -0400
  • Organization: @Home Network

Matthias Oertli wrote:
> 
> I'm trying to send some control codes to a Lexmark 4226 dot
> matrix printer, eg. ESC W1 to set double width or ESC W0 to
> cancel it again.
> The problem is the ESC character (1Bh). 
>>


Matthias,

How are you connecting the printer to the AS/400? If I remember
correctly, the 4226 has a parallel/serial interface, so I assume you
are  either attaching it to a twinax terminal or using some kind of
twinax emulation box.  Both of these methods require setting up a
"printer pass-thru" character, many times the ESC or && of %%
characters, which tells the terminal or emulation board to send the
following characters directly through to the printer without trying to
interpret them. Many twinax boards which privide IPDS or barcode fonts
can also use the ESC character for their own built-in functions, and
that may be the cause of the problem.


Hope this helps,



Lou Schmaus
Creative Computer Associates, Inc.
Parlin, NJ 08859
lschmaus@home.com
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  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.