Printer Command Language(PCL) with Progress

vinay_sh

New Member
Per HP PCL, the command for 'Condensed Italic' is Ec(s5S (s) - the Ec being the escape character for the s/w being used. The decimal value for this command is '027 040 115 053 083 (115)' and the hex is '1B 28 73 35 53 (73).
How can this be used with progress to show part of a report in a file- say the heading 'Cust Num' -in a condensed italic format?

TIA
 

Chris Kelleher

Administrator
Staff member
You could use the PUT statement to do this. For example:

<BLOCKQUOTE><font size="1" face="Arial, Verdana">code:</font><HR><pre>
FOR EACH customer NO-LOCK:
PUT CONTROL CHR(27) + CHR(40 + CHR(115) + CHR(53) + CHR(83) + CHR(115).
PUT customer.name.
PUT CONTROL /* command to turn off italics */
PUT customer.contact customer.phone SKIP.
END.
[/code]
 

rob bradford

New Member
I have the bulk of a utility program (Progress v7 Chui) that may help.

I would attach it to this e-mail if i could work out how to do so, if interested i'LL E-MAIL IT.
 
Top