J
John M
Hi,
Is there a way to specify a user-defined HPGL coordinate system where
the origin (0,0) of the HPGL coordinate system is the (arbitrary) position
of the pen when
changing from PCL mode to HPGL mode?
Example:
[ESC sequence 1]
[ESC sequence 2]
[ESC sequence 3]
This is a test.
Lets say that the position of
the pen is (100,80) after this
text has been printed out.
[Enter HPGL mode]
[Set origin (0,0) of HPGL coordinate system to (100,80)]
[PA10,10]
[EA2500,1500]
In this example, a rectangle is specified by its lower left corner
at 10,10 and upper right corner at 2500,1500 which in the
PCL coordinate system would correspond to:
Lower left corner in PCL coordinates = (100+10,80+10)
Upper right corner in PCL coordinates = (100+2500,80+1500)
Thank you.
Is there a way to specify a user-defined HPGL coordinate system where
the origin (0,0) of the HPGL coordinate system is the (arbitrary) position
of the pen when
changing from PCL mode to HPGL mode?
Example:
[ESC sequence 1]
[ESC sequence 2]
[ESC sequence 3]
This is a test.
Lets say that the position of
the pen is (100,80) after this
text has been printed out.
[Enter HPGL mode]
[Set origin (0,0) of HPGL coordinate system to (100,80)]
[PA10,10]
[EA2500,1500]
In this example, a rectangle is specified by its lower left corner
at 10,10 and upper right corner at 2500,1500 which in the
PCL coordinate system would correspond to:
Lower left corner in PCL coordinates = (100+10,80+10)
Upper right corner in PCL coordinates = (100+2500,80+1500)
Thank you.