🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

VB5 Check if Printer is Online

#30
From: Giles Thurston
Date: Thu, 01 Apr 1999 00:00
24 lines
1756 bytes
Help!

Does anybody no how to check if a Printer is 'On-Line'?

Before my program sents data to the printer via the Printer Object it needs
to check if the Printer is On-Line.  I am unable to find a way to do this.

The Printer Object doesn't seem to care if the Printer is On-Line or not and
no errors are returned if the Printer is Off-Line.

I am writing an application which prints to a Panasonic KX-P3696 Printer
connected to the local parallel port.  The application is written using VB5
(SP3) and is running on Windows '95.

I have routed through MSDN and all the API Books I can find in search of a
solution but have had no success

Can anybody help??

All information is greatfully received

cheers

GilesT@mentor.co.uk
Technical Details
Message-ID: <7e073e$t3e$1@uranium.btinternet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5f6f,c60f5e217257965a,start
X-Google-Attributes: gidf5f6f,public
X-Google-Thread: fb992,c60f5e217257965a,start
X-Google-Attributes: gidfb992,public
X-Google-Thread: 110e3b,c60f5e217257965a,start
X-Google-Attributes: gid110e3b,public
X-Google-Thread: 1143a7,c60f5e217257965a,start
X-Google-Attributes: gid1143a7,public
X-Google-Thread: 100d42,c60f5e217257965a,start
X-Google-Attributes: gid100d42,public
X-Google-Thread: 108062,c60f5e217257965a,start
X-Google-Attributes: gid108062,public
From: "Giles Thurston" <GilesT@mentor.co.uk>
Subject: VB5 Check if Printer is Online
Date: 1999/04/01
Message-ID: <7e073e$t3e$1@uranium.btinternet.com>
X-Deja-AN: 461619553
Organization: BT Internet
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
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