1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 16:45:53 +00:00
QB64-PE/internal/help/LPRINT.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
Added new _STRCMP and _STRICMP commands for quick string comparisons.
Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders.
Altered UCASE and LCASE routines to be faster in some situations for us.
2014-09-22 08:19:03 -04:00

25 lines
1.3 KiB
Plaintext

The {{KW|LPRINT}} statement sends string text or numerical values to a parallel port(&lt;tt&gt;LPT1&lt;/tt&gt;) printer in Qbasic or a USB printer in '''QB64'''.
{{PageSyntax}}
:{{KW|LPRINT}} [{{Parameter|text$}}] [{;|,}]
{{PageDescription}}
* {{Parameter|expressionList}} is one or more expressions separated by a semi-colon (;) or comma (,).
* Syntax is the same as [[PRINT]], but cannot use a port number.
* Program does not have to [[OPEN]] the LPT1: parallel port. In fact that is NOT recommended!
* Assumes a 80 character wide page unless a {{KW|WIDTH|WIDTH LPRINT}} statement is used.
* [[LPRINT USING]] can print formatted data to a page, similar to [[PRINT USING]].
* [[COLOR]]ed text and images can be printed using [[_PRINTIMAGE]] which stretches them to fit the default printer's paper size.
* LPRINT will only print to the DEFAULT USB or LPT printer that works in Windows.
*'''[[Keywords currently not supported by QB64|WIDTH LPRINT is currently NOT supported in QB64!]]'''
* [[Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in_Linux_or_MAC_OSX_versions|Keyword Not Supported in Linux or MAC versions]]
{{PageSeeAlso}}
* {{KW|LPRINT USING}}, {{KW| _PRINTIMAGE}} {{text|(prints color images)}}
* {{KW|PRINT}}, {{KW|PRINT USING}}
{{PageNavigation}}