🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #1989

Re: enscript clone v1.12 (unix)

#1989
From: Thomas Wolff
Date: Thu, 27 Aug 1992 13:18
74 lines
3871 bytes
From the readme file:

> Features I would like to add:
> -----------------------------
> 
> 1. Support for the ISO-Latin character set. At the moment, characters are
>    just sent down to the printer.

Use the reencoding procedure described on page 207 of Adobe's 
"PostScript language tutorial and cookbook" (blue book), 
call /Courier /Courier-Latin-1 ISO-Latin-1 ReEncode ,
use /Courier-Latin-1 instead of /Courier ,
and transform every input character with 8th bit set into 
its octal representation preceded by a backslash.

The code vector for Latin-1 is attached below. For the MSDOS version, 
you will have to adapt it to the PC character set. For the Windows 3.1 "ANSI" 
character set, you will have to extend Latin-1 in the positions between 200 
and 240 (octal) appropriately.

Thomas Wolff
wolff@inf.fu-berlin.de

/ISO-Latin-1 [
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef /.notdef
/.notdef /.notdef /.notdef /.notdef /.notdef /.notdef 
/copyright /copyrightserif /copyrightsans /registered /registerserif /registersans 
/trademark /trademarkserif /trademarksans /mu /mucomplex /musimplex
/fi /f /i /fl /f /l
/space /exclam /quotedbl /numbersign /dollar /percent /ampersand /quoteright
%							     or: /quotesingle
/parenleft /parenright /asterisk /plus /comma /hyphen /period /slash
/zero /one /two /three /four /five /six /seven
/eight /nine /colon /semicolon /less /equal /greater /question
/at /A /B /C /D /E /F /G /H /I /J /K /L /M /N /O
/P /Q /R /S /T /U /V /W
/X /Y /Z /bracketleft /backslash /bracketright /asciicircum /underscore
/quoteleft /a /b /c /d /e /f /g /h /i /j /k /l /m /n /o
% or: /grave
/p /q /r /s /t /u /v /w
/x /y /z /braceleft /bar /braceright /asciitilde /fraction
% accents not in ISO-Latin-1:
/dotlessi /ring /circumflex /tilde /breve /dotaccent
/grave % see comment below
% FrameMaker characters:
/quotesingle % comment: must have /quoteleft instead of /grave, or
		%	/quoteright instead of /quotesingle, resp.,
		%	depending on which is already present above
/quotesinglbase /quotedblbase /quotedblleft /quotedblright
/guilsinglleft /guilsinglright
/trademark
/caron /hungarumlaut /ogonek
/OE /oe
/fi /fl
/dagger /daggerdbl /ellipsis /emdash /florin /periodcentered /perthousand
% DEC-supplemental (also /OE /oe):
/Ydieresis
% further PostScript chars:
/Lslash /lslash

% this must align with 240 octal
/space /exclamdown /cent /sterling /currency /yen /brokenbar /section
/dieresis /copyright /ordfeminine /guillemotleft /logicalnot /endash /registered /macron
/degree /plusminus /twosuperior /threesuperior /acute /mu /paragraph /bullet
/cedilla /onesuperior /ordmasculine /guillemotright /onequarter /onehalf /threequarters /questiondown
/Agrave /Aacute /Acircumflex /Atilde /Adieresis /Aring /AE /Ccedilla
/Egrave /Eacute /Ecircumflex /Edieresis /Igrave /Iacute /Icircumflex /Idieresis
/Eth /Ntilde /Ograve /Oacute /Ocircumflex /Otilde /Odieresis /multiply
/Oslash /Ugrave /Uacute /Ucircumflex /Udieresis /Yacute /Thorn /germandbls
/agrave /aacute /acircumflex /atilde /adieresis /aring /ae /ccedilla
/egrave /eacute /ecircumflex /edieresis /igrave /iacute /icircumflex /idieresis
/eth /ntilde /ograve /oacute /ocircumflex /otilde /odieresis /divide
/oslash /ugrave /uacute /ucircumflex /udieresis /yacute /thorn /ydieresis
] def
Technical Details
Message-ID: <8AG6RTB@math.fu-berlin.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!crdgw1!uakari.primate.wisc.edu!ames!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!wolff
References: <geoffw.714640774@extro.ucc.su.OZ.AU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!crdgw1!uakari.primate.wisc.edu!ames!haven.umd.edu!darwin.sura.net!Sirius.dfn.de!math.fu-berlin.de!wolff
From: wolff@inf.fu-berlin.de (Thomas Wolff)
Newsgroups: comp.lang.postscript
Subject: Re: enscript clone v1.12 (unix)
Keywords: enscript
Message-ID: <8AG6RTB@math.fu-berlin.de>
Date: 27 Aug 92 13:18:05 GMT
References: <geoffw.714640774@extro.ucc.su.OZ.AU>
Sender: news@math.fu-berlin.de (Math Department)
Organization: Free University of Berlin, Germany
Lines: 74