Welcome to the most active Linux Forum on the web.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 02-03-2003, 01:28 PM   #1
Senior Member
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
perl reading pdf,ps,txt

i have a question i dont know where to post. but it's related to a perl programm i'm writing and so here it is:
i'm making a gateway that reads out some pop3 servers and converts the emails to fax. the program converts everything in the mail that can be converted to either pdf, postscript or text. but i need to find out how many pages the fax will consist of if the paper size is set to DIN A4 (a little bit bigger than american business letter). all i found yet is a program for windows that reads out the length of postscript files.but nothing for linux.
so i guess i need to find out how these formats work myself and try write it in perl or c. has anybody heard of sth that might help me? would be great if u let me know.
thanks a lot!
cheers, jens

..btw found sth interesting regarding to pdf (PDF-API2) at guess this might solve the first problem but the postscript concern remains...

Last edited by j-ray; 02-03-2003 at 02:02 PM.
Old 02-04-2003, 10:49 AM   #2
LQ Newbie
Registered: Nov 2002
Location: Zemun, Serbia
Distribution: DEBIAN
Posts: 18

Rep: Reputation: -2
well cpan has solutions for both pdf and postscript. I guess you should dig some more on cpan.


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
Reading from a txt file into a two dimension array in C kponenation Programming 3 11-26-2005 07:04 PM
Reading a txt file in terminal over a network mdlister Programming 5 03-14-2005 07:47 AM
reading PDF files vineet Linux - Newbie 5 06-26-2004 12:10 PM
Perl Script Reading a txt file and generate html to be published! kofi Linux - Software 1 09-22-2003 05:12 PM
Convertible... Converts.... No Wait - I know! Conversion Utilites (TXT/PDF) Nimoy Linux - Software 4 08-30-2003 01:41 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:09 PM.

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