473,388 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

paper out error not displaying vb.net application dos printing

HI
Iam printing a file from dos to a network thermal printer
VB.NET Code
Call Shell("print /d:\\pserver\laser1 c:\letter.txt")

in local printer
Call Shell("print C:\letter.txt")

when paper out or top cover open it does't show any error simply it showing printed

how to return paper out and other error codes from

VB.NET
Thanks In Advance
Jul 25 '12 #1
1 1794
Frinavale
9,735 Expert Mod 8TB
I've never used this myself, but check out the System.IO.SensorServices.Rfid.Client Namespace. It seems like it has the capability of determine if your printer is out of paper.

-Frinny
Jul 27 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Matt Calhoon | last post by:
Hi there, I have a webfarm which contains several ii6 web servers. A .net web application is running fine on all servers except one where I will occasionally get the error below; If I restart...
2
by: Regus | last post by:
When I publish my website on my host, i got this error. My web.config file does have the customError-tag on "remoteOnly", but still i get this error. Any idea what the problem is ? Server...
4
by: tommy | last post by:
hello everbody, i write a little asp-application with forms-authentication. i copy my aspx-files with web.config to my webspace and i get the error above... i tried to set the...
0
by: Darren | last post by:
Hi, I get the above error message when I try to run my page on the remote server. As I am a newbie with .net, I chose Project | Copy to copy the files needed to a seperate local directory then...
12
by: Kevin Farless | last post by:
Hi all, I'm having trouble viewing any .aspx pages on my hosting company's server. The server is a new box running Windows Server 2003 default installation. I'm the first client to try using...
3
by: doomster | last post by:
Hi, Recently we upgraded our Windows 2000 servers to Windows 2003. One of our websites which was working fine previouslyis now displaying ... 'Server Error in '/' Application' along with with...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.