network-printers

Rawprinterhelper network printer ASP.NET MVC

江枫思渺然 提交于 2021-02-10 15:21:20
问题 I'm having trouble trying to print a document from a ASP.NET MVC3 application using RawPrinterHelper (the printer support class developed by Microsoft). I need to send RAW data to a printer which is locally connected to a computer in the network. In my development environment (MS Visual Studio 2010) everything works well. I installed the printer in my OS as a network printer and I pass the name of that printer to RawPrinterHelper. On the real test server things don't work at all. The OS is

Connect to printer connecting on local network

半城伤御伤魂 提交于 2020-01-25 06:40:49
问题 I am new to android and working on printing modules now a days.I am developing an app to send print receipt to printers connected on my local network of my own choice. I am interested to see how many printers are connected on my local network if i click them the details should be shown somewhere. What i have tried to achieve this is implemented the example https://github.com/Bhagvati/NSD-Network-service-discovery-Android/blob/master/NSD/src/com/example/android/nsd/NSDMainActivity.java I have

Install network printer via web application (html)

╄→гoц情女王★ 提交于 2020-01-05 07:13:52
问题 I'm trying to write a simple web interface to allow users to install one of a few predefined network printers. I had initally thought this would be a simple task, as I can easily install printers via the run command by hitting the printer dead on (\printserv\printername). I had planned to either use that in the tag, or prefix it with a "file://" but both methods result in the following error "\printserv\printername is not accessible. You might not have permission to use this network resource.

Configuring a POS printer for remote printing

心不动则不痛 提交于 2019-12-24 20:20:09
问题 How can I configure a restaurant's POS printer to print orders from a web site? We have an online ordering web application, based on .NET/SQL. Once the order is submitted online, we want to print it on the POS printer in the restaurant. POS Printer - Epson TM-88V, or equivalent Printer is connected to internet directly(or through a router), but NOT through a PC! The online ordering system is Clorder (http://www.clorder.com) Any guidance is greatly appreciated. 回答1: You will need to configure

“There is no default printer selected” error when Windows default printer is not set up

蹲街弑〆低调 提交于 2019-12-23 06:09:31
问题 I need to open the Printer Dialog box when there is no Windows default printer setup. It works fine with the below code when a Windows default printer is set up. TPrintDialog *dlgPrint = new TPrintDialog(frmDisplayDetail); if( dlgPrint->Execute()) { //code here } But if there is no default printer setup in Windows, dlgPrint->Execute() throws an exception: There is no default printer selected To check the default printer index, I used Printer()->PrinterIndex . This value becomes inaccessible

check if installed network printer is online

我只是一个虾纸丫 提交于 2019-12-21 04:53:13
问题 I want to check if printer is online. For this I get the printer handle with OpenPrinter. Then I want to use PRINTER_STATUS_OFFLINE in PRINTER_INFO_6 with GetPrinter(). The result is always 0? How do I get the offline state of my printer? Code I used. bool IsPrinterOnline(wstring strPrinterFriendlyName) { HANDLE hPrinter ; if ( OpenPrinter(const_cast<LPWSTR>(strPrinterFriendlyName.c_str()), &hPrinter, NULL) == 0 ) { /*OpenPrinter call failed*/ return false; } DWORD dwBufsize = 0; PRINTER_INFO

How to get Printers from Network which is not installed in my system?

 ̄綄美尐妖づ 提交于 2019-12-20 02:07:37
问题 I want to search how many printers are available in network. I have checked with Installed printer property and it gives me those printer list which are installed on my system. I have more than two printers in my network where only one showing in list because it installed on my System. How to get all printer list from Network who's drivers are not installed on my system or not connected to my system. 回答1: I know this post is quite old, but I've been battling with the same issue. I eventually

How to get Printers from Network which is not installed in my system?

纵然是瞬间 提交于 2019-12-20 02:07:17
问题 I want to search how many printers are available in network. I have checked with Installed printer property and it gives me those printer list which are installed on my system. I have more than two printers in my network where only one showing in list because it installed on my System. How to get all printer list from Network who's drivers are not installed on my system or not connected to my system. 回答1: I know this post is quite old, but I've been battling with the same issue. I eventually

Receipt Printer - print from webpage

让人想犯罪 __ 提交于 2019-12-18 13:48:20
问题 I have a receipt Printer and it connected to Serial COM1 on to my comuter. I am trying to print a receipt from the webpage and when it print... it just a blank without any text. (Blank receipt!). It work fine on IE8 but not working on Firefox 3.6 I have an Epson TM-T88II Printer and using "Generic / Text" driver on Windows 7. What is the solution to this? HTML code of receipt: <html> <head> <title></title> </head> <body> <div> <div>Company Name</div> <div>Customer Name</div> <div>Order No<

Multiple snmp open port

拟墨画扇 提交于 2019-12-11 19:33:41
问题 I have a problem with SNMP. I connect to SNMP with PHP using this code: <?php $session = new SNMP(SNMP::VERSION_1, "xxx.xxx.xxx.xxx", "public"); $fulltree = $session->walk("."); print_r($fulltree); echo "<br>"; $session->close(); ?> The code works perfectly, it isn't the problem. The problem is can I have more IPs that I need connect with SNMP. I have a firewall (ZyWALL), and can have 4 printers. The problem occurs because I can set the 161 port only at one printer, and not at all. How I can