Michele Simionato
You don't mention your platform, but my printer driver (WinXP driver for
the Samsumg ML-1210 laser printer) will do this itself for any document -
have you had a good dig though your printer driver options?
--
Richie Hindle
ric...@entrian.com
If you have the raw Postscript file, you can simply add a line near the
beginning that looks something like this:
400 400 scale
which will scale the image by 400%. It's been quite a while since I did
Postscript programming so the example might not be 100% correct, but a bit
of research will get you on the right track.
It's not Python, but it'll work.
Dan
Well, it was on topic enough for PyCon :-)
http://www.python.org/pycon/dc2004/papers/52/main.html
Roger
Try the Rasterbator (not Python, uses Flash and Adobe):
http://homokaasu.org/rasterbator/
-- Paul
> I am looking for a tool taking a postscript file and enlarging it to
> make a poster.
It's called "Postscript".
You could start by looking here:
http://www.cs.indiana.edu/docproject/programming/postscript/operators.html#scale
What I do not understand is if the "scale" operator automatically splits
the graph in many pages if it becomes too large. Anyway, I have found a way
to get what I want from GraphViz, but I cannot check it since the printer
died just today! :-(
Michele Simionato
Probably not. As I said, it's been a few years, but I would suspect the
"scale" operator simply scales the user coordinate system by the proportions
given so that everything drawn after that command will be rendered
accordingly. It's most likely the host application or utility that splits
the image into multiple pages.
Dan
> What I do not understand is if the "scale" operator automatically splits
> the graph in many pages if it becomes too large. Anyway, I have found a way
It doesn't. If you really want to do it this way, create many copies
of the scaled file and shift the relevant part into the paper using
translate.
The non-sucking method is to use the command poster(1) which comes
with most linux distributions.
Ralf
--
GS d->? s:++>+++ a+ C++++ UL+++ UH++ P++ L++ E+++ W- N++ o-- K- w--- !O M- V-
PS+>++ PE Y+>++ PGP+ !t !5 !X !R !tv b+++ DI+++ D? G+ e++++ h+ r? y?
There was a PostScript program called 'poster' which came with the
original PostScript 'Blue Book' of recipes. You prepended this to the
beginning of your file and it did the scaling, translating and
cropping etc.
The code for 'poster', as well as other blue book examples, seems to
be available here:
http://www.science.uva.nl/~robbert/ps/bluebook/program_13.html
Regards
Jon N
michele....@poste.it (Michele Simionato) wrote in message news:<95aa1afa.04040...@posting.google.com>...
Actually I do have "poster" installed and I didn't know!
Thanks for the tip, it may turn out useful in the future.
Michele