stringwidth setlinewidth newpath stack colorimage widthshow moveto showpage

get free demo
 release 1.1
download   A simple and fast way from UNIX to PDF
    current release 1.1
ixipage

Examples
This exemple shows a simple page looking like an email sent from a financial administration to a customer.
We use 2 images : for the logo and for the signature.
We define a header and a footer by surrounding header and footer text with sticky markers @BST and @EST.
We use paragraph marker @P for define paragraphs.
We use font marker @F to define font family, font size, font weight.
We use table marker @T to define table, each column is separated with a pipe character: | .
We run ixipage with a parameter file, and we transform the Postcript result into PDF with unix command ps2pdf.

   markers       text       comments



@BST Begin a sticky text
@IMG(20,10,logo.bmp) Image "logo.bmp" near page top

@F(RGB=777) Set color light grey
@LH(770,50,500,4) Horizontal line near page bottom, thickness 4 pixels
@P(50,770,P) Paragraph at 50,770, wide like the page
@F(times,N,=12,NORGB) Bank Ixibank of America Corporation. All rights reserved. page @PAGE
@EST End the sticky text


@F(times,=12) Define font "Times" with size 12
@P(20,80,300)
@F(=16) Bank Ixibank @F(=12)
777 New-York
Tel : 000.111.222

@P(340,30,300)
Houston, Monday 22 april 2000
@P(50,160,500)
Dear Sir

The purpose of this communication is to confirm the terms and conditions entered into on the Trade Date specified below (ref: @F(B) REF000111 @F(N) ) between our company and our correspondant.
@F(B,COL2) Define font weight Bold for column 2 of next table
@F(times,N) Define font "Times" with Normal weight for text

@T(180,280,400,AR2,VB,HB) Table with 2 columns, col #2 is Right Aligned, horizontal and vertical borders
Trade date | 22 April 2000 |
each line is a table row, columns are separated by character | Our reference | REF000111 |
Your account | 12345 |
Our account | 22222 |
Amount sold | 1010000 $ |
Amount bought | 1000000 $ |
rate | 1.0 |
@ET
Marker END TABLE, necessary
@P(620,550,P) @F(N,+)

Best regards
@IMG(350,,sign.bmp)
@P(350,,)
@F(=12)
Mr SMITH John
Head of Back-Office
@P(20,600,280,WB1)
@F(=10,I)
See how we're supporting small businesses, helping customers in financial need and giving to local communities through our lending and investing programs.
Contact us at (000)111.222.333
@NP Force a new page
@P(100,100,)
@CT @F(B,=18)
Transaction historic @F(N,=12) Center the line


@T(180,280,400,AR2,VB,HB)
Trade date | 01 January 1990 |
Our reference | REF000001 |
Your account | 12345 |
Our account | 22222 |
Amount sold | 1010000 $ |
Amount bought | 1000000 $ |
rate | 1.0 |
Trade date | 01 February 1990 |
Our reference | REF000002 |
Your account | 12345 |
Our account | 22222 |
Amount sold | 1010000 $ |
Amount bought | 1000000 $ |
rate | 1.0 |
@ET


  Result file :