[gs-devel] Rotating output -- HOW?

Rainer Hantsch rainer at hantsch.co.at
Thu Apr 17 06:30:16 PDT 2003


Hello!

Since I have a big NovaJet PRO 42e InkJet-Printer (prints up to 42" width), I
am searching for a way to reduce paper usage. Everything what comes out, is in
Portrait orientation. This means that the long border of the printed output is
in parallel to the physical paper border / in direction of paper advance.

  .--------------------------.
  |                          >
  |                          >       This is the actual status when I
  |.-----------.             >       print any standard paper format
  ||           |             >       on 42" wide paper.
  || A4 PAPER  |             >
  ||           |             >
  |'-----------'             >
  '--------------------------'

Well, this is very nasty when printing smaller printings on wide paper, so I
want to rotate the whole thing 90 degrees to get the short border aligned with
the paper margin.

  .--------------------------.
  |                          >       This is what I want to get with
  |.------.                  >       all formats which are smaller than
  ||      |                  >       42" on their longer side to reduce
  || A4   |                  >       paper consumption.
  ||      |                  >
  ||      |                  >
  |'------'                  >
  '--------------------------'

I already tried to add formats like "a4l" and "a3l" to gs_statd.ps where I
swapped the values for width/height. I also tried to add .../landscap.ps
before the filename when calling ghostscript.

The result is that:
a.)  landscap.ps really rotates the image, but I still have to use a big
     enough paper to get this work. So I get a wide empty space after the
     printout, because the paper definition is still in portrait.
b.)  When I combine 'a3l' with 'landscap.ps', I get a square-shaped output
     and no rectangle.


Is there a way to tell GhostScript 6.53 to use an A4/A3/A2 Landscape Paper
from one prefix file (as with landscap.ps)?


 mfg

  Ing. Rainer Hantsch

--
.---------------------------------------------------------------------.
|      \\|//              Ing. Rainer HANTSCH  -  Hardware + Software |
|      (o o)              Forget Windoze! -- We focus on L-I-N-U-X... |
|--oOOo-(_)-oOOo------------------------------------------------------|
| Ing. Rainer HANTSCH |  mail: office at hantsch.co.at                   |
| Khunngasse 21/20    |   www: http://www.hantsch.co.at               |
| A-1030 Vienna       |   tel: +43-1-79885380    fax: +43-1-798853818 |
| ** A u s t r i a ** | handy: +43-664-9194382   UID-Nr: ATU 11134002 |
'---------------------------------------------------------------------'




More information about the gs-devel mailing list