[bug-pcl] Output rotated 90 degrees
Stefan Kemper
stefan.kemper at artifex.com
Mon Nov 1 10:41:09 PST 2004
Plotter's and rotation is fun here's some hints.
-PRTL sets plotter mode, this will allow you to specify a paper size
without this you the default is a page printer.
"-J at PJL SET PLOTSIZEROTATE=OFF"
looking in pjparse.c these are the other options for controlling plotter
size rotation, use the PJL syntax above.
{"plotsizeoverride", "off"}, /* override hpgl/2 PS command args */
{"plotsize1", "0"}, /* 1st arg to PS - plotter units */
{"plotsize2", "0"}, /* 2nd arg to PS - plotter units */
{"plotsizerotate", "on"}, /* "on" default allows PS rotation per
spec */
Basically you can either us the PS hpgl command in the file to specify
rotation and page size or you can use the PJL options to overide the
size (1016 plotter units per inch) PS auto rotates to save paper when
cutting the plotter sheet. It maybe that all you have to do is:
-PRTL "-J at PJL SET PLOTSIZEROTATE=OFF"
-dTrayOrientation=0,90,180,270 paper gets physically rotated, this
rotates the electronic 'paper' for the jpeg device
On Fri, 2004-10-29 at 14:19, David Brodbeck wrote:
> I have an HPGL/2 plotfile I'm trying to render into a JPEG using GhostPCL.
> This file was originally produced by AutoCAD, using the driver for an HP
> DesignJet 1055CM plotter. GhostPCL renders the file beautifully except for
> one problem -- it's rotated 90 degrees relative to the paper. As a result,
> it ends up being clipped.
>
> I've read carefully through the GhostPCL and GhostScript documentation but I
> can't find any option to rotate the output. Is there any way I can make
> this file render correctly?
>
> ---
>
> David Brodbeck, System Administrator
> InterClean Equipment, Inc.
> 3939 Bestech Drive Suite B
> Ypsilanti, MI 48197
> (734) 975-2967 x221
> (734) 975-1646 (fax)
>
>
> _______________________________________________
> bug-pcl mailing list
> bug-pcl at ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/bug-pcl
>
More information about the bug-pcl
mailing list