🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.basic.visual.3rdparty
Article #25

Re: VB5 Check if Printer is Online

#25
From: Giles Thurston
Date: Tue, 06 Apr 1999 00:00
32 lines
2424 bytes
I know that normally you wouldn't want ot do this but this application will
be printing files sent to it via a modem.  The PC and Printer in question
has to be able to run automatically without any user input and create
confirmations to be picked up via the Modem at a later date.  If the Printer
is OFF Line then the Confirmation files must relate this so that an engineer
can be sent in to fix the problem (Don't ask, It wasn't my idea!)

Anyway, I repeat there will be no user input to check if the printer on line
and the system must automatically detect this

Anyway solutions would be appreciated

regards

Giles

Charles Kincaid wrote in message
<8D9C9305Fckincaidatkcdotnet@msnews.microsoft.com>...
>Stop!
>
>You are not supposed to do that. Windows applications write printer data
>to the windows print spooler. The spooler takes care of checking the
>status of the printer. What if the printer is a network printer? The
>INTERNAL drivers for network printing don't even provide a means of
>asking for the remote printer status. What if "print to file" is checked?
>That driver could only be "not ready" if the disk is full.
>
>Just pop up a message box reminding the user to put the printer on-line
>and print away!
>
>>Giles Thurston <GilesT@mentor.co.uk> wrote in
>><7e073e$t3e$1@uranium.btinternet.com>:
Technical Details
Message-ID: <7ecej0$eeu$1@plutonium.btinternet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7e073e$t3e$1@uranium.btinternet.com> <8D9C9305Fckincaidatkcdotnet@msnews.microsoft.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1143a7,c60f5e217257965a
X-Google-Attributes: gid1143a7,public
X-Google-Thread: fb992,c60f5e217257965a
X-Google-Attributes: gidfb992,public
X-Google-Thread: 110e3b,c60f5e217257965a
X-Google-Attributes: gid110e3b,public
X-Google-Thread: f5f6f,c60f5e217257965a
X-Google-Attributes: gidf5f6f,public
X-Google-Thread: 108062,c60f5e217257965a
X-Google-Attributes: gid108062,public
X-Google-Thread: 100d42,c60f5e217257965a
X-Google-Attributes: gid100d42,public
From: "Giles Thurston" <GilesT@mentor.co.uk>
Subject: Re: VB5 Check if Printer is Online
Date: 1999/04/06
Message-ID: <7ecej0$eeu$1@plutonium.btinternet.com>
X-Deja-AN: 463167463
References: <7e073e$t3e$1@uranium.btinternet.com> <8D9C9305Fckincaidatkcdotnet@msnews.microsoft.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: BT Internet
Newsgroups: comp.lang.basic.visual.3rdparty,comp.lang.basic.visual.database,comp.lang.basic.visual.misc,comp.lang.visual.basic,cz.comp.lang.basic.visual,microsoft.public.basic.other