Make your own free website on Tripod.com

SAP Script Tutorials Page 45

myitcareer.org-Your IT Career Partner For Life. Please Bookmark It.
Software Engineering Tools | Buy Book | Buy Phone | Top Web Hosts | Rules Engines
Yoga Meditation | Invention Ideas | Wireless Health, mHealth | Manage Project
Knowledge Management
Plan Wedding | Online Tuition | Top Domain Registrars
Hire Freelancer | Hosting Charges | Android Application Design and Development

49 The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2,
the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when
printing. Line printers and page-oriented printers not supported in the standard ignore these
commands. You can view the resulting printer output in the SAPscript print preview.
Syntax:
8. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY] 9. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE] 10. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE] 6.19.1 BOX Command Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect:
draws a box of the specified size at the specified position.
Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT, and FRAME, you must specify both
a measurement and a unit of measurement. Specify the INTENSITY parameter as a percentage
between 0 and 100.
XPOS, YPOS
Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a
box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
WIDTH
Width of the box. Default: WIDTH value of the SIZE command.
HEIGHT
Height of the box. Default: HEIGHT value of the SIZE command.
FRAME
Thickness of frame.
Default: 0 (no frame).
INTENSITY
Grayscale of box contents as %.
Default: 100 (full black)
Measurements: You must specify decimal numbers as literal values (like ABAP numeric
constants) by enclosing them in inverted commas. Use the period as the decimal point
character. See also the examples listed below.
Units of measurement: The following units of measurement may be used: TW (twip) PT (point) IN (inch) MM (millimeter) CM (centimeter) LN (line) CH (character). The following conversion factors apply: 1 TW = 1/20 PT 1 PT = 1/72 IN 1 IN = 2.54 CM 1 CM = 10 MM 1 CH = height of a character relative to the CPI specification in the form header 1 LN = height of a line relative to the LPI specification in the form header

/: BOX FRAME 10 TW Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10 Fills the window background with shading having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Previous Page|Next Page