schuster@panix.uucp (Michael Schuster) (12/08/90)
% ************************************************************************ % ************************************************************************ % HP CARTRIDGE FATAL BLOWUP DEMO % ************************************************************************ % % SUMMARY: A simple demo that purposely elicits a fatal bug in the % HP Adobe PostScript cartridge. % % See ongoing dialog in GEnie PSRT Category 7, Topic 4. % % Free help line and additional info: (602) 428-4073. % % ************************************************************************ % Name of textfile: HPCARTXX.PS % Source: SYNERGETICS % Author: Don Lancaster % Desc: Fatal HP Cartridge Blowup Demo % Date: August 24, 1990 % Release: 1.0 % Approx length: 1K % Keywords: PostScript, fatal error, arc, 0X51B976, setscreen % HP, Adobe, cartridge % Approximate HP IID run time: 34 seconds % ================================================================== % This deceptively simple code module causes ERROR #24, FATAL SYSTEM % ERROR at 0X51B976 on the HP Adobe PostScript Cartridge. % The module runs just fine on the NTX, LW+ and 820. % See SPOTDOTS.GPS GEnie PSRT #147 for a more detailed use example. % Apparently the translate and scaling is needed. % The blowup goes away when -stroke- is replaced by -fill- or -newpath- % -save- and -restore- bracketing does not help. % Does it with 4 megabytes, independent of jamrecovery state. % Cartridge recovers on hard reset or power down. 100 200 translate 5 dup scale 10 {53 45 {0.12 0 360 arc stroke 0} setscreen} repeat showpage quit %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Related GEnie PSRT Downloads: % #144 - SPOTDOTS.GPS 300 DPI spot patterns % #102 - GUTILITY.PTL Gonzo powertool utilities % #101 - GJUSTIFY.PTL Gonzo powertool justify procs % % (Also see ongoing dialog in PSRT Category 7, topic 4) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % FREE VOICE HELPLINE AND ADDITIONAL INFO: (602) 428-4073 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- l\ /l ' _ Mike Schuster ...!cmcl2!panix!schuster l \/ l l l/ (_ NY Public Access CIS:70346,1745 l l l l\ (_ UNIX Systems MCI Mail,GEnie:MSCHUSTER
brown@hpdmd48.boi.hp.com (Kevin Brown) (12/13/90)
>> % Cartridge recovers on hard reset or power down.
I just hit the Continue key. If AUTO_CONTINUE is on it recovers
by itself for the next job.
Kevin Brown
wolfgang@wsrcc.com (Wolfgang S. Rupprecht) (12/14/90)
schuster@panix.uucp (Michael Schuster) writes: >% HP CARTRIDGE FATAL BLOWUP DEMO >100 200 translate 5 dup scale >10 {53 45 {0.12 0 360 arc stroke 0} setscreen} repeat >showpage quit For the record, this program works fine on a Genuine Adobe (not HP) Postscript cartridge in a HP-LJ-II. $ tip ps connected PostScript(r) Version 52.3 Copyright (c) 1984-1990 Adobe Systems Incorporated. Typefaces Copyright (c) 1981 Linotype AG and/or its subsidiaries. All Rights Reserved. PS> PS>100 200 translate 5 dup scale PS> PS>10 {53 45 {0.12 0 360 arc stroke 0} setscreen} repeat PS> PS>showpage quit <one page gets printed, I turn printer power off> Connection Closed [EOT] $ (The page that gets printed is essentially blank with a single squarish spot with rounded corners. Squinting at it, it looks a bit like a square surface mount IC with 3 leads on each of sides, drawn in perspective.) -wolfgang -- Wolfgang Rupprecht wolfgang@wsrcc.com (or) uunet!wsrcc!wolfgang Snail Mail Address: Box 6524, Alexandria, VA 22306-0524
glenn@heaven.woodside.ca.us (Glenn Reid) (12/17/90)
In article <1990Dec13.223822.28328@wsrcc.com> wolfgang@wsrcc.com (Wolfgang S. Rupprecht) writes: >schuster@panix.uucp (Michael Schuster) writes: >>% HP CARTRIDGE FATAL BLOWUP DEMO >>100 200 translate 5 dup scale >>10 {53 45 {0.12 0 360 arc stroke 0} setscreen} repeat >>showpage quit >(The page that gets printed is essentially blank with a single >squarish spot with rounded corners. Squinting at it, it looks a bit >like a square surface mount IC with 3 leads on each of sides, drawn in >perspective.) When I run this on my NeXT machine and gradually increase the scale factor I see two "PacMan" almost-circles appear. They're not quite circular until you blow it up fairly large (changing 5 dup scale to something like 20 dup scale). I've never seen any PostScript code that actually executed painting operators inside the procedure passed to "setscreen". Most interesting. I can't think of why you'd want to do that, offhand, but it's sort of amazing that it actually works (though perhaps not on the original poster's HP cartridge :-) -- Glenn Reid RightBrain Software glenn@heaven.woodside.ca.us PostScript/NeXT developers ..{adobe,next}!heaven!glenn 415-851-1785
woody@chinacat.Unicom.COM (Woody Baker @ Eagle Signal) (12/18/90)
In article <369@heaven.woodside.ca.us>, glenn@heaven.woodside.ca.us (Glenn Reid) writes: > In article <1990Dec13.223822.28328@wsrcc.com> wolfgang@wsrcc.com (Wolfgang S. Rupprecht) writes: > > I've never seen any PostScript code that actually executed painting > operators inside the procedure passed to "setscreen". Most interesting. > I can't think of why you'd want to do that, offhand, but it's sort of I believe that Don told me that this happened when he wrote some stuff to explore the set screen operator. Either he was trying to make the spot function to something funny, or else (I think the latter, if I remember right) was trying to print out the patterns that the setscreen was using, only expanded. It is indeed unusual, but there is nothing in the language definition to prevent it. Don certainly fools around a lot, but generaly, he has a specific objective when he does so. I'll find out just what he was doing. :=} Cheers Woody
mathmyka@cosmo.UUCP (Mathias Myka) (12/18/90)
Just in case anybody wants to know: HPCARTXX.PS works on the LaserJet II equipped with _Adobe's_ PostScript cartridge. Slowly, but it works. -- Mathias Myka D-W 8940 Memmingen Federal Republic of Germany E-Mail: mathmyka@cosmo.UUCP (...!unido!cosmo!mathmyka)