12-20-2013
pdf really isn't made to allow this to happen. A pdf can contain many types of content. Shoot, the spreadsheet data could be inside of an image. Attempting pdftotext or other program is probably your best bet, but only as a starting point and even then, as I mentioned, not necessarily a full proof solution.
With all of that said, if the pdf file is something that is regularly generated in the same way, maybe if a sample were posted somewhere, something could be created (maybe by someone here) to extract the data as a csv.
Recommendation, upload the sample pdf somewhere (or provide a link)... and then let's see what is possible.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can anyone tell the option to change the file type in unix.
i.e. if a file is in csv(Comma Separating Values) format, it should be changed to xls(ordinary MS-Excel) format. But renaming command is not changing to correct file format.
Thanks in advance,
Milton. (1 Reply)
Discussion started by: miltony
1 Replies
2. Shell Programming and Scripting
Can we convert an xls file into csv format in Unix
Thanks
Suresh (1 Reply)
Discussion started by: sureshg_sampat
1 Replies
3. Shell Programming and Scripting
Hi
Please can someone tell me how i can convert .xls file into .csv on both platforms, windows and unix.
many thanks,
neil (4 Replies)
Discussion started by: neil546
4 Replies
4. Shell Programming and Scripting
how to convert a xls file into .csv file?
is tghere any command in unix for that?
please help
thanks (3 Replies)
Discussion started by: infyanurag
3 Replies
5. Shell Programming and Scripting
I need to convert an excel file into a text file
and an excel file into a CSV file..
any code to do that is appreciated
thanks (6 Replies)
Discussion started by: bandar007
6 Replies
6. Shell Programming and Scripting
Hi,
I have problem..How to convert .xls file to .csv..
Plz help me for this problem.. (1 Reply)
Discussion started by: varma457
1 Replies
7. Shell Programming and Scripting
Ok, every morning at my office we send out excel sheets to Economy people with statistics for yesterdays trading.
All the trading run's in Redhat or Solaris environments.
We run a script on a Redhat server whitch generates the stats in CSV format.
After we download we open it in Excel and... (3 Replies)
Discussion started by: chipmunken
3 Replies
8. Shell Programming and Scripting
I would like to know if have one way with read table from oracle converter in CSV o TXT and After converter in XLS or spreedsheet
Thanks so much
JAvier (3 Replies)
Discussion started by: javeiregh
3 Replies
9. Shell Programming and Scripting
Hello
I have a script which converts log to csv.
Now I need to have xls.
Is there any easy way/command which can convert csv to xls?:confused:
preferably just using bash and not perl,... is it possible? (1 Reply)
Discussion started by: frhling
1 Replies
10. Shell Programming and Scripting
Hi,
We have a requirement to send multiple attachment(pdf and csv) along with html content in a single mail. For that we are using uuencode. It is working for single pdf attachment and html content. But we are unable to send both pdf and csv attachment with html content. Below is the script.... (5 Replies)
Discussion started by: dholea
5 Replies
LEARN ABOUT CENTOS
ps2pdf
PS2PDF(1) Ghostscript PS2PDF(1)
NAME
ps2pdf - Convert PostScript to PDF using ghostscript
ps2pdf12 - Convert PostScript to PDF 1.2 (Acrobat 3-and-later compatible) using ghostscript
ps2pdf13 - Convert PostScript to PDF 1.3 (Acrobat 4-and-later compatible) using ghostscript
ps2pdf14 - Convert PostScript to PDF 1.4 (Acrobat 5-and-later compatible) using ghostscript
SYNOPSIS
ps2pdf [options...] {input.[e]ps|-} [output.pdf|-]
ps2pdf12 [options...] {input.[e]ps|-} [output.pdf|-]
ps2pdf13 [options...] {input.[e]ps|-} [output.pdf|-]
ps2pdf14 [options...] {input.[e]ps|-} [output.pdf|-]
DESCRIPTION
The ps2pdf scripts are work-alikes for nearly all the functionality (but not the user interface) of Adobe's Acrobat(TM) Distiller(TM) prod-
uct: they convert PostScript files to Portable Document Format (PDF) files.
If the output filename is not specified, the output is placed in a file of the same name with a '.pdf' extension in the current working
directory. Either the input filename or the output filename can be '-' to request reading from stdin or writing to stdout, respectively,
when used as a filter.
The three scripts differ as follows:
- ps2pdf12 will always produce PDF 1.2 output (Acrobat 3-and-later compatible).
- ps2pdf13 will always produce PDF 1.3 output (Acrobat 4-and-later compatible).
- ps2pdf14 will always produce PDF 1.4 output (Acrobat 5-and-later compatible).
- ps2pdf per se currently produces PDF 1.4 output. However, this may change in the future. If you care about the compatibility level
of the output, use ps2pdf12, ps2pdf13 or ps2pdf14, or use the -dCompatibility=1.x switch in the command line.
There are some limitations in ps2pdf's conversion. See the HTML documentation for more information. A large number of Adobe Distiller(TM)
parameters which can be used to control the conversion are also documented there, including instructions for generating PDF/X and PDF/A
documents.
OPTIONS
The ps2pdf scripts use the same options as gs(1).
EXAMPLES
Converting a figure.ps to figure.pdf:
ps2pdf figure.ps
A conversion with more specifics:
ps2pdf -dPDFSETTINGS=/prepress figure.ps proof.pdf
Converting as part of a pipe:
make_report.pl -t ps | ps2pdf -dCompatibility=1.3 - - | lpr
SEE ALSO
gs(1), ps2pdfwr(1),
Ps2pdf.htm in the Ghostscript documentation
BUGS
See http://bugs.ghostscript.com/ and the Usenet news group comp.lang.postscript.
VERSION
This document was last revised for Ghostscript version 9.07.
AUTHOR
Artifex Software, Inc. are the primary maintainers of Ghostscript. This manpage by George Ferguson.
9.07 12 February 2013 PS2PDF(1)