:LABEL Helvetica 24 150 0; BuildPDF Rexxweb.dll function
:RECT 50 0 505 29 0



The contents of this file will be turned into a PDF document - Just make sure the script BuildPDF.cmd points to this file.

A few points to note:

     o The Font is set to Courier 12.
     o Page size is 8.5 x 11 inches.
     o A page consists of 60 rows by 70 cols.
     o Any line which exceeds this is automatically wrapped.
     o Existing linebreaks are preserved.
     o Preceeding spaces at the begining of a line are included.

       This allows for text formating using getTextFile as the 
       courier font is monospaced.

:DIVISION
:LINE 150 85 350 85 1
:RECT 150 140 50 20 1
:RECT 250 140 50 20 2
:RECT 350 140 50 20 3
     o Graphics commands can be included. Commands must start at the
       begining of a line and begin with a colon. Remaining data on
       the line will be ignored. All parameters must be supplied.

       :LINE x1 y1 x2 y2 line_size




       :RECT x y width height line_size [color]




:DIVISION
:RECT 150 60 20 20 1 0000FF
:RECT 170 60 20 20 1 00007F
:RECT 190 60 20 20 1 007F00
:RECT 210 60 20 20 1 00FF00
:RECT 230 60 20 20 1 FF0000
:RECT 250 60 20 20 1 FFAA00
:RECT 270 60 20 20 1 FFFF00
:RECT 290 60 20 20 1 7F007F
:RECT 310 60 20 20 1 FFAAFF
:RECT 330 60 20 20 1 000000
:RECT 350 60 20 20 1 505050
:RECT 370 60 20 20 1 7F7F7F
:RECT 390 60 20 20 1 CCCCCC
:RECT 410 60 20 20 1 FFFFFF
:RECT 430 60 20 20 1 7F4B00
       Colour is a RGB value represented in Hexadecimal form similar
       to that used in HTML. Some basic colors are Black = 000000,
       Orange = 007F00, Blue = 0000FF, red = FF0000, green = 00FF00





:DIVISION
:LABEL Helvetica 16 150 45; This is a label using Helvetica size 16.
:LABEL Helvetica 12 150 115; This is page %PAGE. Document Produced on %DATE at %TIME
       :LABEL font fontsize x y; data
       Valid fonts are Courier, Courier-Bold, Helvetica and
       Helvetica-Bold. Fontsize must be an integer greater than zero.



       LABEL data can also contain %PAGE, %DATE and %TIME markers for
       substitution with appropriate values:




     o You can specify a documents title, subject and author.
     o A line begining with :NEWPAGE will start a new page.
     o To help minimise file sizes group any graphical commands at
       the top of each page by command. This ensures minimal overhead
       within the resulting PDF to describe the page.