[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to print only bounding box?
From: |
Romain THEVENOT |
Subject: |
How to print only bounding box? |
Date: |
Mon, 05 Apr 2004 13:41:52 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
Hi,
I got an eps file with the following header :
%!PS-Adobe-2.0 EPSF-1.2
%%Title: myfile.ps
%%CreationDate: Fri Apr 2 14:22:54 2004
%%BoundingBox: 119 130 463 463
%%TemplateBox: 0 0 612 792
%%DocumentFonts: Courier Helvetica Palatino-Roman Palatino-Italic Symbol
Times-Roman
%%Pages: 1
%%Orientation: Portrait
I use the following command :
gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=png16m -sOutputFile=myfile.png
myfile.ps
This prints a full A4 sized page in the png file while I want to print
only the content of the bounding box.
Please tell me what are the ways to do it.
Thanks by advance.