So I download latest source of Ghostscript (ver 9.18) and I'm able to see ps2pdf and other commands that I got after installing from the source (after compiling/installing etc.). How can I generate PDF from these utilities (or how can I generate PS file from them so I can later run ps2pdf?)?
Code:
[root@lnxtst01 bin]# file *
dvipdf: POSIX shell script text executable
eps2eps: POSIX shell script text executable
font2c: POSIX shell script text executable
gpcl6: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
gs: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
gsbj: POSIX shell script text executable
gsdj: POSIX shell script text executable
gsdj500: POSIX shell script text executable
gslj: POSIX shell script text executable
gslp: POSIX shell script text executable
gsnd: POSIX shell script text executable
gxps: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
lprsetup.sh: POSIX shell script text executable
pdf2dsc: POSIX shell script text executable
pdf2ps: POSIX shell script text executable
pf2afm: POSIX shell script text executable
pfbtopfa: POSIX shell script text executable
pphs: POSIX shell script text executable
printafm: POSIX shell script text executable
ps2ascii: POSIX shell script text executable
ps2epsi: POSIX shell script text executable
ps2pdf: POSIX shell script text executable
ps2pdf12: POSIX shell script text executable
ps2pdf13: POSIX shell script text executable
ps2pdf14: POSIX shell script text executable
ps2pdfwr: POSIX shell script text executable
ps2ps: POSIX shell script text executable
ps2ps2: POSIX shell script text executable
unix-lpr.sh: POSIX shell script text executable
wftopfa: POSIX shell script text executable
[root@lnxtst01 bin]#
Please advise, many thanks!!
---------- Post updated at 12:31 PM ---------- Previous update was at 11:54 AM ----------
Further investigation shows that output PDF has many lines with special control characters like \033 (escape sequences) like below
\033&k2G\033(s12h10V
Code:
$ file input.txt
input.txt: ASCII English text, with escape sequences
So is there any possibility to remove those escape sequences from source text file OR using enscript command itself (which I used to convert TXT to PS)
We're looking for a program that can convert Text and PCL formats into a PDF. We're not looking to spend a fortune so my search so far has come up empty handed as everyone wants an arm and a leg. I found txt2pdf, but that doesn't support PCL formats. Any help would be appreciated.
TIA (2 Replies)
Does anyone know any good tools to convert a pdf to word, I can usually cut & paste without a hitch but I have a pdf that doesn't like that and surrounds text with lines as though a table or prints tables in miniscule text.
It's only one pdf file so I'm reluctant to buy a product. (3 Replies)
Hello all
i have server that needs to add the ability to convert rtf files to pdf
what you recommend me to use ( not open office please )
its spouse to process lots of files .
something i can wrap in code and use (2 Replies)
Good day,
I've been trying to look for a way to compile the Xpdf sources in our HP-UX server, but have been failing to do so because there is no GCC installed, and I don't have privileges to install GCC. I was looking for a functionality to convert PDF files to .txt, which is exactly like the... (2 Replies)
Hi,
I am trying to convert html to pdf using perl module PDF::FromHTML, am getting the error as given below.
not well-formed (invalid token) at line 2, column 17, byte 56 at C:/Perl/lib/XML/Parser.pm line 187 at C:/Perl/site/lib/PDF/FromHTML.pm line 140
The perl code is as given... (2 Replies)
Hi!
I need to realize this task.
In folder i have such files:
name1.txt
name1.pdf
name2.txt
name2.pdf
etc...
I want to scan this folder, match files with same name (name1.txt with name1.pdf, name2.txt with name2.pdf) and create files name1.xml and name2.xml, based on it. i.e:
i want... (13 Replies)
wget -i genedx.txt
The code above will download multiple pdf files from a site, but how can i download and convert these to .txt?
I have attached the master list (genedx.txt - which contains the url and file names)
as well as the two PDF's that are downloaded. I am trying to have those... (7 Replies)
Hello Unix gurus,
I am learning unix. I have lots pdf data files. I need to convert them into txt files. Can you please guide me how to do that?
Thanks in advance.
Rao (1 Reply)
we have been trying to convert PDF into PS for one of the projects. Our PDF files are little big and we use PDFTOPS which takes long time to convert it and it's a freeware.
Is there any licensed version of such kind of tool?
Responses are really appreciated. (2 Replies)