On Thu, Apr 08, 2004 at 12:18:42PM +0100, Declan Grady mentioned:
> Also, I'm using a2ps to make ps and then pdfs form ascii files - Is there some
> way to add in a background image (company logo) to the pdf ?
I did an online invoice generator a while ago, using http://www.fpdf.org/
It's really easy...something like;
<?php
define('FPDF_FONTPATH','font/');
require('fpdf.php');
$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','B',16);
$pdf->Cell(40,10,'Hello World!');
$pdf->Output();
?>
Will make up a simple PDF file. Much better than relying on a2ps or the
like.
john
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!