[comp.graphics] Filter for hpgl -> PMP

knop@duteca (P. Knoppers) (01/08/90)

I have not been reading this newsgroup for quite a while. So this
subject may have been covered >14 days ago...
I need a filter that reads hpgl and outputs something that is 
understood by IBM 3812 printers. IBM calls the commands of this
printer "Page Map Primitive Commands". 

BTW, does anyone know what the code "PS4;" means ? (I found it in 
the pre-amble of an hpgl file).
-- 
  _____       __  __  __  __   ____   _____   _____   ______  _____    _____ 
 |  _  \     |  |/  ||  \|  | /    \ |  _  \ |  _  \ |   ___||  _  \  /  ___|
 |   __/ _   |     < |      ||  ||  ||   __/ |   __/ |   >__ |     <  \__  \
 |__|   |_|  |__|\__||__|\__| \____/ |__|    |__|    |______||__|\__||_____/
P. Knoppers, Delft Univ. of Technology, The Netherlands, knop@duteca.tudelft.nl

dave@micropen (David F. Carlson) (01/10/90)

In article <704@duteca3.UUCP>, knop@duteca (P. Knoppers) writes:
> I need a filter that reads hpgl and outputs something that is 
> understood by IBM 3812 printers. IBM calls the commands of this
> printer "Page Map Primitive Commands". 
> 
> BTW, does anyone know what the code "PS4;" means ? (I found it in 
> the pre-amble of an hpgl file).

From the HP7475A "Interfacing and Programming Manual"

PS: Paper Size instruction
0-3:    "B" or "A3" size
4-127:  "A" or "A4" size

If you are serious about writing a hpgl-><any> filter, get this book.
-- 
David F. Carlson, Micropen, Inc.
micropen!dave@ee.rochester.edu

"The faster I go, the behinder I get." --Lewis Carroll

gallag@hp-and.HP.COM (Mike Gallagher) (01/10/90)

> BTW, does anyone know what the code "PS4;" means ? (I found it in 
> the pre-amble of an hpgl file).

From the HP 7475A Graphics Plotter Manual:

PS  The Paper Size Instruction

    PS  paper size;

    Purpose:	Can be used to toggle between A and B, or A3 and A4 paper sizes.

    Parameters:	0-3 or 4-127; 0-3 selects either B or A3 size paper; 4-127
		selects A or A4 size paper.

Mike Gallagher