sending command to slip printer through vb code - TechRepublic
Question
January 9, 2007 at 11:47 PM
amit.jaiswal

sending command to slip printer through vb code

by amit.jaiswal . Updated 16 years, 3 months ago

hello i want to send some specific command to printer,
such as Release Paper from printer after printing completes….

i am using following commands…

Open “LPT1:” For Output As #1

Print #1, “LINE Number1”
Print #1, “LINE Number2”
Print #1, “LINE Number3”
Print #1, “LINE Number4”
Print #1, “LINE Number5”
Print #1, “LINE Number6”
Print #1, “LINE Number7”
Print #1, “LINE Number8”

Print #1, Chr$(27) & Chr$(113)
Close #1

but it is not working,so if any body know the solution then plz reply me…….

This discussion is locked

All Comments