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." wrote: > Hi Folks. > > I have a script in Perl that read a CVS file with several fields, it > extract

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. wrote: > Thank you, I'm reviewing. > > > > On Fri, May 15, 2015 at 12:58 AM, Raj Barath wrote: >> You can use PDF create module from cpan. >> >> http

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 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." w

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

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});m

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
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: 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 wrote: > On Mon, 27 Aug 2012 17:18:10 +0700 > Eko Budiharto 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? > > F

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 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 Programming is as much

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

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_ off

suggestion for converting perl data to pdf

2012-05-31 Thread jbiskofski
s 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

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

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

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 ?

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: encoding and PDF::API2

2011-10-07 Thread Brian Fraser
On Fri, Oct 7, 2011 at 5:39 AM, Igor Dovgiy 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 Brian Fraser
On Fri, Oct 7, 2011 at 12:19 PM, Brandon McCaig 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 (byte-order m

Re: encoding and PDF::API2

2011-10-07 Thread Brian Fraser
On Fri, Oct 7, 2011 at 4:54 AM, marcos rebelo 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::AP

Re: encoding and PDF::API2

2011-10-07 Thread Brandon McCaig
ell 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(); for my $key (keys %{$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 > Hi all > > I'm trying to get the info from

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 Du

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 docum

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.Ruud 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 breaks See the

Re: Convert HTML to PDF

2011-06-15 Thread Ramprasad Prasad
On 14 June 2011 20:39, Dr.Ruud 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 >>

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

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('sour

Re: Pdf to Excel

2011-04-17 Thread shawn wilson
On Sat, Apr 16, 2011 at 10:33 AM, muthukumar swamy 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 rea

Pdf to Excel

2011-04-16 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: 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" Cc: "Perl List" Sent: Thursday, March 03, 2011 6:04 AM Sub

Re: Extracting Data from PDF files

2011-03-03 Thread Mike Blezien
- Original Message - From: "shawn wilson" Cc: "Perl List" Sent: Thursday, March 03, 2011 6:04 AM Subject: Re: Extracting Data from PDF files On Mar 3, 2011 6:35 AM, "Mike Blezien" wrote: - Original Message - From: "shawn wilson" C

Re: Extracting Data from PDF files

2011-03-03 Thread shawn wilson
On Mar 3, 2011 6:35 AM, "Mike Blezien" wrote: > > - Original Message - From: "shawn wilson" > Cc: "Perl List" > Sent: Thursday, March 03, 2011 5:22 AM > Subject: Re: Extracting Data from PDF files > > > >> On Mar 3, 2011

Re: Extracting Data from PDF files

2011-03-03 Thread Mike Blezien
- Original Message - From: "shawn wilson" Cc: "Perl List" Sent: Thursday, March 03, 2011 5:22 AM Subject: Re: Extracting Data from PDF files On Mar 3, 2011 6:07 AM, "Mike Blezien" wrote: Hello, I posted a question earlier about creating a PDF fi

Re: Extracting Data from PDF files

2011-03-03 Thread shawn wilson
On Mar 3, 2011 6:07 AM, "Mike Blezien" 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 n

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 ne

Re: Creating PDF/FDF files

2011-03-01 Thread Mike Blezien
e end user's Acrobat software 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

Re: Creating PDF/FDF files

2011-03-01 Thread Mike Blezien
- Original Message - From: "Shawn H Corey" To: 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 submitted from an Adobe R

Re: Creating PDF/FDF files

2011-03-01 Thread Mike Blezien
- Original Message - From: "David Christensen" To: 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 submitted from an Adobe R

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

Re: Creating PDF/FDF files

2011-03-01 Thread Dermot
On 1 March 2011 15:58, 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

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 p

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 P

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 lik

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 CPA

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

Re: Getting the text from a PDF file

2010-02-28 Thread Ion Pop
From: "Dr.Ruud" 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

Re: Getting the text from a PDF file

2010-02-28 Thread Chris Charley
- Original Message - From: ""Ion Pop"" Newsgroups: perl.beginners To: 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 module th

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 with

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: 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 = 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 => \...@f

Re: Emailing all pdf files in a directory

2009-11-17 Thread Dermot
2009/11/16 Tiffany : > 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 @files

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 translat

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

2009-10-22 Thread Dermot
2009/10/22 Dermot : > 2009/10/22 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::

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-&

Re: PDF generation from a database!!

2009-09-01 Thread Jeff Pang
?? Dan ? 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, e

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, Dan 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 generate the xml files

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 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 ficovh
> Best Regards. > > On Mon, Aug 31, 2009 at 6:14 PM, Dan wrote: >> On Mon, 31 Aug 2009 18:11:11 -0500, ficovh wrote: >> >>> Under what license is released  PDF::ReportWriter ? >> >> LGPL >> >>> Can use it on Commercial deployment ? &

Re: PDF generation from a database!!

2009-08-31 Thread ficovh
Thank you Dan, I'm watching it now. The reports included in the Module are wonderful. I'm writing code now. Best Regards. On Mon, Aug 31, 2009 at 6:14 PM, Dan wrote: > On Mon, 31 Aug 2009 18:11:11 -0500, ficovh wrote: > >> Under what license is released  PDF::ReportWrit

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, Dan wrote: > On Sat, 29 Aug 2009 22:18:10 -0500, ficovh wrote: > >> Hi folks >> >> I

Re: PDF generation from a database!!

2009-08-31 Thread Dan
On Sat, 29 Aug 2009 22:18:10 -0500, 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,

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.Ruud wrote: > ficovh wrote: > >> I need ideas, suggest for generating a report in .pdf  from a data >> contain

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

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 si

Re: PDF generation from a database!!

2009-08-29 Thread pangj
?? 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. You want to read datas

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::API2

2008-12-14 Thread Dermot
2008/12/12 ChrisC : > 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 = shif

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

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, e-

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

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: PDF::API2, error "Can't call method "val".... when adding a picture to the PDF

2008-07-15 Thread Dermot
gt;my $xp = shift; >my $yp = shift; > 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

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

2008-07-14 Thread ChrisC
->image( $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. W

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/ ) h

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 docum

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, 2

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 CPAN<http://search.cpan.org/search?query=pdf&mode=all>to see if they can do what you are asking? Regards, Jeff On Thu, Mar 13, 2008 at 4:17 PM, Stuart Whi

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 tal

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&

copy site contents into pdf file.

2007-10-11 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: 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

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,

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 s

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? By the

Re: PDF File

2007-05-28 Thread [EMAIL PROTECTED]
gt; > > 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. > > &g

Re: PDF File

2007-05-26 Thread Alma
tore the files > > > What 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 d

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 uploa

Re: PDF File

2007-05-26 Thread Alma
tore the files > > > What 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 d

Re: PDF File

2007-05-25 Thread [EMAIL PROTECTED]
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 into this t

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

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

2007-01-04 Thread Dave Gray
On 1/4/07, Wagner, David --- Senior Programmer Analyst --- WGO <[EMAIL PROTECTED]> wrote: I need to look at the text from page 1 of a couple of thousand pdf's and do a regex on searching for the data. Before sending I tried a number of other things, but either died or showed me

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 = $My

Re: pdf to excel

2006-12-21 Thread oryann9
Daniel Kasak <[EMAIL PROTECTED]> wrote:oryann9 wrote: > I have a scanned PDF file and I want to convert its data so I can store it in > an xls file. What module(s) do you recommened? > > I saw File::Extract::PDF ? If you've scanned it, chances are the PDF doesn&

Re: pdf to excel

2006-12-21 Thread Daniel Kasak
oryann9 wrote: I have a scanned PDF file and I want to convert its data so I can store it in an xls file. What module(s) do you recommened? I saw File::Extract::PDF ? If you've scanned it, chances are the PDF doesn't contain any text that you can extract. It will just be 1

pdf to excel

2006-12-20 Thread oryann9
I have a scanned PDF file and I want to convert its data so I can store it in an xls file. What module(s) do you recommened? I saw File::Extract::PDF ?? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http

pdf text parsin

2006-12-17 Thread Saurabh Singhvi
Hi all, I have some pdfs which are in some format. I want to extract the text from them. search on cpan gave some results for pdf manipulation, but they don't really seem to suggest on how to extract text from the pdfs. So please let me know on how to go about this. thanks Saurabh

  1   2   3   >