Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!apple!sun-barr!newstop!sun!angel!henry From: henry@angel.Sun.COM (Henry McGilton -- Software Products) Newsgroups: comp.lang.postscript Subject: Re: sun screendumps? Summary: String Length Limits Exceeded Message-ID: <130322@sun.Eng.Sun.COM> Date: 16 Jan 90 18:45:41 GMT References: <1990Jan16.133504.11654@cec1.wustl.edu> Sender: news@sun.Eng.Sun.COM Lines: 31 In article <1990Jan16.133504.11654@cec1.wustl.edu>, br@wucs1.wustl.edu (Bill Ross) writes: * I am attempting to dump sun monochrome screens to my apple * laserwriter. I have a postscript program that works fine for * smaller raster files but goofs up for big ones. It prints * the top half of the desired image twice and omits the * bottom of the image entirely. Here is how I am doing it: * %! * 18 12 translate * 576 450 scale * 1152 900 1 * [ 1152 0 0 -900 0 900 ] * { < * 000000000000000000000000000000000003777777777777774003777777777777 : : 259200 characters of hex data : * dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd * > } * image * showpage The maximum length of a string introduced by the < ... > notation is 65535 characters. See Red Book, page 260. See Blue Book, page 114, for a method of doing the job correctly. .......... Henry +-------------------+---------------------------+---------------------------+ | Henry McGilton | I'll bet those people who | | | Sun Microsystems | put control-D characters | arpa: hmcgilton@sun.com | | 2550 Garcia | in PostScript files also | uucp: ...!sun!angel!henry |