write printer code using VB2003.....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lily86
    New Member
    • Aug 2008
    • 16

    write printer code using VB2003.....

    i would like to write a system that every time the user using the printer to print, when the user click on the print button user name and password are request after user key in then only the printing job continue...... now my problem is how to let the spooler pause and wait untill the user name correct only the printer continue printing!!! help please!!

    Thanks!
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    In the Print Button click event prompt the user for their credentials Before passing the print request to the printer.

    What language are you using to implement your project?
    Are you developing a desktop application or an ASP.NET application?

    -Frinny

    Comment

    • lily86
      New Member
      • Aug 2008
      • 16

      #3
      Thanks for your reply......

      i'm using VB.net..... is a desktop application.... i got test some code, it can run but stop the spooler very slow.....if i print 1 paper when the time request for user name the paper already print out.....hope you can help me!!! thanks a lot!!!

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Please post the code that you have.
        You should be prompting the user for their user name and password and checking if this is valid Before you call the print function.

        Comment

        Working...