Jesse
Jesse

Reputation: 8393

Printing to a thermal printer from an mvc web application

Myself and team are currently in the planning stages of a re-write of a legacy visual basic 6 application. There are a few aspects of this application that don't seem to fit well with a web app as output is at times directly pushed to a thermal printer.

We were thinking of building a small standalone console application that simply listened to a print queue to handle this output.

Does this sound feasible?

Upvotes: 2

Views: 4218

Answers (2)

Timothy Strimple
Timothy Strimple

Reputation: 23060

We actually just implemented a solution similar to this in our own MVC application. We render what we need to print to a PDF and we print the PDF using the Foxit command line.

Upvotes: 2

Jeremy Thompson
Jeremy Thompson

Reputation: 65534

PDF for client-side printing seems to be WTG: Printing receipt ASP.NET

Otherwise if this is an internally accessed web app you may be able to use the thermal printer in server-side code - or from server-side code call a console app to queue print jobs.

Upvotes: 2

Related Questions