Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using LPrint and _Printimage together
#1
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 -

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 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
Reply


Messages In This Thread
Using LPrint and _Printimage together - by Dimster - 04-06-2024, 03:22 PM



Users browsing this thread: 1 Guest(s)