Enscript
Aus RegioWIKI
Zurück zur: 4win(R)_FIBU#Enscript_Installation
Inhaltsverzeichnis |
Fonts in a2ps anmelden
Mit nano /etc/a2ps.cfg die Config-Datei öffnen und folgende Zeile ergänzen:
# It may be useful to extend it so that a2ps can see some # TeX or X11 resources: it likes AFM files and PF[AB] files. AppendLibraryPath: /windows/fonts
- This script asks a2ps for the library path, wanders in this path collecting AFM files, and digging information in them.
- Once the script has finished, a file `fonts.map.new' was created. Check its integrity, and if it's correct, either replace the old `fonts.map' with it, or rename `fonts.map.new' as `fonts.map' and place it higher in the the library path (for instance in your `~/.a2ps/' directory).
cd /usr/share/a2ps/afm/ make_fonts_map.sh cp fonts.map.new fonts.map
- http://www.hrz.uni-wuppertal.de/dienste/peripherie/grafikausgabe/drucken_uni.html
- http://www.gnu.org/software/a2ps/
- http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=fw&db=info&fname=/usr/freeware/info_tpl/a2ps/a2ps_62.html
A2PS and ENSCRIPT Options
- http://www.u.arizona.edu/printing/prt-new.htm
- http://irb.cs.tu-berlin.de/leitfaden/drucker/node2.html
- http://www.joern.de/tipsn0.htm
- http://www.html-php-mysql.de/generatoren/unicode.php
- http://mail.python.org/pipermail/tutor/2004-September/031876.html
- http://people.n0i.net/altblue/fonts/monospace/screenshots/LetterGothicLine.jpg
- http://www.mnd.uscourts.gov/cmecf/pdftrouble.htm
Postscript
PdfLaTex
- http://devcorner.schlenker-webdesign.de/cms.16.html
- http://www.jurawiki.de/LaTeX/DoktorArbeit
- http://www.uni-giessen.de/partosch/xml/kurs2/
- http://www.uni-koeln.de/rrzk/software/textverarbeitung/tex/einfuehrung/programme.html
- http://www.lrz-muenchen.de/services/software/textverarbeitung/tex/l2kurz.pdf
- http://www.dante.de/faq/de-tex-faq/de-tex-faq.pdf
pdfTex
PDF Lib Links
- http://www.pdflib.com/de/produkte/mehr/bibel/index.html
- http://www.infostream.org/produkte/esp/cupsdetail.htm
- http://www.danka.de/printpro/node1.html
- http://www.copyshop-tips.de/dati02.shtml
- http://ad.informatik.uni-freiburg.de/mmgroup/Projects/OLD/Medoc/konvertieren.html
- http://www.fpdf.de/
- http://www.pdfx3.org/
Links
- http://archiv.tu-chemnitz.de/pub/2002/0012/data/euro.html
- http://irb.cs.tu-berlin.de/leitfaden/drucker/node2.html
- http://www.blindschleiche.de/Artikel/sonstiges/20000327-enscript.php3
- http://www.turboprint.de/manual/turboprint-5.html
- http://www.uni-giessen.de/hrz/software/programmiersprachen/postscript/
- http://www.uni-giessen.de/hrz/software/kb/prips.html
Links zu Fonts
- http://www.gesindel.de/
- http://sourceforge.net/projects/fontlinge/
- http://fontforge.sourceforge.net/
- http://cvs.sourceforge.net/viewcvs.py/fontforge/fontforge/fonttools/pcl2ttf.c
- http://www.geocities.com/sungstad/print.html
- http://www.daf.uni-muenchen.de/HIAT/HINWEISE.PDF
- Courier New COUR*.TTF
- Lucida Console LUCON.TTF
- Andale Mono ANDALEMO.TTF
- Letter Gothic MT LC*.TTF
- MS Linedraw LINEDRAW.TTF
- http://www.seagate.com/support/disc/specs/fonts.html
- ftp://ftp.seagate.com/techsuppt/letgothl.ttf
- http://www.jjcalibrations.com/jjwebin/getfont.taf?_UserReference=C89AF9EC8B8DF79F415910FA
- http://www.jjcalibrations.com/jjwebin/Letgothl.zip
- use one of several TrueType fonts encoded in CodePage 437: MS
- LineDraw (LINEDRAW.TTF), HyperFont (HYPERTT.TTF), Letter Gothic Line
- (LETGOTHL.TTF)
Enscript ascii2ps
- http://www.uni-kassel.de/hrz/server/Software/Welcome.ghk
- http://www.uni-kassel.de/hrz/server/Software/enscript/
- http://www.uni-kassel.de/hrz/server/Software/enscript/enscript.html
Informationen zur installierten Software enscript
apt-get install enscript
- Mit dem Programm enscript können ASCII-Textdateien in das Postscript-Format umgewandelt werden.
- Postscript ist eine geräteunabhängige Seitenbeschreibungssprache, mit der Dokumente beliebigen Inhalts (Texte, Zeichnungen, Bilder) erstellt und auf Ausgabegeräten, die hard- oder softwareseitig mit einem Postscript-Interpreter ausgestattet sind, ausgedruckt werden können.
Syntax
- Mit einem Kommando in der Form
enscript [optionen] -p psdatei.ps textdatei[.txt]
wird die ASCII-Textdatei textdatei[.txt] in das Postscript-Format umgewandelt und das Ergebnis in der Datei mit dem Namen psdatei.ps abgelegt. Die hierbei möglichen Optionen sind in der Manual-Page beschrieben.
man enscript
- GNU Enscript Einführung+FAQs
- Weitere Infos siehe fonts
- Print file foo.txt to the default printer.
enscript foo.txt
- Print file foo.txt to printer ossu.
enscript -Possu foo.txt
- Print file foo.txt, but leave PostScript output to file foo.ps.
enscript -pfoo.ps foo.txt
- Print file foo.txt to two columns.
enscript -2 foo.txt
- Print file to two columns and rotate output 90 degrees (landscape).
enscript -2r foo.txt
- Print file in duplex (two side) mode (printer dependant).
enscript -DDuplex:true foo.txt
- My default code printing command: gaudy header, two columns, landscape, code highlighting, 2-up printing.
enscript -G2rE -U2 foo.c
- A nice HTML report of your project’s C source files
enscript -E --color -whtml --toc -pfoo.html *.h *.c
-X name, --encoding=name
- Use the input encoding name. Currently enscript supports the following encodings:
- 88591, latin1 = ISO-8859-1 (ISO Latin1) (enscript’s default encoding).
- 88592, latin2 = ISO-8859-2 (ISO Latin2)
- 88593, latin3 = ISO-8859-3 (ISO Latin3)
- 88594, latin4 = ISO-8859-4 (ISO Latin4)
- 88595, cyrillic = ISO-8859-5 (ISO Cyrillic)
- 88597, greek = ISO-8859-7 (ISO Greek)
- 88599, latin5 = ISO-8859-9 (ISO Latin5)
- 885910, latin6 = ISO-8859-10 (ISO Latin6)
- ascii = 7-bit ascii
- asciifise, asciifi, asciise = 7-bit ascii with some scandinavian (Finland, Sweden) extensions
- asciidkno, asciidk, asciino = 7-bit ascii with some scandinavian (Denmark, Norway) extensions
- ibmpc, pc, dos = IBM PC charset
- mac = Mac charset
- vms = VMS multinational charset
- hp8 = HP Roman-8 charset
- koi8 = Adobe Standard Cyrillic Font KOI8 charset
- ps, PS = PostScript font’s default encoding
- pslatin1, ISOLatin1Encoding = PostScript interpreter’s ‘ISOLatin1Encoding’

