Hi Alan,

I did a CHCP on my PC and I get 
Active code page: 850 

I have no idea how the printer (a Lexmark T620 P63) is set up. The PC/network 
staff set up the printers for our use. I've taken a look at the properties 
under Control Panel and then Printers but nothing too meaningful at least for 
me. 

I'm not so terribly concerned about my printer but my clients ones. They have a 
whole slew of different type printers.

Anyways, back to my printer. Uppercase A circumflex  (EBCDIC x'62') prints as 
╢ which I think is x'b6', according to the character map, is "Box drawings 
Vertical double and left single". 

So, from what I understand my printer is using Code Page 437 and the CANADIAN 
TCPXLATE has some of the right codes for most of the characters.
Do I take it that the printer should be set for Code Page 1252? But then why 
does the ASCII file with all the French characters print OK on the printer? For 
example that  is x'C2' on my PC, if the PPS command using 00371252 converts 
from EBCDIC x'62' to ASCII x'C2' shouldn't it come out as x'C2'. Is the LPD on 
the printer doing this conversion to Code Page 437?  

I'm going to ask the client to print my file on one of their printers using 
both the 00371252 TCPXLBIN and CANADIAN TCPXLBIN to see how it looks to him.

Mike   

-----Original Message-----
From: VM/ESA and z/VM Discussions [mailto:[EMAIL PROTECTED] On Behalf Of Alan 
Altmark
Sent: December 15, 2005 11:29 AM
To: [email protected]
Subject: Re: LPR & French Canadian characters

On Thursday, 12/15/2005 at 09:54 EST, "Horlick, Michael" 
<[EMAIL PROTECTED]> wrote:
> I did the 'convxlat 00371252' and yes, the TCPXLBIN file matches the one 
on 
> TCPMAINT's 592 disk.

Good.  We can quit worrying about that.

> Let's take the case of 1 character , a circumflex (â)
> 
> In the 00371252 TCPXLATE file , at the bottom at x'42' the ASCII is 
x'E2' which 
> is correct , no ?

In Western Windows using native Windows services, â is indeed 0xE2. (You 
can prove this by using the Accessories -> System Tools -> Character Map.)

> In the CANADIAN TCPXLATE file , at the same position the ASCII is x'83'

This is correct for OS/2 (code pages 850 and 858).

> Doing the PPS FRENCH FILE A (TCPXLBIN CANADIAN it prints as â
> Doing the PPS FRENCH FILE A (TCPXLBIN 00371252 it prints as an upper 
gamma ? 
> (according to my Greek colleague)

This tells me that your print server is actually operating using code page 
437, the old IBM PC code page, meaning it isn't using Windows APIs, but 
DOS.  See http://en.wikipedia.org/wiki/Code_page_437.  Perhaps the CHCP 
command could help.  You can confirm this by printing capital circumflex 
a.  It very likely appears as superscript underscore a when you use 
CANADIAN.

OS/2 and DOS both treat 0x83 as â, which was the source of my confusion. 
Are you using the built-in LPD capability of Windows?  Or are you running 
some other program?

If necessary I can create a 00370437 translation table, but it won't be 
until after the start of the new year.

Alan Altmark
z/VM Development
IBM Endicott

Reply via email to