mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-16 16:44:05 +00:00
6e01fc8dce
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.
25 lines
No EOL
1.3 KiB
Text
25 lines
No EOL
1.3 KiB
Text
The {{KW|LPRINT}} statement sends string text or numerical values to a parallel port(<tt>LPT1</tt>) 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}} |