Printing to printer - Linux - LPRINT alternative?
#10
You might need to create a picture out of a QB64 program to be printed out later, but the main problem is that it might need to be exported to PDF to make life easier. Because QB64 has no support for saving to BMP, PNG, JPEG, PDF or any other image format popularly used.

But you could import the following routine found on the first post of this thread:

https://staging.qb64phoenix.com/showthread.php?tid=1253

Do not further confuse yourself with other posts on that thread; the other solution might work also but it has much more code that works only on Windows. This is focused only on BMP, which sucks I know and you might prefer instead to export to PNG or something else. Also this SaveImage() routine is slow but does the job.
Reply


Messages In This Thread
RE: Printing to printer - Linux - LPRINT alternative? - by mnrvovrfc - 05-27-2023, 02:59 AM



Users browsing this thread: 1 Guest(s)