bug-ghostscript
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help needed with GS (trying to center PS print)


From: harm
Subject: help needed with GS (trying to center PS print)
Date: 11 Apr 2002 01:12:15 -0700

Hi all,

I'm trying to print to my Minolta PagePro 9100 using Ghostscript. (I'm
on the Linux platform (Redhat 7.2)).
My Printer has A3 paper in it's bin, therefore I issue the following
command to print my ps file:

gs -dSAFER -dNOPAUSE -sPAPERSIZE=a3 -sDEVICE=laserjet
-sOutputFile=\|lpr "$file" quit.ps

This gives me excellent output if my Postscript file itself is also
A3. But If my Postscript's documentsize differs from A3, say 10x10",
ghostscript put's my file in the upperleft corner of the paper. It
even cut's of some of the edges.

I would like to center the Postscript in the middle of the page, like:

+--------------------+
|                    |
|                    |
|    +----------+    |
|    |    PS    |    |
|    +----------+    |
|                    |
|           A3 paper |
+--------------------+

Can somebody please help here, I have looked into the Ghostscript
documentation, manual pages, etc... But I'm puzzled here...

Many Thanks,

Harm de Laat
Informatiefabriek
The Netherlands



reply via email to

[Prev in Thread] Current Thread [Next in Thread]