🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #990

Diablo emulation on LaserWriter

#990
From: Gary A Murakami
Date: Thu, 31 Aug 1989 18:38
41 lines
2048 bytes
I have had a nagging problem with my LaserWriter.  Our group shares
the LW on a LAN and users generate both PostScript output and
Diablo-630 output (from word processors and such).  I tried to
implement a system whereby a PostScript header would be prepended
to the Diablo format output so that the built-in Diablo emulator
in the LaswerWriter would interpret the Diablo stream.  The following
is the script:

statusdict begin statusdict /jobname (emulation) put end
/doDiablo { /printpageflag false def
             { statusdict begin
                (Courier) (Courier-Bold) 12 1
                /diablo load
                end exec
             } stopped pop
             printpageflag {showpage} if
          } def
doDiablo

Following this is the Diablo output.

I want to do this so that we can keep the mode switch on the LaserWriter
in the 9600 (PostScript) setting all the time.
However, the results are not the same as if I send the Diablo output to the
LaserWriter when the mode switch is in the "Special" position.
The printed output looks like linefeeds are done without carriage
returns when the PostScript version is sent.  Example:

This is line 1.
               This is line 2.
                              Each line should start at the beginning

The perplexing thing is that I can send it over AppleTalk to another
LaserWriter and the output is just fine.

Anyone see what the problem is or difference in going over the RS-232
port?

Gary_A._Murakami@cup.portal.com     Hughes Simulation Systems Inc.
(818) 915-9773                      1200 E. San Bernardino Rd.
                                    West Covina, CA 91790
Technical Details
Message-ID: <21737@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!portal!cup.portal.com!Murky

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!portal!cup.portal.com!Murky
From: Murky@cup.portal.com (Gary A Murakami)
Newsgroups: comp.lang.postscript
Subject: Diablo emulation on LaserWriter
Message-ID: <21737@cup.portal.com>
Date: 31 Aug 89 18:38:19 GMT
Distribution: usa
Organization: The Portal System (TM)
Lines: 41