10-08-2015
Quote:
Have you tried pcl2ps. Your source document is a PCL5 print file.
Excellent! You are absolutely right. I used this source file as PCL and able to generate PDF without any special/junk characters using
gpcl6 from
ghostpcl 9.18. But there's some small issue of getting more number of pages than source ( I tried 650 pages source file and it generated 810 pages of PDF). Few last lines of a page skipping to next page and pushing the next page further. Each page starts with a "Print Date" & "Page xxx" (in the first line). Can we use this pattern to adjust each page OR
gpcl6 has any parameter that can define this? I tried few but no luck.
Could you please suggest any ideas on how to fix this?
Again, many thanks for your correct direction
![Thumbsup Smilie](https://www.unix.com/images/smilies/thumb.gif)
10 More Discussions You Might Find Interesting
1. HP-UX
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)
Discussion started by: Randle2I
2 Replies
2. Windows & DOS: Issues & Discussions
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)
Discussion started by: gefa
3 Replies
3. UNIX and Linux Applications
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)
Discussion started by: umen
2 Replies
4. HP-UX
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)
Discussion started by: mike_s_6
2 Replies
5. Shell Programming and Scripting
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)
Discussion started by: DILEEP410
2 Replies
6. Shell Programming and Scripting
Hi Guys,
How to convert a unix text file into pdf?
Please Help!!!!!!!!!!!!!!!!!!
Thanks (2 Replies)
Discussion started by: Phuti
2 Replies
7. Shell Programming and Scripting
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)
Discussion started by: optik77
13 Replies
8. Shell Programming and Scripting
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)
Discussion started by: cmccabe
7 Replies
9. Solaris
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)
Discussion started by: raopatwari
1 Replies
10. Linux
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)
Discussion started by: venureddy
2 Replies
LEARN ABOUT DEBIAN
pdf::api2::basic::pdf::pages
PDF::API2::Basic::PDF::Pages(3pm) User Contributed Perl Documentation PDF::API2::Basic::PDF::Pages(3pm)
NAME
PDF::API2::Basic::PDF::Pages - a PDF pages hierarchical element. Inherits from PDF::API2::Basic::PDF::Dict
DESCRIPTION
A Pages object is the parent to other pages objects or to page objects themselves.
METHODS
PDF::API2::Basic::PDF::Pages->new($pdfs,$parent)
This creates a new Pages object. Notice that $parent here is not the file context for the object but the parent pages object for this
pages. If we are using this class to create a root node, then $parent should point to the file context, which is identified by not having a
Type of Pages. $pdfs is the file object (or objects) in which to create the new Pages object.
$p->out_obj($isnew)
Tells all the files that this thing is destined for that they should output this object come time to output. If this object has no parent,
then it must be the root. So set as the root for the files in question and tell it to be output too. If $isnew is set, then call new_obj
rather than out_obj to create as a new object in the file.
$p->find_page($pnum)
Returns the given page, using the page count values in the pages tree. Pages start at 0.
$p->add_page($page, $pnum)
Inserts the page before the given $pnum. $pnum can be -ve to count from the END of the document. -1 is after the last page. Likewise $pnum
can be greater than the number of pages currently in the document, to append.
This method only guarantees to provide a reasonable pages tree if pages are appended or prepended to the document. Pages inserted in the
middle of the document may simply be inserted in the appropriate leaf in the pages tree without adding any new branches or leaves. To tidy
up such a mess, it is best to call $p->rebuild_tree to rebuild the pages tree into something efficient.
$root_pages = $p->rebuild_tree([@pglist])
Rebuilds the pages tree to make a nice balanced tree that conforms to Adobe recommendations. If passed a pglist then the tree is built for
that list of pages. No check is made of whether the pglist contains pages.
Returns the top of the tree for insertion in the root object.
@pglist = $p->get_pages
Returns a list of page objects in the document in page order
$p->find_prop($key)
Searches up through the inheritance tree to find a property.
$p->add_font($pdf, $font)
Creates or edits the resource dictionary at this level in the hierarchy. If the font is already supported even through the hierarchy, then
it is not added.
$p->bbox($xmin, $ymin, $xmax, $ymax, [$param])
Specifies the bounding box for this and all child pages. If the values are identical to those inherited then no change is made. $param
specifies the attribute name so that other 'bounding box'es can be set with this method.
$p->proc_set(@entries)
Ensures that the current resource contains all the entries in the proc_sets listed. If necessary it creates a local resource dictionary to
achieve this.
$p->get_top
Returns the top of the pages tree
perl v5.14.2 2011-03-10 PDF::API2::Basic::PDF::Pages(3pm)