[Magic-dev] Postscript plotting larger than A size

Bertrand Irissou bertrand at asicadvantage.com
Tue Oct 30 15:22:00 EDT 2007


 Hi Tim,

 The 11" x 17" seems to work OK in ghostview .  However a landscape 
mode, 17"x11" breaks it... Here is the error:

Error: /rangecheck in --getinterval--
Operand stack:
   0.0   2805.97   ch   
(\011\011\011\011\011\011\011\011\011\011\011\011\011\011\011)   0   24
Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   
--nostringval--   --nostringval--   false   1   %stopped_push   1   3   
%oparray_pop   .runexec2   --nostringval--   --nostringval--   
--nostringval--   2   %stopped_push   --nostringval--   
--nostringval--   --nostringval--   --nostringval--
Dictionary stack:


 Looks like it going outside the bounding box.


 I will look into putting  a scale factor in. I think this might be 
useful to others!

 Bertrand.


R. Timothy Edwards wrote:
> Dear Bertrand,
>
>> First, has anyone had success plotting on anything larger than an A 
>> size paper ? I have tried B, C, D and E size, but to no avail...
>> By using the PS_width and PS_height values in plot param, I have 
>> changed the paper size. Magic creates a postscript file but the 
>> printer crashes on the file. Similarly, ghostscript  chokes on the 
>> file and returns an error. Any idea ?
>
> I just did a quick test by doubling PS_width to get a 11" x 17" sheet
> size, and ghostscript (ghostview) had no problem with it.  What error
> is ghostscript giving you?
>
>> Secondly, is there a way to specify a scale when plotting to 
>> postscript ? Ideally a lambda->real size would be create (15X , 100X, 
>> etc..). It looks like this was done for PNM plotting.
>
> Not difficult to add, but it hasn't been done.  Right now, the routine
> fits the data bounds (clipped to the cursor box) to the maximum fit in
> PS_width and PS_height (minus margins).  So you would have to hand-
> calculate the scalefactor.
>
>                         ---Tim
>
> +--------------------------------+-------------------------------------+
> | Dr. R. Timothy Edwards (Tim)   | email: tim at opencircuitdesign.com    |
> | Open Circuit Design, Inc.     | web:   http://opencircuitdesign.com |
> | 22815 Timber Creek Lane        | phone: (301) 528-9364               |
> | Clarksburg, MD 20871-4001      | cell:  (240) 401-0616               |
> +--------------------------------+-------------------------------------+


-- 
Bertrand Irissou, V.P. Business Development  ASIC Advantage, Inc.
mailto:bsi at asicadvantage.com                 1290-B Reamwood Avenue
Tel:(408)541-8686 x125 Fax:(408)541-8675     Sunnyvale, CA 94089
http://www.asicadvantage.com --- registered to ISO 9001:2000

------------------------------------------------------------------------------
This email may contain confidential and/or proprietary material for the 
sole use of the intended recipient. Be aware that any disclosure, copying,
distribution or other unintended use of its contents, without the express
permission of ASIC Advantage, INC. is prohibited.



More information about the magic-dev mailing list