Re: Creating PDF file from text

2015-05-15 Thread Francisco Valladolid H.
I'm watching Template::Latex also. Regards On Fri, May 15, 2015 at 2:00 PM, Francisco Valladolid H. fic...@gmail.com wrote: Thank you, I'm reviewing. On Fri, May 15, 2015 at 12:58 AM, Raj Barath barat...@live.com wrote: You can use PDF create module from cpan. http://search.cpan.org

Re: Creating PDF file from text

2015-05-15 Thread Francisco Valladolid H.
Thank you, I'm reviewing. On Fri, May 15, 2015 at 12:58 AM, Raj Barath barat...@live.com wrote: You can use PDF create module from cpan. http://search.cpan.org/~szabgab/PDF-Create-1.10/lib/PDF/Create.pm -Raj On May 15, 2015 2:26 AM, Francisco Valladolid H. fic...@gmail.com wrote: Hi

Re: Creating PDF file from text

2015-05-15 Thread Raj Barath
You can use PDF create module from cpan. http://search.cpan.org/~szabgab/PDF-Create-1.10/lib/PDF/Create.pm -Raj On May 15, 2015 2:26 AM, Francisco Valladolid H. fic...@gmail.com wrote: Hi Folks. I have a script in Perl that read a CVS file with several fields, it extract only user

Creating PDF file from text

2015-05-14 Thread Francisco Valladolid H.
Hi Folks. I have a script in Perl that read a CVS file with several fields, it extract only user and password field and put in another txt file formatted with additional information for my particular purposes. My question is, I need generate a PDF file directly from the script for printing

MySQL, Perl, and LaTeX: Trying to loop through results by DAY (as a LaTeX section) for custom PDF report

2013-09-15 Thread J M
http://stackoverflow.com/questions/18809731/mysql-perl-and-latex-trying-to-loop-through-results-by-day-as-a-latex-sectio# I have written a Perl script (shown below) to loop through my MySQL database and then output a .tex file, as a sort of programmed custom report. As it stands, it works rather

Re: MySQL, Perl, and LaTeX: Trying to loop through results by DAY (as a LaTeX section) for custom PDF report

2013-09-15 Thread J M
Nevermind, I was thinking too hard... this was actually quite trivial. Here's what I added to the code: my $row;my $date = ''; # set the `logbook` variableswhile ($row = $sth-fetchrow_hashref()) {my $id = $row-{id};my $date_added = DateTime::Format::MySQL-parse_timestamp($row-{date_added});my

writing a value from a variable in PDF::API2

2012-08-27 Thread Eko Budiharto
dear members, I wrote a perl script to write a pdf file. I am stuck in writing a value from a variable. Please help. thanks in advance. Here is my script: #!/usr/local/bin/perl use CGI qw(:standard); use strict; use PDF::API2; my $endDate2 = $time{'dd-mm-', time + 86400 * 14}; my

Re: writing a value from a variable in PDF::API2

2012-08-27 Thread Shawn H Corey
On Mon, 27 Aug 2012 17:18:10 +0700 Eko Budiharto eko.budiha...@gmail.com wrote: my $endDate2 = $time{'dd-mm-', time + 86400 * 14}; my $startDate2 = $time{'dd-mm-', time - 86400 * 0}; Where is the hash %time assigned its values? -- Just my 0.0002 million dollars worth, Shawn

Re: writing a value from a variable in PDF::API2

2012-08-27 Thread Shlomi Fish
On Mon, 27 Aug 2012 08:11:12 -0400 Shawn H Corey shawnhco...@gmail.com wrote: On Mon, 27 Aug 2012 17:18:10 +0700 Eko Budiharto eko.budiha...@gmail.com wrote: my $endDate2 = $time{'dd-mm-', time + 86400 * 14}; my $startDate2 = $time{'dd-mm-', time - 86400 * 0}; Where is the hash

suggestion for converting perl data to pdf

2012-05-31 Thread jbiskofski
and other such documentation. Until now we have been solving this problem with the super-awesome Template-Toolkit and then converting it to PDF with wkhtmltopdf. This works fine but the problem is that we know have two full time employees writing TT templates all day. Each time a new customer signs up we

Re: suggestion for converting perl data to pdf

2012-05-31 Thread Shawn H Corey
On 12-05-31 07:31 PM, jbiskofski wrote: I appreciate any input suggestions, thanks for reading. http://scribus.net/canvas/Scribus -- Just my 0.0002 million dollars worth, Shawn Programming is as much about organization and communication as it is about coding. _Perl links_

PDF::Table

2012-02-22 Thread washide
I look for metod or variable which can give me information about position of the bottom corner of the table. I want to put text after table object in PDF. Rows in Table are creataind in dynamic way so i do not konw how many i will have. -- washide -- To unsubscribe, e-mail: beginners-unsubscr

Re: PDF::Table

2012-02-22 Thread washide
On 22 Lut, 08:57, artur.ad...@gmail.com (washide) wrote: I look for metod or variable which can give me information about position of the bottom corner of the table. I want to put text after table object in PDF. Rows in Table are creataind in dynamic way so i do not konw how many i will have

How Do I insert a password into a PDF

2011-11-25 Thread Ramprasad Prasad
I am generating pdf files with http://code.google.com/p/wkhtmltopdf/ I want to password protect the PDF's .. How can I do this ?

encoding and PDF::API2

2011-10-07 Thread marcos rebelo
Hi all I'm trying to get the info from a PDF with a code like: ### ... use Data::Dumper; use PDF::API2; ... my $pdf = PDF::API2-open('/home/.../PDF.pdf'); print Dumper +{ $pdf-info

Re: encoding and PDF::API2

2011-10-07 Thread Igor Dovgiy
Hi Marcos, my %pdf_info = $pdf-info(); foreach (keys $pdf_info) { $pdf_info{$_} =~ s/[^\x00-\xFF]//g; } Perhaps that'll do? ) -- iD 2011/10/7 marcos rebelo ole...@gmail.com Hi all I'm trying to get the info from a PDF with a code like

Re: encoding and PDF::API2

2011-10-07 Thread Brandon McCaig
. Printing this out in Windows' cmd shell seems to yield the same prefix that I see in UTF-8 files with a BOM (byte-order mark). Oddly, your data seems to have two of them, which I can't explain, but I digress. Could you not just remove those two characters with a s///? my $info = $pdf-info

Re: encoding and PDF::API2

2011-10-07 Thread Brian Fraser
On Fri, Oct 7, 2011 at 4:54 AM, marcos rebelo ole...@gmail.com wrote: Hi all I'm trying to get the info from a PDF with a code like: ### ... use Data::Dumper; use PDF::API2; ... my $pdf = PDF::API2-open('/home/.../PDF.pdf'); print

Re: encoding and PDF::API2

2011-10-07 Thread Brian Fraser
On Fri, Oct 7, 2011 at 12:19 PM, Brandon McCaig bamcc...@gmail.com wrote: I know next to nothing about Unicode programming (in any language), but it seems to always be the same prefix. Printing this out in Windows' cmd shell seems to yield the same prefix that I see in UTF-8 files with a BOM

Re: encoding and PDF::API2

2011-10-07 Thread Brian Fraser
On Fri, Oct 7, 2011 at 5:39 AM, Igor Dovgiy ivd.pri...@gmail.com wrote: Hi Marcos, my %pdf_info = $pdf-info(); foreach (keys $pdf_info) { $pdf_info{$_} =~ s/[^\x00-\xFF]//g; } Perhaps that'll do? ) Nope. That'll restrict the text to the latin-1 charset.

Re: encoding and PDF::API2

2011-10-07 Thread John Delacour
At 09:54 +0200 7/10/11, marcos rebelo wrote: Unfortunatly someone has the code: use encoding 'utf8'; and now I get: ### $VAR1 = { 'Subject' = \x{fffd}\x{fffd}my subject, 'CreationDate' = 'D:20111006161347+02\'00\'',

Re:Links to perldoc in pdf

2011-06-28 Thread pangj
Download it with both HTML and PDF files: http://perldoc.perl.org/perldoc.tar.gz Message du 27/06/11 23:42 De : Peng Yu A : Perl Beginners Copie à : Objet : Links to perldoc in pdf Hi, perldoc.perl.org has the perl document in pdf format. But I don't find a webpage that links

Links to perldoc in pdf

2011-06-27 Thread Peng Yu
Hi, perldoc.perl.org has the perl document in pdf format. But I don't find a webpage that links to all the pdfs. I only find webpage that links to htmls. Does anybody know if there is a webpage that has links to all the pdf document? perldoc.perl.org/perlintro.pdf -- Regards, Peng

Re: Convert HTML to PDF

2011-06-16 Thread Dr.Ruud
On 2011-06-15 10:27, Ramprasad Prasad wrote: On 14 June 2011 20:39, Dr.Ruudrvtol+use...@isolution.nl wrote: On 2011-06-14 10:54, Ramprasad Prasad wrote: [...] way of creating PDF from HTML [...] I prefer to use webkit for this: https://code.google.com/p/wkhtmltopdf/ How can I put page

Re: Convert HTML to PDF

2011-06-15 Thread Ramprasad Prasad
On 14 June 2011 20:39, Dr.Ruud rvtol+use...@isolution.nl wrote: On 2011-06-14 10:54, Ramprasad Prasad wrote: I am trying to use PDF::FromHTML on my linux ( Fedora 12 ) machine [...] Is there a better way of creating PDF from HTML .. I believe this particular module is not much supported

Convert HTML to PDF

2011-06-14 Thread Ramprasad Prasad
I am trying to use PDF::FromHTML on my linux ( Fedora 12 ) machine I have just copied the man page example but I cant get it to run --- #!/usr/bin/perl use PDF::FromHTML; my $pdf = PDF::FromHTML-new( encoding = 'utf-8' ); $pdf-load_file('source.html'); $pdf-convert( Font

Re: Convert HTML to PDF

2011-06-14 Thread Dr.Ruud
On 2011-06-14 10:54, Ramprasad Prasad wrote: I am trying to use PDF::FromHTML on my linux ( Fedora 12 ) machine [...] Is there a better way of creating PDF from HTML .. I believe this particular module is not much supported any longer I prefer to use webkit for this: https://code.google.com

Pdf to Excel

2011-04-17 Thread muthukumar swamy
I am trying to convert the tables in pdf to Excel. I am using CAM::Pdf module for reading the text from Pdf. please suggest me anyone for other way for converting PDF to Excel. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org

Re: Pdf to Excel

2011-04-17 Thread shawn wilson
On Sat, Apr 16, 2011 at 10:33 AM, muthukumar swamy cmksw...@gmail.com wrote: I am trying to convert the tables in pdf to Excel. I am using CAM::Pdf module for reading the text from Pdf. please suggest me anyone for other way for converting PDF to Excel. you're going to have to try real hard

Extracting Data from PDF files

2011-03-03 Thread Mike Blezien
Hello, I posted a question earlier about creating a PDF file from a PDF form submission which we now have working. We are able to create the PDF file to be attached to an email. The issue I'm having now is the ability to extract some specific data from these PDF file created. We need

Re: Extracting Data from PDF files

2011-03-03 Thread shawn wilson
On Mar 3, 2011 6:07 AM, Mike Blezien mick...@frontiernet.net wrote: Hello, I posted a question earlier about creating a PDF file from a PDF form submission which we now have working. We are able to create the PDF file to be attached to an email. The issue I'm having now is the ability

Re: Extracting Data from PDF files

2011-03-03 Thread Mike Blezien
- Original Message - From: shawn wilson ag4ve...@gmail.com Cc: Perl List beginners@perl.org Sent: Thursday, March 03, 2011 5:22 AM Subject: Re: Extracting Data from PDF files On Mar 3, 2011 6:07 AM, Mike Blezien mick...@frontiernet.net wrote: Hello, I posted a question earlier

Re: Extracting Data from PDF files

2011-03-03 Thread shawn wilson
On Mar 3, 2011 6:35 AM, Mike Blezien mick...@frontiernet.net wrote: - Original Message - From: shawn wilson ag4ve...@gmail.com Cc: Perl List beginners@perl.org Sent: Thursday, March 03, 2011 5:22 AM Subject: Re: Extracting Data from PDF files On Mar 3, 2011 6:07 AM, Mike Blezien

Re: Extracting Data from PDF files

2011-03-03 Thread Mike Blezien
- Original Message - From: shawn wilson ag4ve...@gmail.com Cc: Perl List beginners@perl.org Sent: Thursday, March 03, 2011 6:04 AM Subject: Re: Extracting Data from PDF files On Mar 3, 2011 6:35 AM, Mike Blezien mick...@frontiernet.net wrote: - Original Message - From: shawn

Re: Extracting Data from PDF files

2011-03-03 Thread Joe
I basically run our pdfs through a pdf 2 txt converter and extract the data from the text files. It is pretty simple. On 3/3/2011 6:21 AM, Mike Blezien wrote: - Original Message - From: shawn wilson ag4ve...@gmail.com Cc: Perl List beginners@perl.org Sent: Thursday, March 03, 2011 6

Creating PDF/FDF files

2011-03-01 Thread Mike Blezien
Hello, I'm working on a small project that will require us to parse data submitted from an Adobe Reader form, i.e questionaires. Then we'll need to generate either a PDF or FDF temp file, attach it to an email, and send it to use. Now parsing the data from the Adobe Form with a Perl script

Re: Creating PDF/FDF files

2011-03-01 Thread Shawn H Corey
On 11-03-01 10:58 AM, Mike Blezien wrote: Hello, I'm working on a small project that will require us to parse data submitted from an Adobe Reader form, i.e questionaires. Then we'll need to generate either a PDF or FDF temp file, attach it to an email, and send it to use. Now parsing

Re: Creating PDF/FDF files

2011-03-01 Thread Dermot
On 1 March 2011 15:58, Mike Blezien mick...@frontiernet.net wrote: Hello, I'm working on a small project that will require us to parse data submitted from an Adobe Reader form, i.e questionaires. Then we'll need to generate either a PDF or FDF temp file, attach it to an email, and send

Re: Creating PDF/FDF files

2011-03-01 Thread David Christensen
On 03/01/2011 07:58 AM, Mike Blezien wrote: I'm working on a small project that will require us to parse data submitted from an Adobe Reader form, i.e questionaires. Then we'll need to generate either a PDF or FDF temp file, attach it to an email, and send it to use. Now parsing the data from

Re: Creating PDF/FDF files

2011-03-01 Thread Mike Blezien
- Original Message - From: David Christensen dpchr...@holgerdanske.com To: beginners@perl.org Sent: Tuesday, March 01, 2011 11:53 AM Subject: Re: Creating PDF/FDF files On 03/01/2011 07:58 AM, Mike Blezien wrote: I'm working on a small project that will require us to parse data

Re: Creating PDF/FDF files

2011-03-01 Thread Mike Blezien
- Original Message - From: Shawn H Corey shawnhco...@gmail.com To: beginners@perl.org Sent: Tuesday, March 01, 2011 10:09 AM Subject: Re: Creating PDF/FDF files On 11-03-01 10:58 AM, Mike Blezien wrote: Hello, I'm working on a small project that will require us to parse data

Re: Creating PDF/FDF files

2011-03-01 Thread Mike Blezien
is submitting the format that I've specified in the submit button (within the PDF form) ... if that's the case, can't the script read the MIME data, save a temp file based on that MIME data, then attach that temp file to an e-mail address. This is the end results we like to accomplish. Have

pdf to spreadsheet advice

2010-09-06 Thread Matt Johnson
Hello, I periodically receive pdf's with a table of member names, addresses, etc in a badly formated hard to read pdf. I would like to open the pdf, extract the data, do a little re-organizing and write it to an excel spreadsheet. Perl seems like the best way to do this. I have searched CPAN

Re: pdf to spreadsheet advice

2010-09-06 Thread Jim Gibson
At 5:30 PM -0700 9/6/10, Matt Johnson wrote: Hello, I periodically receive pdf's with a table of member names, addresses, etc in a badly formated hard to read pdf. I would like to open the pdf, extract the data, do a little re-organizing and write it to an excel spreadsheet. Perl seems like

Perl modules to process PDF files

2010-05-03 Thread Parag Kalra
Hi All, I need to process some PDF files to do some complex validation (like checking the colour of icons, position etc). I was wondering if Perl comes with some handy modules to process PDF files? AFAIK even professional tools like QTP are not good with processing PDF files. Cheers, Parag

Getting the text from a PDF file

2010-02-28 Thread Ion Pop
Hello, I would like to extract the whole text from a PDF document. Can you recommend a perl module that can do this under Windows? I searched on cpan.org and I found very many modules, I tested a few of them, but none of them was able to extract the text, which can be seen well with Acrobat

Re: Getting the text from a PDF file

2010-02-28 Thread Dr.Ruud
Ion Pop wrote: I would like to extract the whole text from a PDF document. Can you recommend a perl module that can do this under Windows? I searched on cpan.org and I found very many modules, I tested a few of them, but none of them was able to extract the text, which can be seen well

Re: Getting the text from a PDF file

2010-02-28 Thread Chris Charley
- Original Message - From: Ion Pop ionpop...@gmail.com Newsgroups: perl.beginners To: beginners@perl.org Sent: Sunday, February 28, 2010 7:57 AM Subject: Getting the text from a PDF file Hello, I would like to extract the whole text from a PDF document. Can you recommend a perl

Re: Getting the text from a PDF file

2010-02-28 Thread Ion Pop
From: Dr.Ruud rvtol+use...@isolution.nl I would like to extract the whole text from a PDF document. Can you recommend a perl module that can do this under Windows? I searched on cpan.org and I found very many modules, I tested a few of them, but none of them was able to extract the text

Module CAM::PDF

2010-01-13 Thread Naji, Khalid
Hello, The following Script don't work with all PDF-Files. The generated Error is: Can't call method getRootDict on an undefined value at .../perl5/site_perl/5.8.8/CAM/PDF.pm line 3766 The Script use strict; use CGI; my $cgi = new CGI; use CAM::PDF

Emailing all pdf files in a directory

2009-11-17 Thread Tiffany
Hello, I am not very familiar with Perl, but I am trying to use it to email all files within a directory that have a .pdf extension using the anex command within the Mail::SendEasy module. I have created an array with my filenames using @files = *.pdf; but I am not sure how to translate

Re: Emailing all pdf files in a directory

2009-11-17 Thread Dermot
2009/11/16 Tiffany tiffany.vi...@gmail.com: Hello, Hi, I am not very familiar with Perl, but I am trying to use it to email all files within a directory that have a .pdf extension using the anex command within the Mail::SendEasy module.  I have created an array with my filenames using

Re: Emailing all pdf files in a directory

2009-11-17 Thread Jeff Pang
This module's document is very few. I think you should write with @files = /path/*.pdf to get the full path for pdf files. After that you pass the anex argument when calling the function: my $status = Mail::SendEasy::send( smtp = 'localhost' , ... anex = \...@files

Problem with PDF::API2::Lite module

2009-10-22 Thread ANJAN PURKAYASTHA
Hi All, I wrote a short script to test the PDF::API2::Lite module. I work on a Mac OSX. Here is the script: #! /usr/bin/perl use strict; use warnings; use PDF::API2::Lite; my $pdf= PDF::API2::Lite-new; my $img = $pdf-image_jpeg('/Users/anjan/Desktop/personal/me.jpeg'); $pdf-page($img-width

Re: Problem with PDF::API2::Lite module

2009-10-22 Thread Dermot
2009/10/22 Dermot paik...@googlemail.com: 2009/10/22 ANJAN PURKAYASTHA anjan.purkayas...@gmail.com: Hi All, I wrote a short script to test the PDF::API2::Lite module. I work on a Mac OSX. Here is the script: #! /usr/bin/perl use strict; use warnings; use PDF::API2::Lite; my $pdf= PDF

Re: PDF generation from a database!!

2009-09-01 Thread ficovh
Regards. On Mon, Aug 31, 2009 at 6:14 PM, Dand...@entropy.homelinux.org wrote: On Mon, 31 Aug 2009 18:11:11 -0500, ficovh fic...@gmail.com wrote: Under what license is released  PDF::ReportWriter ? LGPL Can use it on Commercial deployment ? Yes. The license basically requires that if you make

Re: PDF generation from a database!!

2009-09-01 Thread Shlomi Fish
Hi ficovh! On Tuesday 01 September 2009 10:20:43 ficovh wrote: Hi. I have installed the module in my laptop, and have a question. How can generate the xml files ? XML files? In which XML grammar? (XSL-FO, perhaps?) Or do you mean PDFs? Regards, Shlomi Fish --

Re: PDF generation from a database!!

2009-09-01 Thread Dan
On Tue, 2009-09-01 at 02:20 -0500, ficovh wrote: Hi. I have installed the module in my laptop, and have a question. How can generate the xml files ? At the moment, you'll have to write one by hand, or modify one of the examples. I've always planned on writing a GUI builder, but never had

Re: PDF generation from a database!!

2009-09-01 Thread ficovh
Ok, Dan Thank you so much, for the support.! I'm writing code in this days. Best Regards. On Tue, Sep 1, 2009 at 4:37 PM, Dand...@entropy.homelinux.org wrote: On Tue, 2009-09-01 at 02:20 -0500, ficovh wrote: Hi. I have installed the module in my laptop, and have a question. How can

Re: PDF generation from a database!!

2009-09-01 Thread Jeff Pang
?? Dan d...@entropy.homelinux.org? This is exactly what I wrote PDF::ReportWriter for. It supports grouping with headers footers, aggregate functions, intelligent page-breaking ( can't make css do that ), images, lots of text formatting options, PDF templating, XML report definitions, etc

Re: PDF generation from a database!!

2009-08-31 Thread ficovh
Hi I'm watching the HTML::ReportWriter for doing HTML report and later exporting it to PDF, it appear too easy.! Regards. On Sun, Aug 30, 2009 at 7:21 AM, Dr.Ruudrvtol+use...@isolution.nl wrote: ficovh wrote: I need ideas, suggest for generating a report in .pdf  from a data containing

Re: PDF generation from a database!!

2009-08-31 Thread Dan
On Sat, 29 Aug 2009 22:18:10 -0500, ficovh fic...@gmail.com wrote: Hi folks I need ideas, suggest for generating a report in .pdf from a data containing in a MySQL database. Basically, the idea is putting information from many tables in a simple concentrate report. I want tutos, or simple

Re: PDF generation from a database!!

2009-08-31 Thread ficovh
Under what license is released PDF::ReportWriter ? Can use it on Commercial deployment ? You have script on using it ? Thanks for the reply. On Mon, Aug 31, 2009 at 5:34 PM, Dand...@entropy.homelinux.org wrote: On Sat, 29 Aug 2009 22:18:10 -0500, ficovh fic...@gmail.com wrote: Hi folks

Re: PDF generation from a database!!

2009-08-31 Thread ficovh
 PDF::ReportWriter ? LGPL Can use it on Commercial deployment ? Yes. The license basically requires that if you make any changes to PDF::ReportWriter, that you submit those changes back to me - ie standard open-source license. You have script on using it ? Yes. The package has example

Re: PDF generation from a database!!

2009-08-30 Thread Shlomi Fish
On Sunday 30 August 2009 06:18:10 ficovh wrote: Hi folks I need ideas, suggest for generating a report in .pdf from a data containing in a MySQL database. Basically, the idea is putting information from many tables in a simple concentrate report. I want tutos, or simple scripts for doing

Re: PDF generation from a database!!

2009-08-30 Thread Dr.Ruud
ficovh wrote: I need ideas, suggest for generating a report in .pdf from a data containing in a MySQL database. An alternative way: 1. create the report in HTML (including CSS etc.) 2. let webkit create the PDF http://code.google.com/p/wkhtmltopdf/ http://github.com/antialize/wkhtmltopdf

PDF generation from a database!!

2009-08-29 Thread ficovh
Hi folks I need ideas, suggest for generating a report in .pdf from a data containing in a MySQL database. Basically, the idea is putting information from many tables in a simple concentrate report. I want tutos, or simple scripts for doing this task. Thank you for reading this mail. ficovh

Re: PDF generation from a database!!

2009-08-29 Thread pangj
?? ficovh fic...@gmail.com? Hi folks I need ideas, suggest for generating a report in .pdf from a data containing in a MySQL database. Basically, the idea is putting information from many tables in a simple concentrate report. I want tutos, or simple scripts for doing this task. You want

Re: PDF::API2

2008-12-14 Thread Dermot
2008/12/12 ChrisC gjwp...@gmail.com: Hi! Hi, How to underline text using PDF::API2? Currently using following to print text: sub print_pdf_text { my $xp = shift; my $yp = shift; my $fnt = shift; my $Mfnt = shift; my $text = shift; $txt-font( $fnt, $Mfnt

PDF::API2

2008-12-12 Thread ChrisC
Hi! How to underline text using PDF::API2? Currently using following to print text: sub print_pdf_text { my $xp = shift; my $yp = shift; my $fnt = shift; my $Mfnt = shift; my $text = shift; $txt-font( $fnt, $Mfnt); $txt-translate( $xp, $yp -= 12 ); $txt

what was the name of the new perl site which had link to all perl journal published.. in pdf format somebody posted that before here

2008-11-19 Thread Richard Lee
please help.. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: what was the name of the new perl site which had link to all perl journal published.. in pdf format somebody posted that before here

2008-11-19 Thread Chas. Owens
On Wed, Nov 19, 2008 at 22:48, Richard Lee [EMAIL PROTECTED] wrote: please help.. Is this what you are looking for? http://www.perlmonks.org/index.pl?node_id=711609 -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail:

Re: what was the name of the new perl site which had link to all perl journal published.. in pdf format somebody posted that before here

2008-11-19 Thread Richard Lee
Chas. Owens wrote: On Wed, Nov 19, 2008 at 22:48, Richard Lee [EMAIL PROTECTED] wrote: please help.. Is this what you are looking for? http://www.perlmonks.org/index.pl?node_id=711609 exactly!! thank you -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

Re: PDF::API2, error Can't call method val.... when adding a picture to the PDF

2008-07-15 Thread Dermot
; my $sp = shift; $photo-image( $pdf-image_jpeg( $picture ), $xp, $yp, $sp ); } Thanks, Jerry I have had it before with PDF::API2, which I think is a great tool but as you have found a bit poorly documented. Usually this means something isn't initialized, I'd say $photo

PDF::API2, error Can't call method val.... when adding a picture to the PDF

2008-07-14 Thread ChrisC
( $pdf-image_jpeg( $picture ), $xp, $yp, $sp ); } Thanks, Jerry -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Fwd: First time using Perl PDF::API2

2008-05-28 Thread Dermot
2008/5/28 Daniel Kasak [EMAIL PROTECTED]: On Tue, 2008-05-27 at 07:10 -0700, ChrisC wrote: Hi!, Not sure if using PDF::API2 is a good choice or not. Little to no doc. Yeah it's very powerful, and *very* poorly documented. What's worse, one of the best tutorials ( http

Re: First time using Perl PDF::API2

2008-05-27 Thread Daniel Kasak
On Tue, 2008-05-27 at 07:10 -0700, ChrisC wrote: Hi!, Not sure if using PDF::API2 is a good choice or not. Little to no doc. Yeah it's very powerful, and *very* poorly documented. What's worse, one of the best tutorials ( http://rick.measham.id.au/pdf-api2/ ) has a big photo of John f'n

edit pdf

2008-04-03 Thread Wolf Blaum
hi there, I have a pile of pdf documents which may or may not contain email adresses. Now I do have to mask the [EMAIL PROTECTED] adresses into something like xyAT whereever.dot I looked at CAM::PDF and PDF::API2 - my CAM::PDF code would look like foreach my $file (@todo){ my $doc=CAM::PDF

pdf protection for generated pdfs

2008-03-30 Thread Saurabh Singhvi
Hi All, Greetings. I am trying to create pdfs with perl (basically some text data) and I want to give them pdf protection to disallow any modification. The target is not to really achieve industry grade protection but to just let the end user know that it is not recommended to modify the content

Re: Can perl find list of words from a PDF or other document and populate a database?

2008-03-15 Thread sandy_saydakov
On 13 мар, 13:17, [EMAIL PROTECTED] (Stuart White) wrote: I have a bunch of documents that I need to import into a proprietary database. The database has a table with key words, specifically, names of people. This database software will import documents, but will not search those

Re: Can perl find list of words from a PDF or other document and populate a database?

2008-03-14 Thread Jefferson Kirkland
Well, populating the database is a gimmie, but for parsing the PDF document, have you examined all of the PDF modules on CPANhttp://search.cpan.org/search?query=pdfmode=allto see if they can do what you are asking? Regards, Jeff On Thu, Mar 13, 2008 at 4:17 PM, Stuart White [EMAIL PROTECTED

Re: Can perl find list of words from a PDF or other document and populate a database?

2008-03-14 Thread Stuart White
Er, no. I will look. Thanks. And, are you saying that if perl can parse the PDF, then populating the database is simple? - Original Message From: Jefferson Kirkland [EMAIL PROTECTED] To: Stuart White [EMAIL PROTECTED] Cc: beginners@perl.org Sent: Friday, March 14, 2008 10:51:34 AM

Can perl find list of words from a PDF or other document and populate a database?

2008-03-13 Thread Stuart White
I have a bunch of documents that I need to import into a proprietary database. The database has a table with key words, specifically, names of people. This database software will import documents, but will not search those documents for these key words, and then let me know which documents

copy site contents into pdf file.

2007-10-12 Thread Siva Prasad
Hi Gurus, I need to copy the contents of the website and make a pdf file. Please check below for detailed explanation. Link1 Link2 If we click on the main link Link1 we get sub links Sublink1 Sublink2 So I have to click on Main link1 copy the content to pdf

Re: copy site contents into pdf file.

2007-10-12 Thread Matthew Whipple
Do you want to create one large PDF? First you need to think about the problem as more of a sequential ordering of information since PDF's don't have hyperlinks. Is this a stripped down example or are you really only dealing with a handful of webpages? Also, is this static data you're dealing

Re: PDF to Text

2007-07-14 Thread Mr. Shawn H. Corey
Jeff Pang wrote: --- Mike Lesser [EMAIL PROTECTED] wrote: Hi all. Like it says, I need to extract the content of a PDF file. I installed the tool pdftotext, and it works fine for my needs. I recall there was a very simple module that used this to extract text, but for the life of me, I

PDF to Text

2007-07-13 Thread Mike Lesser
Hi all. Like it says, I need to extract the content of a PDF file. I installed the tool pdftotext, and it works fine for my needs. I recall there was a very simple module that used this to extract text, but for the life of me, I can't find it on CPAN! Any leads? Using a command-line script

Re: PDF to Text

2007-07-13 Thread Jeff Pang
--- Mike Lesser [EMAIL PROTECTED] wrote: Hi all. Like it says, I need to extract the content of a PDF file. I installed the tool pdftotext, and it works fine for my needs. I recall there was a very simple module that used this to extract text, but for the life of me, I can't find

Re: can PDF::ReportWriter do this?

2007-06-10 Thread Diamond Li
Hello, Currently, I am trying to generate one PDF report file(Please refer to attachment). Fields section is pretty straightforward. However, header is pretty tricky. Is it possibel to generate attachment PDF file using ReportWriter module? If it is, would you guys like to show me how

Re: PDF File

2007-05-28 Thread [EMAIL PROTECTED]
files? Where are the before you store them? in a directory '/home/user/cgi-bin/{today's Date} I am able to creata a folder on daily bases . If that bit's not a problem why do you mention it? I am struggling to create a subroutine that stores the uploaded pdf file

Re: PDF File

2007-05-26 Thread Alma
'/home/user/cgi-bin/{today's Date} I am able to creata a folder on daily bases . If that bit's not a problem why do you mention it? I am struggling to create a subroutine that stores the uploaded pdf file into this today's date directory. Can you explain why you think this would

Re: PDF File

2007-05-26 Thread [EMAIL PROTECTED]
On May 24, 2:22 pm, Alma [EMAIL PROTECTED] wrote: Hi All, I need to store the files in a directory '/home/user/cgi-bin/{today's Date} I am able to creata a folder on daily bases . I am struggling to create a subroutine that stores the uploaded pdf file into this today's date directory

Re: PDF File

2007-05-26 Thread Alma
'/home/user/cgi-bin/{today's Date} I am able to creata a folder on daily bases . If that bit's not a problem why do you mention it? I am struggling to create a subroutine that stores the uploaded pdf file into this today's date directory. Can you explain why you think this would

Re: PDF File

2007-05-25 Thread [EMAIL PROTECTED]
on daily bases . If that bit's not a problem why do you mention it? I am struggling to create a subroutine that stores the uploaded pdf file into this today's date directory. Can you explain why you think this would be different for a PDF file than for any other sort of file? Can you be more

Re: .pdf files in a perl cgi application?

2007-04-24 Thread David Dorward
(Please keep this on the mailing list) Mary Anderson wrote: All I do with the files is to display them using the cgi.pm macro image. Then the user can download them. Do you know if this also works with a pdf file? What is a macro image? The phrase does not appear it the CGI.pm

Re: .pdf files in a perl cgi application?

2007-04-24 Thread David Dorward
method of the CGI object. Just the image function that expands into the html img tag. That's an HTML issue, not a CGI issue. PDF files aren't images, and aren't supported by browsers as images. It won't accept .pdf files. No, you could try an object element, but PDFs are not nice things

.pdf files in a perl cgi application?

2007-04-23 Thread Mary Anderson
Hi all, I have successfully put .gif, .jpg , etc. images into my application. A user has just sent me some .pdf files, which must be read with Acrobat Reader, I assume. How would I work these into my application? Thanks Mary -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: .pdf files in a perl cgi application?

2007-04-23 Thread David Dorward
Mary Anderson wrote: I have successfully put .gif, .jpg , etc. images into my application. A user has just sent me some .pdf files, which must be read with Acrobat Reader, I assume. No, there are plenty of libraries for dealing with PDFs that are not Acrobat Reader. How would I work

RE: How to pull Text from a PDF using Perl?

2007-01-05 Thread Wagner, David --- Senior Programmer Analyst --- WGO
-Original Message- From: Dave Gray [mailto:[EMAIL PROTECTED] Sent: Thursday, January 04, 2007 17:01 To: beginners@perl.org Cc: Wagner, David --- Senior Programmer Analyst --- WGO Subject: Re: How to pull Text from a PDF using Perl? On 1/4/07, Wagner, David --- Senior Programmer Analyst

How to pull Text from a PDF using Perl?

2007-01-04 Thread Wagner, David --- Senior Programmer Analyst --- WGO
I have tried both PDF::API2 and CAM::PDF and I must be misunderstanding how to use these modules. Here is the way I attempted using CAM::PDF Source portion: … use CAM::PDF; $MyPDF = CAM::PDF-new($MyFileIn); # a PDF file which has text $MyPDFPgCnt = $MyPDF-numPages

  1   2   3   >