bas7advr.hlp (Topic list)
LPRINT Statement Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
LPRINT prints data to the printer LPT1.
 
LPRINT [expressionlist] [{;|,}]
 
Important
    ■ Because the LPRINT statement uses the LPT1 printer device, you should
      not use LPRINT in a program that also contains an OPEN "LPT1"
      statement. Using these two statements together produces unpredictable
      results.
 
Usage Notes
    ■ This statement functions in the same way as the PRINT statement
      except that output goes to the printer.
    ■ The printer output from the LPRINT statement will be the same as the
      screen output from a PRINT statement, if both statements have the
      same expressionlist values and output-line width.
    ■ The LPRINT statement assumes an 80-character-wide printer. This
      width can be changed with a WIDTH statement.
    ■ If you use LPRINT with no arguments, a blank line is printed.
    ■ An LPRINT CHR$(13) statement outputs both CHR$(13) and CHR$(10),
      providing compatibility with BASICA.