BOX Command SAP SCRIPT
BOX Command SAP SCRIPT
HT and F"#$ %oth a meas&rement and a &n't of meas&rement m&st %e s(ec'f'ed) The I*T *SITY (arameter sho&+d %e s(ec'f'ed as a (ercenta,e %et-een . and /..) /) XPOS, YPOS: 0((er +eft corner of the %ox, re+at'1e to the 1a+&es of the POSITIO* command) Defa&+t: 2a+&es s(ec'f'ed 'n the POSITIO* command) The fo++o-'n, ca+c&+at'on 's (erformed 'nterna++y to determ'ne the a%so+&te o&t(&t (os't'on of a %ox on the (a,e: X3a%s4 5 XO"I!I* 6 XPOS Y3a%s4 5 YO"I!I* 6 YPOS 7) WIDTH: W'dth of the %ox) Defa&+t: WIDTH 1a+&e of the SI8 command) 9) H I!HT: He',ht of the %ox) Defa&+t: H I!HT 1a+&e of the SI8 command) :) F"#$ : Th'c;ness of frame) Defa&+t: . 3no frame4) <) I*T *SITY: !raysca+e of %ox contents as = ) > TW 3t-'(4 > PT 3(o'nt4 > I* 3'nch4 > $$ 3m'++'meter4 > C$ 3cent'meter4 > ?* 3+'ne4 > CH 3character4) /: BOX F"#$ /. TW Dra-s a frame aro&nd the c&rrent -'ndo- -'th a frame th'c;ness of /. TW 35 .)< PT4) /: BOX I*T *SITY /. F'++s the -'ndo- %ac;,ro&nd -'th shado-'n, ha1'n, a ,ray sca+e of /. =) /: BOX H I!HT . TW F"#$ /. TW
Dra-s a hor'@onta+ +'ne across the com(+ete to( ed,e of the -'ndo-) /: BOX WIDTH . TW F"#$ /. TW
So -r'te the BOX command, %e+o- that command, -r'te the text 'n the +ayo&t, that -'++ %e (r'nted 'ns'de the BOX