Hi!
We have an ASP.NET Web Application installed on IIS on a web server. We want the users to be able to print labels from the Web Application on their local default printer connected with USB. Is this possible? If it is possible I would much appricate some code samples.
As List & Label runs on the server side only, it has no access to the printer on the client. That said, you may of course export to e.g. PDF and then print this using the usual button click on the printer icon. If you’re looking for an automated way and an installation on the client is feasible, you could think of deploying an app on the client that would register for a custom protocol, download a preview file and print this.
Just come back here if we can be of any further help. Printing a preview file from an app is very easy, you just need this method from the PreviewFile class. This app would then need to be registered for your custom URL scheme, here’s a primer on the topic: