ITEM: BC9289L

How to print user name large on header page



Question:

   Env: AIX 3.2.5
        RS 6000 model 340
        HP laserjet 3si

   Desc: How to print user name large on header page.

To print the user name in large characters on a PCl printer
one can edit the header page
cp H.ascii H.myasc  in /usr/lib/lpd/pio/burst
Change virprt sh attribute to point at H.myasc

Edit H.myasc to contain PCL sequence for large print:

\^[(s4148t1p150V
%S
\^[(s3t0p10H

\^[ is an escape character created in vi with ctrl-v Esc
The PCL commands are concatinated to one PCL commands, but are:
ESC ( s \# T   -  Select the font by font ID \#=4148 is Univers font
ESC ( s 1 P   -  Select proportional spaceing  0 P  selects fixed spacing
ESC ( s 150 V - Sets the Point size (proportional spacing) to 150
Concatinated PCL commands simply use a small letter for the T and P
so that we don't have to repeat the ESC ( s for each command.

The bottom PCL commands selects font 3 (courier) '0p' selects fixed font,
and '10H' selects a pitch of 10 (default for the burst page).

To print the user name in large print on a post script printer, one 
can edit the /usr/lib/lpd/pio/burst/H.ps file to contain the following:

 /Courier findfont 24 scalefont setfont
 (%h %H ) wrap_lines
 crlf
 (%s %S ) wrap_lines
 crlf
  /Courier findfont 12 scalefont setfont

The key in changing the postscript font is the number before
scalefont.  The larger the number the larger the font.


Support Line: How to print user name large on header page ITEM: BC9289L
Dated: December 1995 Category: N/A
This HTML file was generated 99/06/24~13:30:23
Comments or suggestions? Contact us