Alternative to _PrintImage for Linux and WSL
Hi everyone,Since the _PrintImage statement isn't natively supported in Linux, I’ve developed an alternative for you to use. This program works seamlessly in both WSL and Linux Mint.
Key Features:
Set the number of pages and print area.
Support for duplex (double-sided) printing.
Toggle between color and grayscale.
Printer Selection: Unlike the native Windows _PrintImage statement which is limited to the default printer - this tool actually lets you choose which device you want to print to.
Feedback Needed: I only have a black-and-white printer available, so I would really appreciate it if you could test the color functionality and provide some feedback.
Technical Details: The dependencies and instructions for compiling the .so library are listed at the beginning of the BAS program code. The attached ZIP file includes:
.so library, C source code for the library, BAS program.
The .BAS program handles the page generation itself, so you should find it very easy to customize to your needs.
One final tip: Always remember to use a white background in your designs to avoid unnecessary printing costs!
Looking forward to your feedback.

