04-06-2024, 03:22 PM
I'm struggling with sending some colored text to my printer. The wiki seems to suggest that this can be done using Lprint and _Printimage together but I'm getting error messages. Here is the simplest example of what I'm going -
I'm guessing here but it would seem _printimage does not work in Screen 0 and it would also appear that _printimage is looking for a numeric value rather than a string value, which means it's looking a page number or its looking for an image number?
I'm also wondering if the Color Red call would go before the LPrint and not after the LPrint as I have it here?
Thanks
Code: (Select All)
$Color:32
Cls , _RGB(255, 255, 255)
Screen _NewImage(640, 900)
Words$ = "Hello World"
PrintText
LPrint
LPrint
Sub PrintText
LPrint
LPrint
Color Red
_printimage words$
END SUB
I'm also wondering if the Color Red call would go before the LPrint and not after the LPrint as I have it here?
Thanks