6
Contributors
5
Replies
6
Views
6 Years
Discussion Span
Last Post by Deepak Shitole
0

You can use CommonDialog1.ShowPrinter By using CommonDialog Componant, Or you can use shell programming or can use Printer.Print method(Note: if you user Printer.Print method then it will support for USB port only).

0
'Here Printer.CurrentX is a Left Position of the Printing Matter
    'Here Printer.CurrentY is a Top Position of the Printing Matter
    Printer.CurrentX = 1000
    Printer.CurrentY = 1000
    'Write the text what you want to print
    Printer.Print "Visual Basic is a very interesting Programming Language"
    
    'Next Line
    Printer.CurrentX = 1000
    Printer.CurrentY = 2000
    Printer.Print "Pinky/Deeps"
    
    Printer.Line (1000, 1000)-(1000, 1000)
    Printer.EndDoc

'Even You can print the output in tebular format. Need logical implementation of the X and Y position of the Printing Text

'In case of any issue please feel free to contact me

Edited by Ezzaral: Snipped contact info. Keep it on site please.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.