HP-GL/2 Emulation
617
Appendix
16
If the Scaling Mode is the ACA
1) Obtain the coordinate area to be active from the HP-GL data entered, in accord
with the area determination mode.
2) As a margin, add the larger value of either the font size specified in the page, the
default size or one half the specified pen width, to the active coordinates area
obtained in step 1.
3) Subtract the value set in paper margins from the active coordinates area obtained
in step 2.
4) The ACA obtained in the process up to step 3 will be the document size.
For Example:
If the following data is entered when the scaling mode is paper size, origin position is
Auto, paper margin is 10mm, and area determination mode is IP:
All pen width settings are 0.1 mm.
The following data does not contain a character size specification command and the
A3 physical size of the area specified by IP/IW.
IN;
IP-8399,-5938, 8399, 5938;
IW-8399,-5938, 8399, 5938;
PU;
SP1;
:
:
SP0;
1) As the area determination mode is IP, the active coordinates area is specified as
the area -8399,-5938,8399,5938 by an IP command.
2) Because there are no font size specification commands and all pen widths are 0.1
mm in the above example, add the height/2 of the default font size for A3 size
paper (75 plotter units) to the active coordinates area obtained in step 1.
The active coordinates area obtained in step 2 is -8474,-6013,8474,6013.
3) The value set in paper margins (10 mm = 400 plotter units) is subtracted from the
active coordinates area obtained in step 2.
The active coordinates area obtained in step 3 is -8074,-5613,8074,5613.
4) As the active coordinates area obtained in step 3 exceeds the A4 size and is A3
size, the document size is determined to be A3.
In addition, when the paper margin setting is 0 mm and the active coordinates area
is 8474,-6013,8474,6013, and this exceeds A3, but is A2 or smaller, the document size
is determined to be A2.