paper out error not displaying vb.net application dos printing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srinivas1977
    New Member
    • Jul 2012
    • 1

    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\las er1 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
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    I've never used this myself, but check out the System.IO.Senso rServices.Rfid. Client Namespace. It seems like it has the capability of determine if your printer is out of paper.

    -Frinny

    Comment

    Working...