🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #8354

Invoking Diablo Emulation Mode via PostScript.

#8354
From: Danny K. Llewallyn
Date: Thu, 04 May 1989 11:56
41 lines
1626 bytes
I have been playing around with invoking Diablo emulation mode
via a PostScript program.  The way I wish to use it is to prepend
it to an ASCII file for printing.  I have seen several other 
methods for printing ASCII files most of them doing so by prepending
an ASCII emulator to the file.  I do have a problem though with
carriage return not working.  Line feeds work but carriage returns
do not.  One question I have (for Glenn I guess) is "Do all
PostScript printers support Diablo emulation?".  The program appears
below.  Any help and comments are appreciated.

/dodiablo{
  {
    statusdict
    begin
      (Courier)             % Normal Font
      (Courier-Bold)        % Bolding Font
      10                    % CPI (10,12,15)
      1                     % 1 - Auto Linefeed   0 - No Auto Linefeed
      /diablo load
    end
    exec
  }
  stopped
  {
    showpage
  }if
}def
dodiablo
Now is the time for the ASCII file to follow.
But when I print on the next line, it only
performs NL and not CR
\004


     Thanks,
     Danny

-- 
-------------------------------------------------------------------------------
                          .signature files suck
-------------------------------------------------------------------------------
Technical Details
Message-ID: <18223@dcatla.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!dcatla!dudkl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!gatech!dcatla!dudkl
From: dudkl@dcatla.UUCP (Danny K. Llewallyn)
Newsgroups: comp.lang.postscript
Subject: Invoking Diablo Emulation Mode via PostScript.
Message-ID: <18223@dcatla.UUCP>
Date: 4 May 89 11:56:09 GMT
Organization: DCA, Inc., Alpharetta, GA
Lines: 41