Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Printer Status

Printer Status

Scheduled Pinned Locked Moved Visual Basic
help
8 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    specialdreamsin
    wrote on last edited by
    #1

    Hi all, I have an application in Visual Basic 6.0, which spools text to a text file and then prints. After printing file will be deleted. But here, I couldn't know printer status. Is printing over or still printing...I couldn't know. If I know, I wont delete the file. If that is single file, then I can adjust, but continually 10 files will be printed. All I want to know the status of the Printer...Please help me out. Ramesh Sambari

    Knowledge is like honey. Collect it, to make life sweet.

    C N S 3 Replies Last reply
    0
    • S specialdreamsin

      Hi all, I have an application in Visual Basic 6.0, which spools text to a text file and then prints. After printing file will be deleted. But here, I couldn't know printer status. Is printing over or still printing...I couldn't know. If I know, I wont delete the file. If that is single file, then I can adjust, but continually 10 files will be printed. All I want to know the status of the Printer...Please help me out. Ramesh Sambari

      Knowledge is like honey. Collect it, to make life sweet.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      specialdreamsin wrote:

      Visual Basic 6.0

      Why are you using VB6 ? It really sucks. And, it's unsupported. If you want VB6 help, you should put it in the subject line, so you only attract people who have been developing long enough to remember what that was.

      Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

      D N 2 Replies Last reply
      0
      • C Christian Graus

        specialdreamsin wrote:

        Visual Basic 6.0

        Why are you using VB6 ? It really sucks. And, it's unsupported. If you want VB6 help, you should put it in the subject line, so you only attract people who have been developing long enough to remember what that was.

        Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        Christian Graus wrote:

        so you only attract people who have been developing long enough to remember what that was.

        No, no. It's "people who are still young enough to remember what that was." :-D Us old guys can't remember a damn thing from that far back!

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007, 2008

        N 1 Reply Last reply
        0
        • D Dave Kreskowiak

          Christian Graus wrote:

          so you only attract people who have been developing long enough to remember what that was.

          No, no. It's "people who are still young enough to remember what that was." :-D Us old guys can't remember a damn thing from that far back!

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          N Offline
          N Offline
          Nagy Vilmos
          wrote on last edited by
          #4

          What you saying humm? I remember humm everything as if humm it was only yesterday humm! Everyone knows that once the humm. Sorry, nap time.


          Panic, Chaos, Destruction. My work here is done.

          1 Reply Last reply
          0
          • S specialdreamsin

            Hi all, I have an application in Visual Basic 6.0, which spools text to a text file and then prints. After printing file will be deleted. But here, I couldn't know printer status. Is printing over or still printing...I couldn't know. If I know, I wont delete the file. If that is single file, then I can adjust, but continually 10 files will be printed. All I want to know the status of the Printer...Please help me out. Ramesh Sambari

            Knowledge is like honey. Collect it, to make life sweet.

            N Offline
            N Offline
            nlarson11
            wrote on last edited by
            #5

            vb6 does not expose that itself. You will need to use an API call to check the status. just google "how to check printer status in vb6". it will give you the results you ask for. Nathan

            'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

            1 Reply Last reply
            0
            • C Christian Graus

              specialdreamsin wrote:

              Visual Basic 6.0

              Why are you using VB6 ? It really sucks. And, it's unsupported. If you want VB6 help, you should put it in the subject line, so you only attract people who have been developing long enough to remember what that was.

              Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

              N Offline
              N Offline
              nlarson11
              wrote on last edited by
              #6

              Christian, (i'm sure i'll get slammed for this but...) I'm confused by your question of "Why are you using VB6". While I agree that vb6 and dotnet are night in day in comparison, I'm sure you aware that a developer's tools are not always up to them. If his company has many many applications written in vb6, then it's not always possible to do a mass conversion spending time and resources to do so...finding alternatives to ocx's that were being used, ramp up time learning dotnet stuff replacing the vb6 etc. Not to mention the amount of testing that would need to occur testing the new versions of an existing app as well as possible distribution considerations (installing the app and ms framework on possibly thousands of computers). Now if the above is not the case and the developer went into vb6 willingly then yes he should be questioned on his choices. My company has a website written with asp and vb6 dlls. Website has thousands of pages on it and would take years to rewrite in asp.net. $$$$ talks and other projects are more important... Don't hate me :) Nathan

              'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

              C 1 Reply Last reply
              0
              • N nlarson11

                Christian, (i'm sure i'll get slammed for this but...) I'm confused by your question of "Why are you using VB6". While I agree that vb6 and dotnet are night in day in comparison, I'm sure you aware that a developer's tools are not always up to them. If his company has many many applications written in vb6, then it's not always possible to do a mass conversion spending time and resources to do so...finding alternatives to ocx's that were being used, ramp up time learning dotnet stuff replacing the vb6 etc. Not to mention the amount of testing that would need to occur testing the new versions of an existing app as well as possible distribution considerations (installing the app and ms framework on possibly thousands of computers). Now if the above is not the case and the developer went into vb6 willingly then yes he should be questioned on his choices. My company has a website written with asp and vb6 dlls. Website has thousands of pages on it and would take years to rewrite in asp.net. $$$$ talks and other projects are more important... Don't hate me :) Nathan

                'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous 'Life's real failure is when you do not realize how close you were to success when you gave up.' ~ anonymous

                C Offline
                C Offline
                Christian Graus
                wrote on last edited by
                #7

                nlarson11 wrote:

                I'm sure you aware that a developer's tools are not always up to them.

                Agreed. Yet, unless this is a legacy project, the question may become, why does your work use VB6 ?

                nlarson11 wrote:

                Now if the above is not the case and the developer went into vb6 willingly then yes he should be questioned on his choices.

                And that's why I asked why he's using it, rather than flat out saying 'you should never use VB6'. I know sometimes people have to use it, but I'd say the majority of people I ask that to, on these forums, are not in that boat. A lot actually are surprised they can get VB.NET for free, and are happy to hear it.

                Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp

                1 Reply Last reply
                0
                • S specialdreamsin

                  Hi all, I have an application in Visual Basic 6.0, which spools text to a text file and then prints. After printing file will be deleted. But here, I couldn't know printer status. Is printing over or still printing...I couldn't know. If I know, I wont delete the file. If that is single file, then I can adjust, but continually 10 files will be printed. All I want to know the status of the Printer...Please help me out. Ramesh Sambari

                  Knowledge is like honey. Collect it, to make life sweet.

                  S Offline
                  S Offline
                  specialdreamsin
                  wrote on last edited by
                  #8

                  Hi If you know the Answer, try to help others. This is the Area where we share knowledge. This is not to fight each other. right ? Thanks for understanding. Ramesh Sambari

                  Knowledge is like honey. Collect it, to make life sweet.

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups