CTAN masthead graphic CTAN lion sketch

Directory: CTAN home / tex-archive/ graphics/ hpgl2ps

Subdirectories of this one

There are no subdirectories here.

Files in this directory

NameDateSize Description
Makefile 1992-09-27 1003 bytes download
README 1992-09-27 1 Kbyte download Shown below
changesizes.c 1992-09-27 1 Kbyte download
circle.c 1992-09-27 1 Kbyte download
defn.h 1992-09-27 2 Kbyte download
dxy2ps.c 1992-09-27 1 Kbyte download
dxy2ps.man 1992-09-27 2 Kbyte download
dxycom.c 1992-09-27 2 Kbyte download
end_draw.c 1992-09-27 192 bytes download
foo.ps 1992-09-27 5 Kbyte download
getval.c 1992-09-27 752 bytes download
hpgl2ps.c 1992-09-27 1 Kbyte download
hpgl2ps.man 1992-09-27 2 Kbyte download
hpglcom.c 1992-09-27 11 Kbyte download
linesize.c 1992-09-27 262 bytes download
linetype.c 1992-09-27 2 Kbyte download
manualfeed.c 1992-09-27 585 bytes download
plotcoords.c 1992-09-27 819 bytes download
plotdot.c 1992-09-27 677 bytes download
plotinit.c 1992-09-27 1 Kbyte download
plotps.c 1992-09-27 1 Kbyte download
ps_macros.c 1992-09-27 4 Kbyte download
rectangle.c 1992-09-27 663 bytes download
test1.dxy 1992-09-27 255 bytes download
test1.hpgl 1992-09-27 1 Kbyte download
textps.c 1992-09-27 1 Kbyte download
viewport.c 1992-09-27 1 Kbyte download

Contents of the README file

There are two filters in this package which are based on the Roland
plotter command set.

1. DXY: A simple command set which is used with all DXY plotters

2. RD-GL: This command set is a superset of the HP (Hewlet Packard)
   graphics language.

Not all the commands of DXY or RD-GL (HPGL) are implemented (approx 95%
are) and those commands that are not are skipped and a warning given.
It is very easy to add to this filter if a particular unimplemented
command is desired.

If you wish to implement a command go to the relevant portion in the
command switch "dxycom.c" or "hpglcom.c" and call an appropriate user
written procedure.  (You will need a good knowledge of writing
PostScript programs)

The filters use the the procedure "getopt" which is used to interpret
command line options and arguments and is normally available on 4.3 bsd
and Sys V Unix. For those sites running 4.1 or 4.2 it may be available
as a local library and must be written into the Makefile.

IF YOU DONT HAVE GETOPT YOU WILL HAVE REWRITE THE CODE THAT INTERPRETS
COMMAND LINE OPTIONS AND ARGUMENTS.

NOTE 1: The method of writing text is not fully compatible with HPGL
and will be changed at a later date.

NOTE 2: The PostScript macros are written into a C procedure to allow
each filter to be a single stand alone program. These macros can easily
be incorporated into other filter programs.

I have written some test procedures for the testing of each filter they
are "test1.hpgl" for hpgl2ps and "test1.dxy" for dxy2ps.

Don McCormick.


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.