hello RAMYA V I think you try this code: On error goto errchk
errchk: msgbox err.number end May be its works regards aamir -----Original Message----- From: RAMYA V <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [email protected] Date: Sun, 25 Sep 2005 13:58:22 +0100 (BST) Subject: [vbhelp] Printer error in VB 6.0 > Dear frnds... > > i done a billing SW for an 'COFFE DAY'... IN VB 6.0 > > I print the bill directly from VB code as > > printer.print "".... > > > Print out is good... > > but when the printer is not connected with system.. > > my application struck.. and further i cannot continue it.. > > how can I find that the system ports LPT1 or LPT2 or USB port are > connected with printer > > help me frnds.. > > Thank u > > > > > > > > > --------------------------------- > Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with > voicemail > > [Non-text portions of this message have been removed] > > > > > > > > > '// ======================================================= > Rules : http://ReliableAnswers.com/List/Rules.asp > Home : http://groups.yahoo.com/group/vbHelp/ > ======================================================= > Post : [email protected] > Join : [EMAIL PROTECTED] > Leave : [EMAIL PROTECTED] > '// ======================================================= > > Yahoo! Groups Links > > > > [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/k7folB/TM --------------------------------------------------------------------~-> '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [email protected] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
