You can use your favorite HTML editor and web browser to create custom header pages for AIX printing by following a few simple instructions. The instructions can be extended to using a PC word processor to create PostScript pages that can be used as header pages including graphics. This document describes how you can create your own custom header pages.
One key thing to remember is that the AIX pioburst page will look for the percent sign (%) as a key to flags. As a result, any percent signs that are created in the PostScript will have to be converted to %% so that pioburst will turn them back to single %. See the example section.
This document applies to all levels of AIX 3.2.5 and 4.x.
<html> <head>lt;title>Sample HTML header page<title>lt;head> <body bgcolor=#ffffff text=#000000 link=#ff0000 vlink=#a00080> <h2>AIX Printing with Custom Header Pages<h2> <p> <IMG SRC="/images/wizard.gif" ALIGN=left alt="AIX"> <H1>%s %S<H1> <br> %t %T <br> %q %Q <br> %p %P <br> %h %H <br> %l %L <br> ****************************************************************************** <br> %a %A<br> ****************************************************************************** <body> |
This is the postscript before you edit it.
%!PS-Adobe-3.0 %%BoundingBox: 54 72 558 720 %%Creator: Mozilla (NetScape) HTML->PS %%DocumentData: Clean7Bit %%Orientation: Portrait %%Pages: 1 ... (AIX Printing with Custom Header Pages) show 54.6 663.5 moveto 24 f1 (%s %S) show 0 621 moveto 12 f0 (%t %T ) show 0 607.7 moveto 12 f0 (%q %Q ) show ... |
This is the postscript after you edit it.
%%!PS-Adobe-3.0 %%%%BoundingBox: 54 72 558 720 %%%%Creator: Mozilla (NetScape) HTML->PS %%%%DocumentData: Clean7Bit %%%%Orientation: Portrait %%%%Pages: 1 ... (AIX Printing with Custom Header Pages) show 54.6 663.5 moveto 24 f1 (%s %S) show 0 621 moveto 12 f0 (%t %T ) show 0 607.7 moveto 12 f0 (%q %Q ) show ... |