LPRINT AND LPRINT USING¶
Implementation Note¶
⚠️ Not Implemented: This feature requires line printer hardware and is not implemented in this Python-based interpreter.
Status: Statement is parsed but produces no output
Why Not: Line printers are obsolete hardware. Modern systems use different printing paradigms (print spooling, PDF generation, etc.).
Recommended Alternative: Use PRINT to output to console or PRINT# to output to a file, then print the file using your operating system's print facilities.
Historical Documentation: The content below is preserved from the original MBASIC 5.21 manual for reference.
Syntax¶
Versions: Extended, Disk
Purpose¶
To print data at the line printer.
Remarks¶
LPRINT works exactly like the PRINT statement except that output goes to the line printer instead of the screen. LPRINT USING works exactly like PRINT USING except output goes to the line printer.
Example¶
10 LPRINT "Sales Report for "; DATE$
20 LPRINT
30 LPRINT "Item", "Quantity", "Price"
40 LPRINT USING "##: $$###.##"; ITEM, PRICE