ghostscript: numbering pages via command line

  • Follow


Hi!

a question (maybe silly, maybe not)

In windows, used a grafical fronted to ghostscript

*free pdf fill tools*
- www.freepdffill.com

one tools of this frontend, makes you able to *stamp* numbers on pages of 
a pdf, choosing size, position, font... and so on...

Now I switched to linux, I have ghostscript, so, I think, I'm able to do 
the same thing from command-line, but I can't find or understand how 
command line options to numbering pages

can anyone help me?

thanks in advance
-- 
Puppy Linux wiki:  http://puppylover.netsons.org/dokupuppy
Puppy Linux Forum: http://puppylinux.ilbello.com
Windows me genuit, Ubuntu rapuere / tenet nunc Puppy Linux...
0
Reply Lutrin 5/12/2009 8:45:24 PM

In article <pan.2009.05.12.21.47.36@lutrina>, elicona@olympo.it says...
> Hi!
> 
> a question (maybe silly, maybe not)
> 
> In windows, used a grafical fronted to ghostscript
> 
> *free pdf fill tools*
> - www.freepdffill.com
> 
> one tools of this frontend, makes you able to *stamp* numbers on pages of 
> a pdf, choosing size, position, font... and so on...
> 
> Now I switched to linux, I have ghostscript, so, I think, I'm able to do 
> the same thing from command-line, but I can't find or understand how 
> command line options to numbering pages
> 
> can anyone help me?

There is no command line option to do this that I'm aware of. Most 
likely the freepdffill tool included a custom piece of PostScript to do 
the job.

The easiest way to do this is probably a custom EndPage or possibly 
BeginPage procedure.

		Ken
0
Reply ken 5/13/2009 6:54:34 AM


ken wrote:
> In article <pan.2009.05.12.21.47.36@lutrina>, elicona@olympo.it says...
>> Hi!
>>
>> a question (maybe silly, maybe not)
>>
>> In windows, used a grafical fronted to ghostscript
>>
>> *free pdf fill tools*
>> - www.freepdffill.com
>>
>> one tools of this frontend, makes you able to *stamp* numbers on pages of 
>> a pdf, choosing size, position, font... and so on...
>>
>> Now I switched to linux, I have ghostscript, so, I think, I'm able to do 
>> the same thing from command-line, but I can't find or understand how 
>> command line options to numbering pages
>>
>> can anyone help me?
> 
> There is no command line option to do this that I'm aware of. Most 
> likely the freepdffill tool included a custom piece of PostScript to do 
> the job.
> 
> The easiest way to do this is probably a custom EndPage or possibly 
> BeginPage procedure.

Assuming you are working with the converted PS from a PDF, it would also 
be possible to write a small sed script to add the necessary code to the 
PS file, and convert it back to PDF afterwards.

///Peter
0
Reply Peter 5/13/2009 10:47:52 PM

2 Replies
551 Views

(page loaded in 0.074 seconds)

Similiar Articles:













7/23/2012 10:01:12 PM


Reply: