LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-24-2005, 01:09 AM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Rep: Reputation: 30
Programmatically generating PDF files ??


Is there a way to programmaticallly generate PDF files? Is any such thing as
as an API available for that?

Thanks in advance for any info.
Concoran

Last edited by concoran; 09-24-2005 at 04:15 AM.
 
Old 09-24-2005, 01:27 AM   #2
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
What do you mean by programmatically?
 
Old 09-24-2005, 03:28 AM   #3
wilmo2
LQ Newbie
 
Registered: Sep 2005
Distribution: Debian,Redhat,Gentoo,Suse,Slackware
Posts: 3

Rep: Reputation: 0
I did something like this in the past. It went something like this.
Create Document as HTML. Use html2ps, which is a perl script, to convert HTML to postscript.
Then use ps2pdf to convert the postscript file to pdf.

There may be a more straight-forward solution... but this worked.
 
Old 09-24-2005, 03:56 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,785

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Is any such thing as as an API available for that?
There are certainly plenty of them, in what programming language are you looking for one ?
 
Old 09-24-2005, 04:04 AM   #5
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Original Poster
Rep: Reputation: 30
Thanks.
Quote:
Originally posted by aysiu
What do you mean by programmatically?
It means, you write a program that does some processing and generate a document, it either stores it at a predetermined location or presents to the user. My question is not Linux specific, since PDF isn't.

Quote:
Originally posted by jlliagre
There are certainly plenty of them, in what programming language are you looking for one ?
C, preferably.

Last edited by concoran; 09-24-2005 at 04:14 AM.
 
Old 09-24-2005, 04:29 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,785

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
That one for example, google will show you a bunch more.
http://www.fastio.com/
 
Old 09-25-2005, 12:26 AM   #7
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Original Poster
Rep: Reputation: 30
Thanks jlliagre, That is a helpful link.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
pdf files sharapchi Linux - Newbie 3 05-19-2005 08:55 AM
pdf files dari jones Linux - Newbie 1 03-12-2005 11:20 PM
Bind tool for automatically generating reverse zone files p0rt Linux - General 0 01-07-2005 05:33 AM
How do I unpack pdf.pdf files corbis_demon Linux - General 5 10-29-2004 10:12 PM
Printing PDF-like files Micro420 Linux - Software 7 11-01-2003 06:53 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration