advr.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
PRINT Method Details
  Summary  Details  Example                Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 [form.][picturebox. | PRINTER.]PRINT [USING formatstring$;][expressionlist]
 
 Usage Notes
   ■ The PRINT method is similar to the PRINT statement, except that output
     from the PRINT method may be sent to an object. See: PRINT Statement
 
   ■ Normally, when expressionlist is printed, a carriage return (^M) is
     appended so that the next PRINT begins printing on the next line.
 
   ■ Carriage returns affect PRINT method behavior and CurrentX and CurrentY
     values, depending on the character separator used to print multiple
     expressions:
 
     expressionlist Usage   PRINT Behavior          CurrentX and CurrentY
     ════════════════════   ═════════════════════   ════════════════════════
     Appended with a        No carriage return is   Set to the point
     semicolon (;)          appended; next PRINT    immediately after last
                            displays on the same    character printed.
                            line as the current
                            PRINT.
 
     Contains carriage      The current PRINT       Each embedded carriage
     returns                displays and spaces     return causes CurrentY
                            text as defined in      to be increased by one
                            expressionlist.         and CurrentX to be set
                                                    to zero.
 
     Appended with a        No carriage return is   Set to next print zone
     comma (,)              appended; next PRINT    on the same line.
                            displays beginning at
                            next print zone (a
                            print zone is every
                            14 columns).
 
   ■ Automatic scrolling does not occur if the printed string cannot fit in
     the specified form or picture box. Use horizontal and vertical scroll
     bars to view text that is printed beyond the boundaries of the
     specified form or picture box.
     See: Horizontal Scroll Bar Control  Vertical Scroll Bar Control
 
   ■ If the printed string is too long for the printer, it is either clipped
     on the right or wrapped to the next line, depending on your printer. If
     the string does not fit at the bottom of a printed page, a NEWPAGE
     occurs and the string is printed on the next page.
     See: NEWPAGE Method
 
   ■ You can control the print position using the SPC or TAB functions.
     See: SPC Function  TAB Function