× 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 French Language characters
  • From: Paul Tykodi <pault@xxxxxxxxx>
  • Date: Tue, 22 Jul 1997 19:05:56 -0400

WFears wrote:

I'm new to the list again, and would like to thank everyone that is active
in contributing information, when I first started programming for a
living(not for just for fun anymore), this list was useful in learning what
people were doing and their  Ideas.

help,  I have an RPG program that is using a externally described print
file, and I'm  Sending the print file a print line that contains Escape
Commands to control fonts, bolding, shading. This is working great,  my
problem is I'm trying to print French characters on an Invoice  and they
are not showing up on the print out.  When you look at the spooled file
they are visible and when the printer is set to print the file in Hex the
Characters are there.  The print file is created with  Replace Unprintable
characters =  *no, if  I change this to  Replace Unprintable characters =
*Yes, then the French characters print out but then my Escape command line does 
not work and also prints out on the Invoice.        Thanks for your
help

One of the nice things about the IBM Midrange computer family of products is 
that they are capable of passing ASCII data from themselves to a PC or PC 
printer via the ASCII transparency command. The command syntax is 03 nn "ASCII 
Data" where nn is the count byte which describes how much ASCII data will 
follow. As an example, if you wanted to send the HP PCL command for landscape 
orientation using this method, it would be 03 05 1B 26 6C 31 4F in your program.

If you were to use this facility to send your special printer Escape commands, 
you would be able to change the Replace Unprintable Characters parameter to 
*YES and print your French characters too. The reason you can do this is that 
the 03 command has told the AS/400 operating system that your Escape commands 
are in an ASCII format and therefore cannot be interpreted or viewed by the 
operating system. The operating system just moves the ASCII data to the target 
device without performing any error checking on the actual data itself.

Please let me know if you need further information about this IBM Midrange 
feature.

/Paul
--
Paul Tykodi, Technical Director                 E-mail: pault@praim.com
Praim Inc.                                           Tel: 603-431-0606
140 Congress St., #2                                Fax: 603-436-6432
Portsmouth, NH  03801-4019
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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 ...


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.