thanks for ur reply aamir.. but this also didnt' work.. with rgds ramya
aamir <[EMAIL PROTECTED]> wrote: 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] '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [email protected] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= SPONSORED LINKS Basic programming language Computer programming languages Programming languages Java programming language The history of computer programming language --------------------------------- YAHOO! GROUPS LINKS Visit your group "vbhelp" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. --------------------------------- --------------------------------- Yahoo! Messenger NEW - crystal clear PC to PC calling worldwide with voicemail [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income households are not online. Help bridge the digital divide today! http://us.click.yahoo.com/cd_AJB/QnQLAA/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/
