Re: [PHP] pdflib greek problem

2009-03-27 Thread Michael A. Peters
Thodoris wrote: Hi, I am trying the following code to generate a pdf: try { // Create a new pdf handler $pdf = new PDFlib(); // open new PDF file if ($pdf->begin_document("", "") == 0) { die("Error: " . $p->get_errmsg()); } // Set so

Re: [PHP] PDFlib problem

2006-12-27 Thread Jochem Maas
Rosen wrote: > Hi, > I have problem with PDFlib on Windows 2000, PHP 5.2.0 and Apache 2.2.3 > > When I try to execute: > > $p = new PDFlib(); > > in the Apache log I receive: > PDFlib exception (fatal): [1202] PDF_set_parameter: Unknown key 'objorient' > [.] [notice] Parent: child process ex

RE: [PHP] PDFlib problem

2006-12-27 Thread Peter Lauri
Try this one: http://pecl.php.net/bugs/bug.php?id=9491&edit=1 /Peter www.dwsasia.com - company web site www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free -Original Message- From: Rosen [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 27, 2006 2:58 PM To:

Re: [PHP] pdflib - change text color mid-sentence

2006-10-17 Thread Richard Lynch
On Tue, October 17, 2006 9:50 am, [EMAIL PROTECTED] wrote: > I want to change the text color of a word mid-sentence when outputting > text to a pdf file. > > I've looked at pdf_show_boxed and pdf_show_xy, but I dont think either > would actually work the way I need, and I'm hoping their is an easie

RE: [PHP] PDFLib or some free solution?

2006-03-21 Thread Brady Mitchell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 21, 2006 7:27 AM > To: Pure Web Solution > Cc: [EMAIL PROTECTED]; php-general@lists.php.net > Subject: Re: [PHP] PDFLib or some free solution? > > As I said in prev

Re: [PHP] PDFLib or some free solution?

2006-03-21 Thread Pure Web Solution
Results may well vary Depending on the complexity of the html pages, but have you tried using the example script 'HTML Conversion'? you could modify this/expand it to fit your needs. worth a try i would of thought. Pure Web Solution http://www.purewebsolution.co.uk PHP, MYSQL, Web Design & Web S

Re: [PHP] PDFLib or some free solution?

2006-03-21 Thread afan
As I said in prev post, there is a problem with converting HTML to PDF: FAQ 19. Can I convert an HTML page to PDF with FPDF? Not real-world pages. But a GPL C utility does exist, htmldoc, which allows to do it and gives good results: http://www.htmldoc.org Does it has anything with building flye

Re: [PHP] PDFLib or some free solution?

2006-03-21 Thread Pure Web Solution
Hi I have used fpdf quite a lot (http://www.fpdf.org) and have been really impressed with its performance. There are plenty of example scripts on their website and i think you can use it comercially for free although you will have to check that one out. Regards Pure Web Solution http://www.pure

RE: [PHP] PDFLIB error 2516

2004-11-05 Thread Jack . van . Zanen
Thx That was it. Anybody have any ideas as to why this behaviour changed?? Regards Jack -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent: Friday, November 05, 2004 12:46 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] PDFLIB error 2516 Hi

Re: [PHP] PDFLIB error 2516

2004-11-05 Thread Tom Rogers
Hi, Friday, November 5, 2004, 8:18:16 PM, you wrote: JvZnc> Hi All, JvZnc> I upgraded my test system to 4.3.9 (from 4.3.4) and now run into problems JvZnc> with pdf creation. Scripts that ran fine before now return the following JvZnc> error: JvZnc> Fatal error: PDFlib error: [2516] PDF_findfont:

Re: [PHP] pdflib tables

2004-11-03 Thread Jason Wong
On Thursday 04 November 2004 01:39, blackwater dev wrote: > Is there anyone who is using pdflib +php and formatting your data to > the pdf via tables? I don't. But if you're having trouble you may find google > php pdf class useful. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Op

Re: [PHP] PDFlib 6 and PHP 4.3.8/9

2004-10-21 Thread Tom Rogers
Hi, Friday, October 22, 2004, 7:44:37 AM, you wrote: BPC> Hi Everyone, BPC> I am hoping someone out there may be able to help... BPC> I have recently installed PDFlib 6 and am running PHP 4.3.8. I am having BPC> trouble with the pdf_open_file() function. I would like to create a PDF BPC> to me

Re: [PHP] PDFLib pdf_get_pdi_value

2004-05-18 Thread Matt Matijevich
I figured out what was wrong. If you are interested in my solution here it is: I did some searching in the PDFLIB documentation and I needed to set this at the top of my script to show some errors pdf_set_parameter($pdf, 'pdiwarning', 'true'); then, to fix the problem I needed to add this parame

Re: [PHP] pdflib alternatives

2004-02-17 Thread Fernando M. Maresca
> > Is there are any alternatives to the pdflib for on the fly generation of > > printable documents? May be a postcript lib? > > http://www.fpdf.org/?lang=en > > -- > Jim Kaufman > Linux Evangelist > public key 0x6D802619 > http://www.linuxforbusiness.net > Thanks Jim, it's what i need. -- F

Re: [PHP] pdflib alternatives

2004-02-16 Thread James Kaufman
On Mon, Feb 16, 2004 at 09:35:10PM -0300, Fernando M. Maresca wrote: > Hello everybody: > Is there are any alternatives to the pdflib for on the fly generation of > printable documents? May be a postcript lib? > I need no fancy things, just speed and minimal formating facilities, > even no graphics

Re: [PHP] PDFlib error 2516

2004-01-16 Thread Jyry Kuukkanen
On Thu, 15 Jan 2004, Mark Wouters wrote: > Hello! > > Tried out this simple script from a tutorial on creating PDF with PHP: > > > $pdf = PDF_new(); > PDF_open_file($pdf, "testpdf.pdf"); > > PDF_set_info($pdf, "Author", "Someone"); > PDF_set_info($pdf, "Title", "PDF creation with PHP");

RE: [PHP] PDFlib not working with explorer based on PHP created file in memory

2003-10-29 Thread Larry Brown
My apologies for waisting anyone's time. I found the posting in the archives that had the correct code to use. -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 3:39 PM To: PHP List Subject: [PHP] PDFlib not working with explorer based on PHP

Re: [PHP] PDFlib Page Dimensions and Word Wrap

2003-10-08 Thread Jason Wong
On Wednesday 08 October 2003 23:34, Roger Spears wrote: > I have read the http://us4.php.net/manual/en/ref.pdf.php and am unable > to find a solution for what I'm trying to do. I've also tried googling > for what I'm trying to do. No luck there either. I've also downloaded > the PDFlib docs but

Re: [PHP] PDFlib Page Dimensions and Word Wrap

2003-10-08 Thread Roger Spears
Tried that. Unless I overlooked something, the PDFlib.com docs were of no help. Thanks, Roger Curt Zirzow wrote: * Thus wrote Roger Spears ([EMAIL PROTECTED]): Hello, I have read the http://us4.php.net/manual/en/ref.pdf.php and am unable to find a solution for what I'm trying to do. I've

Re: [PHP] PDFlib Page Dimensions and Word Wrap

2003-10-08 Thread Curt Zirzow
* Thus wrote Roger Spears ([EMAIL PROTECTED]): > Hello, > > I have read the http://us4.php.net/manual/en/ref.pdf.php and am unable > to find a solution for what I'm trying to do. I've also tried googling > for what I'm trying to do. No luck there either. I've also downloaded > the PDFlib doc

Re: [PHP] PDFlib error help --

2002-08-22 Thread Hank Marquardt
Well an answer, even one I didn't want is better than no answer -- I only thought a band-aid might be around as the code did work at one time ... oh well, I guess I'm going to go learn more about PDFlib than I ever wanted to:( Thanks for the help. On Thu, Aug 22, 2002 at 07:53:13AM -0700, Rasmus

Re: [PHP] PDFlib error help --

2002-08-22 Thread Rasmus Lerdorf
There is no bandaid for this. Your code is simply wrong. You are calling a stroke function without having a path to stroke. You need to fix the code. -Rasmus On Thu, 22 Aug 2002, Hank Marquardt wrote: > I've got an old, inherited codebase (>18months) that generates PDFs -- just > upgraded th

[PHP] FPDF (was Re: [PHP] pdflib)

2002-03-18 Thread Ben Edwards
sorry, should of made it clear I amusing FPDF (http://fpdf.org/) library which looks like it douse the headers for you. Ben At 18:05 18/03/2002, [EMAIL PROTECTED] wrote: >On Mon, 18 Mar 2002, Ben Edwards wrote: > > This looks good, however when I try the examples I get: > > > > %PDF-1.3 3 0 ob

Re: [PHP] pdflib

2002-03-18 Thread mnc
On Mon, 18 Mar 2002, Ben Edwards wrote: > This looks good, however when I try the examples I get: > > %PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream 2.834646 0 0 2.834646 0 841.89 > cm 2 J 0.2 w BT /F1 5.64 Tf ET BT 11 -16.692 Td (Hello World !) Tj ET > endstream endobj 5 0 obj <> endobj 1 0 obj

Re: [PHP] pdflib

2002-03-18 Thread Ben Edwards
This looks good, however when I try the examples I get: %PDF-1.3 3 0 obj <> endobj 4 0 obj <> stream 2.834646 0 0 2.834646 0 841.89 cm 2 J 0.2 w BT /F1 5.64 Tf ET BT 11 -16.692 Td (Hello World !) Tj ET endstream endobj 5 0 obj <> endobj 1 0 obj <> endobj 2 0 obj <<> >> endobj 6 0 obj <> endobj

RE: [PHP] pdflib

2002-03-17 Thread Stephano Mariani
Have you looked into clibpdf? Stephano Mariani > -Original Message- > From: Ben Edwards [mailto:[EMAIL PROTECTED]] > Sent: Sunday, 17 March 2002 8:4 PM > To: [EMAIL PROTECTED] > Subject: [PHP] pdflib > > I have a html report and am looking into using phplib to generate a pdf > instead.

Re: [PHP] pdflib

2002-03-17 Thread mnc
On Sun, 17 Mar 2002, Ben Edwards wrote: > I have a html report and am looking into using phplib to generate a pdf > instead. I have got it installed and started experimenting with it but > ether it is extremely convoluted or I am missing something. How would I > create a simple list report (t

Re: [PHP] PDFLib

2002-03-10 Thread Jason Wong
On Sunday 10 March 2002 16:29, Evan Nemerson wrote: > From http://www.pdflib.com/pdflib/faq.html: > > "This demo stamp appears when one of our binaries distributed by PDFlib > GmbH is used. It can be disabled by purchasing a PDFlib license, and > applying the delivered license key (serial) at runt

Re: [PHP] pdflib

2001-12-29 Thread Brian Clark
* Kunal Jhunjhunwala ([EMAIL PROTECTED]) [Dec 29. 2001 20:39]: > I am using red hat 7.2... Then, what was the problem? IOW, how did you know it didn't work? (Sounds like I'm asking a stupid question, but you didn't say exactly what was happening. :-))) ) [...] > > * Kunal Jhunjhunwala ([EMAI

Re: [PHP] pdflib

2001-12-29 Thread Kunal Jhunjhunwala
I am using red hat 7.2... Regards, Kunal Jhunjhunwala - Original Message - From: "Brian Clark" <[EMAIL PROTECTED]> To: "PHP is not a drug." <[EMAIL PROTECTED]> Sent: Sunday, December 30, 2001 7:00 AM Subject: Re: [PHP] pdflib > * Kunal Jhunjhunwala (

Re: [PHP] pdflib

2001-12-29 Thread Brian Clark
* Kunal Jhunjhunwala ([EMAIL PROTECTED]) [Dec 29. 2001 17:17]: > Has anyone successfully installed it with php 4.0.6 ? I have tried > everything from re-compiling php to compiling pdflib from scratch.. but im > totally lost.. any help would be great.. What OS/distribution? A few months ago I ins

Re: [PHP] PDFLib to generate 2+ page with same content

2001-09-06 Thread Rasmus Lerdorf
> I have used the PDFLib to generate a pdf by myself. I would like to > know how to make a page break and then draw second page which the > content is exactly the first page. > I need to repeat this step 9 times so I can use printer function to > print 9-in-1 page. Why not just put a loop aro

Re: [PHP] pdflib?

2001-09-05 Thread Daniel Andersson
a-ha. that works. wonder why it worked without it? oh well, it works now. thanks a million! / d "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You need a call to pdf_open_file($pdf) before you can start doing > anything. > > -Rasmus > > O

Re: [PHP] pdflib?

2001-09-05 Thread Rasmus Lerdorf
You need a call to pdf_open_file($pdf) before you can start doing anything. -Rasmus On Wed, 5 Sep 2001, Daniel Andersson wrote: > hello > > had everything working and fine. > when i went back to the page today, nothing worked. > > i can (almost) bet my sack on that i haven't changed any code. >

RE: [PHP] pdflib + pdf_findfont

2001-08-29 Thread Matthew Loff
I got the same error message, and couldn't figure out why... In the example for pdf_findfont(), it has: $font = pdf_findfont($pdf, "Times New Roman", "winansi", 1); Try changing your embed parameter to 0... $font = pdf_findfont($pdf, "Times New Roman", "winansi", 0); ... That fixed it for me

Re: [PHP] PDFlib beginners request

2001-07-23 Thread ReDucTor
In the comments on the php.net pages, i found a few, but i gave up on using pdf within php, because you had to pay about a thousand odd dollars just to use the thing, so be prepared to put some cash in to it :D - James "ReDucTor" Mitchell - Original Message - From: By Proxy <[EMAIL PROTEC

Re: [PHP] PDFlib 4.0.0.... any experiences..

2001-04-20 Thread Paul Gardiner
Best regards, - Paul - - Original Message - From: "Taylor, Stewart" <[EMAIL PROTECTED]> To: "'Grimes, Dean'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, April 20, 2001 1:39 PM Subject: RE: [PHP] PDFlib 4.0.0 any experiences.. > Dea

RE: [PHP] PDFlib 4.0.0.... any experiences..

2001-04-20 Thread Taylor, Stewart
al Message- From: Grimes, Dean [mailto:[EMAIL PROTECTED]] Sent: 20 April 2001 13:23 To: 'David Bouw'; [EMAIL PROTECTED] Subject: RE: [PHP] PDFlib 4.0.0 any experiences.. I just sent a post yesterday on how to get this to work. I does work well. Here is the post I sent yesterday: Try

RE: [PHP] PDFlib 4.0.0.... any experiences..

2001-04-20 Thread Grimes, Dean
I just sent a post yesterday on how to get this to work. I does work well. Here is the post I sent yesterday: Try using the new pdflib-4.0.0 It works great. Here is what you have to do: Goto: http://www.pdflib.com/pdflib/download/index.html and download the source for unix. Unzip and unt

Re: [PHP] pdflib: unable to generate on the fly, need to write to file

2001-01-26 Thread Dominic Schanen
On Thu, 25 Jan 2001 18:42:41 -0700 (MST), [EMAIL PROTECTED] wrote: >I don't know, but I'd love to know the answer to this, too. I currently have >to do the same as you: output to file and then direct the browser to the disk- >based file. (Then I have to bother about file cleanup.) I had pdfli

Re: [PHP] pdflib: unable to generate on the fly, need to write to file

2001-01-26 Thread webbie
Quoting Dominic <[EMAIL PROTECTED]>: > > Any reason why I have to write the pdf to disk instead of just sending > it to the browser? Am I missing an output function? Thanks. > I don't know, but I'd love to know the answer to this, too. I currently have to do the same as you: output to file an

Re: [PHP] pdflib: unable to generate on the fly, need to write to file

2001-01-25 Thread Uwe Steinmann
On Wed, Jan 24, 2001 at 11:21:28AM -0600, Dominic wrote: > I have successfully installed pdflib with PHP4.0.4pl1 and all the > necessary components. However, I don't know how to output a generated > pdf to the browser without writing it to disk first and then reading it > in. Below are the example

Re: [PHP] PDFLib and PHP and pdf_open_image_file

2001-01-19 Thread Brian Clark
Hello goood, (gg == "goood goood") [EMAIL PROTECTED] writes: gg> I have an problem with PDFLib and PHP. I'm trying to include gg> images in PDF file using pdf_open_image_file If in my source code gg> is line: gg> $o=pdf_open_image_file($pdf,"gif","pict.gif"); gg> i get the error: Cannot fi

Re: [PHP] PDFLIB 3.0 PHP 4.04

2001-01-15 Thread webbie
Quoting Jani Taskinen <[EMAIL PROTECTED]>: > On Mon, 15 Jan 2001, Cal Evans wrote: > > >But when I ./configure php, I use: > > > >./configure --with-pdflib=/usr/local/lib > > Leave the /lib part out..ie. use --with-pdflib=/usr/local > instead. Furthermore, make sure you use 4.0.4pl1 as 4.0.4 i

RE: [PHP] PDFLIB 3.0 PHP 4.04

2001-01-15 Thread Cal Evans
You sir (or madam), are a god among men! Thanks for the assist. Cal http://www.calevans.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jani Taskinen Sent: Monday, January 15, 2001 3:59 PM To: Cal Evans Cc: [EMAIL PROTECTED] Subject: Re: [PHP

Re: [PHP] PDFLIB 3.0 PHP 4.04

2001-01-15 Thread Jani Taskinen
On Mon, 15 Jan 2001, Cal Evans wrote: >But when I ./configure php, I use: > >./configure --with-pdflib=/usr/local/lib Leave the /lib part out..ie. use --with-pdflib=/usr/local instead. --Jani -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add