LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Watch for new files ?

[ILUG] Watch for new files ?

John P. Looney valen at tuatha.org
Thu Apr 8 14:06:54 IST 2004


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



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell