Find more freelance jobs
|
21
3.2.2 Supported Printers
You can print boxes, lines, and shading on any page printer that uses one of these SAPscript printer drivers in its device-type definition: · HPL2 Hewlett-Packard LaserJet family and compatibles · POST PostScript-compatible printers · PRES Kyocera printers (Prescribe printer language). 3.2.3 Boxes, Lines, Shading: BOX, POSITION, SIZE Use the BOX, POSITION, and SIZE commands for drawing boxes, lines, and shading to print particular windows within a form or passages of text within a window in a frame or with shading. 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: 4. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY] 5. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE] 6. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE] 3.2.3.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 Previous Page|Next Page |