[bug-pcl] Papersize bigger than A3

Stefan Kemper stefan.kemper at artifex.com
Tue Mar 1 09:04:19 PST 2005


Hi Arne,

-PRTL  needs to be used for hpgl2 plotter files

Preferably the PS command is used in the file to specify the correct 
plot size.

In your case where this command is missing you can override the plot 
size thus:

"-J at PJL SET PLOTSIZEOVERRIDE=ON"
"-J at PJL SET PLOTSIZE1=20000"
"-J at PJL SET PLOTSIZE2=40000"

This is in plotter units 1016 inch or 0.25mm

"-J at PJL SET PLOTSIZEROTATE=OFF"

This disables the "extra" rotation of the RO command to save plotter 
paper.  "ON", the default will cause RO to rotate so that the shorter of 
the length or width is in the paper direction.


Regards,
Stefan Kemper

Arne Hinniger wrote:

>Hi Everyone,
>
>i'm trying to convert hpgl2-Plot files to PDF with Ghostpcl on a Linux
>Machine. It works quite good, bu i'm having problems with bigger formats.
>
>The following i tried without success:
>
>-g<w>x<h>	produces Letter format, no matter what i enter for <g> and <h>
>
>-J'@PJL SET PAPERLENGTH=xxxxx' and -J'@PJL SET PAPERWIDTH=xxx' are ignored
>and produce Letter Format
>
>-J'@PJL SET PAPER=Ax' (with x smaller than 3) gives PDF results Letter,
>Paper Size is not recognized
>
>The only Difference between -PRTL and -PPCL5E is, that PCL5E ist turned in a
>90° Angle
>
>I'm enclosing the Plotfile, which is a little bigger than A3-landscape
>because of the margins. Is there a way to set the margins to zero?
>
>I'm using the follwing script:
>
># Variable DATE setzen
>DATE=`date +%b%d-%H%M%S`
>
># Verzeichniss angeben wo die PS-Dateien landen sollen
># ANPASSEN!!!!
>Outdir="/home/www/pdf/"
>OUTprint="$Outdir$USER $DATE.pdf"
>echo "$OUTprint $DATE" >> joblist.txt
>
># testen ob im Handbetrieb mit Datei oder von cups
>if test -z "$1"; then
>   infile="-"
>else
>    infile="$1"
>fi
>
># Umwandlung PCL5 in PS
># Eventuell Quellpass anpassen!!
>/usr/local/bin/pcl6 -PPCL5E -g3400x2400 -dNOPAUSE -sDEVICE=pdfwrite -sOutput
>File="$Outprint" $infile
>
>
>Thanks for your Help,
>
>
>Arne Hinniger
>  
>
>------------------------------------------------------------------------
>
>_______________________________________________
>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