Hi  David

I have made my program in the lines of the command line demo, using TPdfDoc class. Getting a decent pdf file.

I use  Canvas.TextOut(YPos,XPos,format('%15.2n',[Price]))  extensively.

But the in the output pdf file, the price is not getting right aligned. Plz help me with it.


Also is there a way to add an Image into the Canvas of TPdfDoc? Now my boss wants the company logo at the top.

regards

Nataraj



Darius Blaszijk wrote:

Have you tried compiling the fontdemo? AFAIR it compiles under Linux too.

Darius


----- Original Message ----- From: "Nataraj S Narayan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[email protected]>
Sent: Tuesday, October 24, 2006 9:22 AM
Subject: Re: [lazarus] PDF functions in Lazarus


Hi David

I have installed PowerPDF. Where to get some examples in Linux? The ones with the package seem to be windows based. I am in a bit of hurry for the getting the Payslip program up for school. I did the work early in Delphi with output in RTF file. But my boss insists to take on pdf.

I have removed  my Delphi machine.

regards

Nataraj



[EMAIL PROTECTED] wrote:


Hi Nataraj,

I'm using PowerPDF in Delphi. It's an open-source library from Tory.net.

Whilst I haven't tried using it under Lazarus yet, I should think it might work as it isn't so fancy but does the basics quite well.

Regards

David

Quoting Nataraj S Narayan <[EMAIL PROTECTED]>:

Hi

I need to create pdf files from my lazarus program. Plz suggest some
ways to use any pdf libraries. Presently, i am doing using PHP fpdf
libraries.

Otherwise, is there any way to connect lazarus and Php to use pdf libs?

regards

Nataraj









_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives



begin:vcard
fn:http://www.gsis.ac.in
n:S Narayan;Nataraj
org:Good Shepherd International School;Software
adr:Niligiris, ;;M.Palada;Ootacamund;TN;643004;INDIA
email;internet:[EMAIL PROTECTED]
title:Project Coordinator
tel;work:0423 2550371 - 307
x-mozilla-html:TRUE
url:http://www.gsis.ac.in
version:2.1
end:vcard

Reply via email to