B4J Question xlutils > Can I print excel file ??

Erel

B4X founder
Staff member
Licensed User
Longtime User
The simplest way is to export it as PDF (requires a PC with Excel installed) and then let the user print it. This way the user will be able to choose the preferred printer.

If you are doing it in a specific configuration, you can install a PDF reader that supports command line printing and do it with jShell. It is also possible to print with PowerShell in a similar way that the PDF is created (see the code inside XLUtils.b4xlib).
 
Upvote 0
Top