Results 1 to 3 of 3

Thread: Check for Active Printer

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    116

    Exclamation

    Hi,
    How can I check if there is an active printer ready to
    receive the print job.

    Thank you.
    0101011001000010
    01101111011011100110110001101001011011100110010101110010

  2. #2
    Junior Member
    Join Date
    Sep 2000
    Posts
    17
    U can find out if a printer is installed. I found this code snippet somewhere , don't remember where.

    Usage

    x = PrinterInstalled

    Code

    Public Function PrinterInstalled() As Boolean

    On Error Resume Next

    Dim strDummy As String
    strDummy = Printer.DeviceName

    If Err.Number Then
    PrinterInstalled = False
    Else
    PrinterInstalled = True
    End If

    End Function

    Hope this solves ur problem

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2000
    Posts
    116

    Cool

    It sure does!

    Thanks SimpleVB
    0101011001000010
    01101111011011100110110001101001011011100110010101110010

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width