In previous lessons, we have only written programs that send output to the screen and not the printer. In this lesson, we will learn how to send an output to the printer and get it printed. Sending output to the printer is a simple task in Visual Basic, it involves the use of the Printer object and the Print method.
The standard code of sending an output to the printer and get it printed out is as follows:
To learn how to write code for printing using printer, we suggest you get hold a copy of Visual Basic 6 Made Easy.
AUTHOR: DR. LIEW VOON KIONG
VISUAL BASIC 6 MADE EASY is an eBook written by our webmaster, Dr.Liew. It was used as a textbook by the University of Wesleyan. You can use this book as a textbook for your VB course or project.
By reading this book, you can:
You can also use the book in many ways, such as:
Order this book and you can Download the FREE Source Codes for the sample VB6 programs illustrated in this book. Click the Order button below to get your e-book and the free stuff.
*Please wait for 10 seconds for PayPal to redirect you to E-book Download Page after ordering and making payment.
Mode of Delivery: Download
This site and the products and services offered on this site are not associated, affiliated, endorsed, or sponsored by Microsoft, nor have they been reviewed tested or certified by Microsoft.
If you require assistant and technical support, please contact:Admin