webforms - Connect local USB printer to work on azure website -


i student , working on project on practice. have database on azure , website connected database on azure. want print pos-label website. label want print in code visual studio.

but when try print website says: settings access printer not valid. how can fix that? have read people making virtual machine on azure , work there.

i can't use javascript:window.print() because don't want print website, code.

var ps = new printersettings();             ps.printername = "brother ql-500";             var size = new papersize("my size", 2, 1);             ps.defaultpagesettings.papersize = size;             recorddoc.printersettings = ps;             recorddoc.print(); 


Comments