[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /pub/ibiblio/distributions/CTAN/dviware/dvi2pcl/
 
Current bandwidth utilization 635.84 Mbit/s
Bandwidth utilization bar
Contents of README:
$Log:	README,v $
# Revision 0.8  92/11/23  19:46:34  19:46:34  bt (Bo Thide')
# Fixed resolution bug. Portable downloading. Added/changed options. PJXL color support
# 
# Revision 0.7  92/11/13  02:41:14  02:41:14  bt (Bo Thide')
# More bug fixes and improvements. Support for PaintJet XL
# 
# Revision 0.6  92/11/10  21:47:34  21:47:34  bt (Bo Thide')
# Bug fixes. Added -R option. Better font handling.
# 
# Revision 0.5  92/11/09  16:25:21  16:25:21  bt (Bo Thide')
# Rewrite of dospecial.c. Extended \special support
# 
# Revision 0.4  92/11/08  02:45:13  02:45:13  bt (Bo Thide')
# Changed to portable bit manipulations. Replaced strrstr for non-POSIX compliant C. Fixed numerous bugs. Added support for more \special's.
# 
# Revision 0.3  92/08/24  12:45:21  12:45:21  bt (Bo Thide')
# Fixed 8 bit (dc font) support.
# 
# Revision 0.2  92/08/23  17:28:52  17:28:52  bt (Bo Thide')
# Source cleaned up.  Changed certain function calls.  Removed globals.
# 

This driver, called 'dvi2pcl', is able to download fonts both
dynamically and permanently.  There is a file called
'/usr/local/lib/tex/reslj.fnt' which contains information about which
fonts are permanently downloaded in the laser printer before 'dvi2pcl'
is used for the first time.  

The format of the font info file reslj.fnt is as follows:

fontname size fontnumber orientation [ROM]
MEMORY freemem

For example:

cmr6 300 1 P
cmr8 300 2 P
cmr10 300 3 P
cmr11 300 4 P
cmr12 300 5 P
cmbx12 300 6 P
cmti10 300 7 P
cmti12 300 8 P
cmsy6 300 9 P
cmsy8 300 10 P
cmsy10 300 11 P
cmsy12 300 12 P
cmmi6 300 13 P
cmmi8 300 14 P
cmmi10 300 15 P
cmmi12 300 16 P
MEM 2367054

The above file would indicate that 'cmrs' at a size of 300 dpi is
downloaded permanently in the portrait modes with font ID number 1 in
the laser printer.

If you plan not to use the pre-downloading feature (at this stage this is
strongly recommended!), change the 'reslj.fnt' file to the single line:

MEM2560000

A copy of this file is included in this package.  Move it to
/usr/local/lib/tex.  Of course, the fonts that are not in ROM, yet
mentioned in the file, must be downloaded before any TeX jobs are run.
The pk_crereslj command will create a file called
'/usr/local/lib/tex/initlj.fnt' which contains the quick commands to
download the fonts mentioned in '.../reslj.fnt'.  These programs must be
run every time the 'reslj.fnt' file is modified, and at installation.
The created 'initlj.fnt' file must be sent over the queue before any TeX
jobs, and again after every laser printer power cycle or crash.

The files from which the font information is loaded are given in 'paths.h':

#define fontpath "/usr/local/lib/tex/fonts/pk300"
#define tfmpath  "/usr/local/lib/tex/fonts/tfm/"
#define defaultpk "/usr/local/lib/tex/fonts/pk300/10pt/cmr10.300pk"
#define defaulttfm "/usr/local/lib/tex/fonts/tfm/cmr10.tfm"
#define respath  "/usr/local/lib/tex/reslj.fnt"
#define initpath "/usr/local/lib/tex/initlj.fnt"

For more info, read the man page (dvi2pcl.1).

 Uppsala 8 November, 1992

---
   ^   Bo Thide'--------------------------------------------------------------
  |I|        Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden
  |R|    Phone: (+46) 18-303671.  Fax: (+46) 18-403100.  IP: 130.238.30.23
 /|F|\          INTERNET: bt@irfu.se      UUCP: ...!mcvax!sunic!irfu!bt  
 ~~U~~ ----------------------------------------------------------------sm5dfw-

Icon  Name                                     Last modified      Size  
[DIR] Parent Directory - [TXT] Makefile 25-Nov-1992 01:00 3.4K [   ] README 25-Nov-1992 01:00 3.3K [TXT] TODO 25-Nov-1992 01:00 4.1K [TXT] betweenpages.c 25-Nov-1992 01:00 1.9K [TXT] cachefonts.c 25-Nov-1992 01:00 3.6K [TXT] checkfont.c 25-Nov-1992 01:00 2.6K [TXT] definefont.c 25-Nov-1992 01:00 3.2K [TXT] diagnostics.c 25-Nov-1992 01:00 2.8K [TXT] dim_to_dots.c 25-Nov-1992 01:00 2.0K [TXT] doallpages.c 25-Nov-1992 01:00 2.1K [TXT] doodevpages.c 25-Nov-1992 01:00 4.9K [TXT] dopage.c 25-Nov-1992 01:00 8.0K [TXT] dospecial.c 25-Nov-1992 01:00 14K [TXT] downloadchar.c 25-Nov-1992 01:00 5.0K [TXT] downloadfont.c 25-Nov-1992 01:00 8.1K [TXT] drawchar.c 25-Nov-1992 01:00 3.0K [TXT] drawrule.c 25-Nov-1992 01:00 1.7K [TXT] dvi.h 25-Nov-1992 01:00 3.4K [   ] dvi2pcl.1 25-Nov-1992 01:00 8.4K [TXT] firstpar.c 25-Nov-1992 01:00 2.9K [TXT] freebug 24-Nov-1992 01:00 819 [TXT] getcount.c 25-Nov-1992 01:00 1.5K [TXT] getoptions.c 25-Nov-1992 01:00 6.0K [TXT] globals.h 25-Nov-1992 01:00 6.5K [   ] hiscatlogo.pcl 25-Nov-1992 01:00 13K [   ] hpgl.tex 25-Nov-1992 01:00 210 [TXT] initialize.c 25-Nov-1992 01:00 3.4K [TXT] loadpkfile.c 25-Nov-1992 01:00 2.3K [TXT] loadtfmfile.c 25-Nov-1992 01:00 2.7K [TXT] macros.h 25-Nov-1992 01:00 2.5K [TXT] main.c 25-Nov-1992 01:00 5.1K [TXT] makepkdir.c 25-Nov-1992 01:00 3.4K [TXT] openpkfile.c 25-Nov-1992 01:00 2.7K [TXT] opentfmfile.c 25-Nov-1992 01:00 1.7K [TXT] paths.h 25-Nov-1992 01:00 1.5K [TXT] pcl.h 25-Nov-1992 01:00 4.8K [TXT] permfonts.c 25-Nov-1992 01:00 1.2K [   ] pjxl.sty 25-Nov-1992 01:00 541 [TXT] pk.h 25-Nov-1992 01:00 1.4K [TXT] pkcharinfo.c 25-Nov-1992 01:00 2.5K [TXT] pknum.c 25-Nov-1992 01:00 2.7K [TXT] pktopxl.c 25-Nov-1992 01:00 4.8K [TXT] postamble.c 25-Nov-1992 01:00 2.1K [TXT] posting 25-Nov-1992 01:00 3.5K [TXT] preamble.c 25-Nov-1992 01:00 2.4K [TXT] prescanpage.c 25-Nov-1992 01:00 4.1K [TXT] printbop.c 25-Nov-1992 01:00 1.4K [TXT] printfont.c 25-Nov-1992 01:00 1.4K [   ] reslj.fnt 25-Nov-1992 01:00 11 [   ] rotate.tex 25-Nov-1992 01:00 222 [TXT] rotatechar.c 25-Nov-1992 01:00 1.1K [TXT] rulepixels.c 25-Nov-1992 01:00 1.5K [   ] sample.tex 25-Nov-1992 01:00 733 [TXT] scanbop.c 25-Nov-1992 01:00 1.5K [TXT] skipfontdef.c 25-Nov-1992 01:00 1.5K [TXT] skipnextpage.c 25-Nov-1992 01:00 2.1K [TXT] skippages.c 25-Nov-1992 01:00 3.2K [TXT] sortfonts.c 25-Nov-1992 01:00 2.0K [TXT] storechar.c 25-Nov-1992 01:00 1.0K [TXT] storefont.c 25-Nov-1992 01:00 1.6K [TXT] supportmatrix 25-Nov-1992 01:00 901 [   ] tags 25-Nov-1992 01:00 3.6K

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!