i use the code
Printer.print "Bashir ahmad" printer.endDoc
on the click event of a command Button. If the printer is turned on, printing starts, but if the printer is turned off, is there a method of informing the user to turn on the printer before printing. In programs like MS-Word, a message is shown by the operating system that the printer is not ready, how to do the same through vbcode? the code printers.count gives the installed printers only but not those which are ready to accept the Data.