× 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.



We use the ASCII transparent data command ( X'03' ).  Put the above 
code in your RPG output specs and the hex code for the number of 
characters not to translate followed by the PCL escape sequence.  Put 
this anywhere in your RPG output specs where you need to change 
fonts, point size, etc. It is a very effective means for controlling 
an HP laserjet (or any other ASCII printer) from an RPG program.  
This works with Client Access and TCP/IP printing.  A couple of 
resources:

Midrange Computing magazine Feb/95 has a good article on 
the transparent data command and the Client Access technical 
reference manual explains this also.

I will be glad to post an example program for anyone that is 
interested.


On 30 Apr 98 at 2:00, Vernon Hamberg wrote:

> > We do lots of PCL to HP printers. Sending the ESC (x'1B') code causes
> > problems.  You can get around this by creating a WSCST (workstation
> > customization object) with a translation table (:EBCASCTBL) section. You
> > need to select one of the characters to represent your ESC code (we use
> > EBCDIC x'9e' or some such). You put the table after the
> > :ASCCPINFO.—:EASCCPINFO. section.
> >
> > Use RTVWSCST to get the source. You get the same list of manufacturer/model
> > values you get in CRTPRTF. Then insert the table section as stated above.
> > Finally, use CRTWSCST to create a new one. Set mfrmdl in CRT/CHGPRTF to
> > *WSCST and specify your nes WSCST in the WSCST parameter.

======================================================================
Bill Phelps                     Phone: 870-245-5567
Ouachita Baptist University     Fax  : 870-245-5500
Arkadelphia, AR  71998          email: phelpswr@alpha.obu.edu
+---
| 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 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 ...

Follow-Ups:
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.