Subject: | |
From: | |
Reply To: | |
Date: | Mon, 19 Jan 2015 21:25:19 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
This is being done on an HP3000 in Cobol.
I'm making a change to a report that prints in PCL5. The field that was changed was already getting bolded
and that works fine. On a programming change from our customer, I am seeing fields like AQ004~ and B7003~.
In the existing program where I am trying to print this data, I am getting things like AQ004u and B7003u where
that "u" has two dots above it. International, in other words. Looks like u umlaut in German. Obviously, the
"~" symbol is some sort of PCL control character, but so far, I haven't been able to find the secret to making
just the "~" appear or even when or why I would specify the "~" character as a control character. It would
be nice if it was as simple as printing ~~ to make the ~ appear.
I'm actually taking three fields and the hyphens and putting them together like so...the field with the ~ on the end is the 2nd field:
INITIALIZE PCL-15-BLOCK-STK-SEQ
STRING PB-EDI-BLOCK DELIMITED BY SPACES
"-" DELIMITED BY SIZE
PB-EDI-STACK-ID DELIMITED BY SPACES
"-" DELIMITED BY SIZE
PB-EDI-STACK-SEQ DELIMITED BY SPACES
INTO PCL-15-BLOCK-STK-SEQ
So I actually ended up with "005-AQ004u-002" on one line (u is u umlaut)
Tom Hula
Victor Barnes Company
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|