home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 5
/
FreshFish_July-August1994.bin
/
bbs
/
text
/
pastex-1.3-1of8.lha
/
PasTeX
/
Archives
/
dvi2lj-0.49.lha
/
dvi2xx.histo
< prev
next >
Wrap
Text File
|
1992-09-09
|
23KB
|
552 lines
MINIDESCRIPTION FOR DVI2XX
This is a description of a dvi converter (dvi= TeX's device independent
output format) that runs on PCs (XTs, ATs or compatible) under MS/DOS.
DVI2XX is able to produce either device dependent code for the
HP-LaserJet+ or for the IBM3812 (model 1) depending on a preproscessor
switch at compile time. The documentation concerning compile switches
is located in the source.
DVI2XX can be called with the following options:
-aXXX directory to take fonts from
-b take paper for first page from alternate cassette (only 3812)
-eXXX output file: either drive:path\name of outputfile
or device (such as lpt1, nul etc)
(default is drive:path\name of dvi file and extentsion
'.lj' for laserjet and '.pmp' for 3812)
-hXXX headerfile to be copied before translation of dvi-file
(you can send arbitrary commands to the laserprinter)
-fXXX print from begin of page xxx
-tXXX print to end of page xxx
-mXXX magnification
-xXXX global x-offset in mm on output page
-yXXX global y-offset in mm on output page
-r toggle reverse/not reverse order for output
(default reverse=FALSE for 3812, reverse=TRUE for LJ)
-p turn off font preload
-q quiet operation
-w no warnings
If no arguments are specifyed a short help file is displayed.
Two 'special' commands are implemented for the 3812:
\special{file=drive:path/name}
copy specified file to the printer;
either vector- or bitmap-graphics PMP commands
\special{orientation=Value}
set page orientation to 0, 1, 2, 3;
rotate following output to landscape mode etc.
Depending on print direction!
With the file= special TeX command I have faked the signature of
my boss with nice thick ink. It is simply the pmp command for a
polygon drawing and it looks surprisingly natural.
The program part for redirection of the output to the printer without
intermediate spool file was relatively tricky and uses a IOCTL bios-call.
The performance of the program is about 6 to 7 seconds per page on a
AT with 8Mhz in the 3812 mode. It is running on our configuration
via PC-NET.
Currently two font formats are supported: PXL 1001 and PXL 1002.
The program assumes the following pixelfile structure (the characters
under quotes are mandatory):
someroot
...
"pxl"1500
amr10.pxl
cmr10.pxl
...
"pxl"1643
amr10.pxl
cmr10.pxl
...
...
300dpi files can be used with an adequate magnification (-m#1250 option).
The following characters (all of them occur in the program) might be
translated wrongly by the ASCII-EBCDIC-ASCII conversion during uploading
and downloading respectively:
! exclamation point
[ left square bracket
\ left slash (backslash)
] right square bracket
{ left curly bracket
| vertical bar
} right curly bracket
If the characters in the first column do not correspond to their verbal
description fix the C-program adequately.
The program can be compiled with microsoft C Rel.3 or later using the
-AL compiler option. If you have no adequate C-compiler at your site I can
send also the compiled code via e-mail. If you have troubles with downloading
please send me a floppy.
On troubles please read first comments ot the begin of the source
program. Otherwise contact me.
- Gustaf Neumann
Wirtschaftsuniversitaet Wien
Institut fuer Informationsverabeitung und Informationswirtschaft
A-1090 Vienna
Augasse 2-6
Austria (Europe)
EARN/BITNET: NEUMANN at AWIWUW11
ARPA: neumann%awiwuw11.bitnet@wiscvm.ARPA
=========================================================================
Date: 25 August 1987, 16:58:19 WUT
From: NEUMANN at AWIWUW11
Subject: New release (0.30) of dvi2xx
Hi (potential) dvi2xx-user...
There is a new relase (0.30) of the dvi/3812 and dvi/HPLJ+
converter. The new release features in the following points:
- it accepts the new PK 89 format (Rokicki, Tugboat Vol 6, 1985, No. 3)
that uses much less disk storage (about 1/4th of PXL1001 files),
- it is possible to specify a 'string of paths' to be searched for the
PXL- or PK-files; the paths are separated by semicolons,
- it accepts as file-extension either '.pxl' or '.pk',
- the formats of the pixel-files (PXL-1001, PXL-1002, PK-89)
can be arbitrarily mixed;
eg. CMR10 can be in PXL-1002 format, CMINCH can be in PK-89,
- the amount of storage in the PC is reduced especially when
PK-files are used,
- an unimportant bug from the timing measurements has been removed,
- verbatim mode can be set via commandline option -v, that informs
the user, which fonts are loaded.
We are using the driver here in the following setup.
We have a print-server (IBM PC-AT) that is connected on one side with
the 3812 via 19200/asynchronous port, and on the other side with a bunch
of PC-ATs via IBM PC-Net. We use PC-TeX on the ATs. Historically
all of the PXL-files have been on the print-server in 1002-format
being accessed from the dvi-driver over the network.
In the new setup, each of the PCs has a small set of the most used
PK-fonts. By specifying with the commandline option of dvi2xx
'-aLOCALFONTS;SERVERFONTS' where LOCALFONTS and SERVERFONTS are valid
fontdirectories, each font is searched first in LOCALFONTS
and if it is not found there in SERVERFONTS. Only seldomly used fonts
are accessed via PC-NET. The network load was reduced in this way
drastically, the speed improvement is about 30%.
If you have interest to receive the new version, please send a short
note ....
-gustaf
=========================================================================
Date: 12 November 1987, 12:11:00 WUT
From: NEUMANN at AWIWUW11
Subject: New release (0.31) of dvi2xx .. supports also new dir-structure
The newer versions of PCTeX (and some TeX-drivers) are distributed with
fonts put into a different directory structure that uses in the
directory names RESOLUTIONS rather than MAGNIFICATIONS.
The old directory structure standard was:
somerootA
...
"pxl"1500
amr10.pxl
cmr10.pxl
cminch.pk
...
"pxl"1643
amr10.pxl
cmr10.pxl
tt10.pk
...
...
The new directory structure looks like:
somerootB
...
"DPI"300
amr10.pxl
cmr10.pxl
cminch.pk
...
"DPI"329
amr10.pxl
cmr10.pxl
tt10.pk
...
...
Rel 0.31 supports both structures, it is possible to specify
a path ('-a' option eg '-asomerootA;somerootB').
The search order in one directory is:
1) look for DPI....\font.pk where '...' is eg 240
2) look for DPI....\font.pxl or 300
3) look for pxl....\font.pk where '...' is eg 1200
4) look for pxl....\font.pxl or 240
=========================================================================
Date: 1 Dezember 1987, 14:11:00 WUT
Rel 0.32 initializes in LJ-mode the printer and resets it after run;
helps when operating with the LJ2
=========================================================================
Date: 18 Dezember 1987, 18:18:00 WUT
Rel 0.33 runs without any modifications under Unix V (HP/UX);
improved messages for missing fonts.
========================================================================
Date: 5 January 1988, 04:04:04 WUT
From: NEUMANN at AWIWUW11
Subject: New release (0.40) of dvi2xx
Hi everybody!
The holidays are over and there comes a new release (0.40) of DVI2XX.
It has two major improvements over the previous release:
a) It supports 'HUGE' pixel characters;
b) it does a better positioning which is important mainly for the 3812.
c) Page origin is now on the 3812 and on the LJ2 1 inch from the left and
right edge of the paper.
d)