behnam_tr Active Member Licensed User Longtime User Jul 27, 2021 #1 hi with XLutils how print Excel file After creat ??? is it possible ??
Erel B4X founder Staff member Licensed User Longtime User Jul 27, 2021 #2 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
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).