Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Printing Server Side from .Net (without WinForms)

Hey printing junkies need some pointers to send me in the right direction for this development.

I am developing an epos system for a local shop which we are later going to tie into an ecommerce site.

The front end of the epos system is going to be WinForms so we can handle USB devices easily and we are going to use a WebForms/MVC admin console.

One area we are inexperienced in is printing. We need to print barcodes, and wish to do this via the admin console (web based).

So (finally) the question. Where do we start looking for code that will allow us to print directly to a connected printer from the server (IIS) instance of .net from the webforms.

like image 947
Anthony Main Avatar asked Apr 08 '26 22:04

Anthony Main


1 Answers

System.Drawing.Printing

http://msdn.microsoft.com/en-us/library/system.drawing.printing.aspx

Creating the document is a lot like creating a dynamic image. I have not actually sent a document to the printer from a web app, but I don't see why you couldn't.

like image 64
Ryan Cook Avatar answered Apr 11 '26 11:04

Ryan Cook



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!