Click to See Complete Forum and Search --> : vb_printer_status_using_basic_io_functions


lavinder
October 3rd, 2001, 05:53 AM
well, i am using
"open printer.port for output as #1 "
for printing in visual basic.
The problem is,that during printing, if i switch off the printer accidently, system hangs, without giving any message. I just want to read the status of printer, so that i can display a message.

Can any body help me, ITS URGENT !! thanks in advance !!

Clearcode
October 3rd, 2001, 06:13 AM
Try
http://www.merrioncomputing.com/Programming/PrintStatus.htm

HTH,
D

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com
Check out the new downloads - ImageMap.ocx is the VB control that emulates an HTML image map, EventVB.OCX for adding new events to your VB form and adding System Tray support simply, MCL Hotkey for implemenmting system-wide hotkeys in your application...all with source code included.