PRINT Method
◄Summary► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
Prints a numeric or string expression on a form, picture box, or to the
printer; printing starts at the position indicated by the CurrentX and
CurrentY properties. Use the PRINT statement for non-form functionality.
See: ◄PRINT Statement►
[form.][picturebox. | PRINTER.]PRINT [USING formatstring$;][expressionlist]
■ USING formatstring$; String expression containing:
• The literal string to print
• One or more format specifiers that determine
the field and format of the printed strings
or numbers
■ expressionlist Numeric or string expressions to print. If
omitted, PRINT prints a blank line. If multiple
expressions are printed, they must be separated
by one of the following characters:
Value Description
══════════ ══════════════════════════════════
; or space Semicolon or space; places cursor
immediately after the last
character displayed
, Comma; places cursor at the start
of the next print zone (every 14
columns)
Applies To
◄Form► ◄Picture Box Control►
◄PRINTER Object►
See Also
◄CurrentX Property► ◄CurrentY Property►
◄Format Specifiers► ◄LPRINT Statement►
◄Methods Summary► ◄PRINT Statement►
◄PRINT # Statement► ◄PRINTFORM Method►
◄TAB Function► ◄SPC Function►