here is a Newbie-Question. I use GsView/Ghostscript to produce PS-Files and
convert them to pdf. Is it possible, to merge several PS-/PDF-files to ONE
PDF-File, e.g. for combining several Web-Pages, each printed single, to one
PDF-document?
Thank you in advance for your reply
and best regards
--
Michael Milsch
mic...@milsch-online.de
Using Ghostscript, make a small wrapper file like this
---snip---
%!PS
% the following 2 procs encaspulate the jobs to be processed much as is
done with EPS images:
/_begin_job_
{
/tweak_save save def
/tweak_dc countdictstack def
/tweak_oc count 1 sub def
userdict begin
}bind def
/_end_job_
{
count tweak_oc sub{pop}repeat
countdictstack tweak_dc sub{end}repeat
tweak_save restore
}bind def
% Now, add your jobs like this:
_begin_job
(oneofyour_ps_files)run
_end_job_
% and so on.
---snip---
where "oneofyour_ps_files" is the full path name of the PS file. If you
use '\' in your
path names, be sure to write them as '\\'.
Helge
--
H.Bli...@srz-berlin.de
H.Bli...@srz-berlin.com
H.Bli...@acm.org
thank you very much for your reply. Until now, I use a PS-printer-driver to
produce a PS-file, open this with GSView and invoke File | Convert to
produce the PDF-file. I hoped, there would be a menu-item within GSView,
that I haven't found yet, like "Merge PS-file", but this doesn't seem to be
so. Thus, I only use Ghostscript implicitly (because GSView uses it). In
fact, I'm not familiar with Ghostscript at this time. Because of this, I
don't quite understand your proposal. On the other hand, I know, that it is
not your job to declare Ghostscript to me. So, if the way, you show me, is
is the only one to merge PS-Files, I will take the time to read the (f*)
manual <g>.
Greetings from Isernhagen, Germany
Michael Milsch
eMail: mic...@milsch-online.de
Helge Blischke <H.Bli...@srz-berlin.de> schrieb in im Newsbeitrag:
3964A6...@srz-berlin.de...
> You needn't read the manuals, just proceed according to the template
> given in my previous post.
I wish, I was so sure as you are ....
> Using Ghostscript, make a small wrapper file like this
I don't even know, what a "wrapper file" is and how I can tell Ghostscript
to use it.
---
Best Regards
Michael Milsch
eMail: mic...@milsch-online.de
Helge Blischke <H.Bli...@srz-berlin.de> schrieb in im Newsbeitrag:
396772...@srz-berlin.de...
Don't use Gsview, as Gsview cannot identify the pages then.
here is the wrapper file, I succeeded to run on my PC.
--- snip ---
%!PS
% the following 2 procs encaspulate the jobs to be processed much as is done
with EPS images:
/_begin_job_
{
/tweak_save save def
/tweak_dc countdictstack def
/tweak_oc count 1 sub def
userdict begin
}bind def
/_end_job_
{
count tweak_oc sub{pop}repeat
countdictstack tweak_dc sub{end}repeat
tweak_save restore
}
bind def
% Now, add your jobs like this:
/_begin_job
(c:\\winnt\\Profiles\\mim\\Desktop\\ps1.ps) run
/_end_job_
/_begin_job
(c:\\winnt\\Profiles\\mim\\Desktop\\ps2.ps) run
/_end_job_
% and so on
--- snap ---
When I invoke this file, the 2 files are shown in the
Ghostscript-Image-Window one after the other. What I wanted, was to merge
them into one PS-file. Is there still anything I forgot?
Thank you for your kind help.
--
Michael Milsch
mic...@milsch-online.de