CTAN masthead graphic CTAN lion sketch

Directory: CTAN home / tex-archive/ dviware/ dvi2pcl

Subdirectories of this one

There are no subdirectories here.

Files in this directory

NameDateSize Description
Makefile 1992-11-25 3 Kbyte download
README 1992-11-25 3 Kbyte download Shown below
TODO 1992-11-25 4 Kbyte download
betweenpages.c 1992-11-25 1 Kbyte download
cachefonts.c 1992-11-25 3 Kbyte download
checkfont.c 1992-11-25 2 Kbyte download
definefont.c 1992-11-25 3 Kbyte download
diagnostics.c 1992-11-25 2 Kbyte download
dim_to_dots.c 1992-11-25 1 Kbyte download
doallpages.c 1992-11-25 2 Kbyte download
doodevpages.c 1992-11-25 4 Kbyte download
dopage.c 1992-11-25 7 Kbyte download
dospecial.c 1992-11-25 13 Kbyte download
downloadchar.c 1992-11-25 4 Kbyte download
downloadfont.c 1992-11-25 8 Kbyte download
drawchar.c 1992-11-25 3 Kbyte download
drawrule.c 1992-11-25 1 Kbyte download
dvi.h 1992-11-25 3 Kbyte download
dvi2pcl.1 1992-11-25 8 Kbyte download
firstpar.c 1992-11-25 2 Kbyte download
freebug 1992-11-24 819 bytes download
getcount.c 1992-11-25 1 Kbyte download
getoptions.c 1992-11-25 6 Kbyte download
globals.h 1992-11-25 6 Kbyte download
hiscatlogo.pcl 1992-11-25 12 Kbyte download
hpgl.tex 1992-11-25 210 bytes download
initialize.c 1992-11-25 3 Kbyte download
loadpkfile.c 1992-11-25 2 Kbyte download
loadtfmfile.c 1992-11-25 2 Kbyte download
macros.h 1992-11-25 2 Kbyte download
main.c 1992-11-25 5 Kbyte download
makepkdir.c 1992-11-25 3 Kbyte download
openpkfile.c 1992-11-25 2 Kbyte download
opentfmfile.c 1992-11-25 1 Kbyte download
paths.h 1992-11-25 1 Kbyte download
pcl.h 1992-11-25 4 Kbyte download
permfonts.c 1992-11-25 1 Kbyte download
pjxl.sty 1992-11-25 541 bytes download
pk.h 1992-11-25 1 Kbyte download
pkcharinfo.c 1992-11-25 2 Kbyte download
pknum.c 1992-11-25 2 Kbyte download
pktopxl.c 1992-11-25 4 Kbyte download
postamble.c 1992-11-25 2 Kbyte download
posting 1992-11-25 3 Kbyte download
preamble.c 1992-11-25 2 Kbyte download
prescanpage.c 1992-11-25 4 Kbyte download
printbop.c 1992-11-25 1 Kbyte download
printfont.c 1992-11-25 1 Kbyte download
reslj.fnt 1992-11-25 11 bytes download
rotate.tex 1992-11-25 222 bytes download
rotatechar.c 1992-11-25 1 Kbyte download
rulepixels.c 1992-11-25 1 Kbyte download
sample.tex 1992-11-25 733 bytes download
scanbop.c 1992-11-25 1 Kbyte download
skipfontdef.c 1992-11-25 1 Kbyte download
skipnextpage.c 1992-11-25 2 Kbyte download
skippages.c 1992-11-25 3 Kbyte download
sortfonts.c 1992-11-25 2 Kbyte download
storechar.c 1992-11-25 1 Kbyte download
storefont.c 1992-11-25 1 Kbyte download
supportmatrix 1992-11-25 901 bytes download
tags 1992-11-25 3 Kbyte download

Contents of the README file

$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-

Small print: This listing is regenerated periodically so there is a small chance that the directory has changed from what is shown here; to be sure, check the FTP listing.