Hi
This is probably a really dumb question.
Does anyone know how to send a Hex string to a printer (LPT1) in visual basic?
I have the hex string saved as a file (created using a hex editor). I intend to use it to send a control command to the printer to open a cash drawer connected to it.
If I just copy the Hex file to LPT1 then the drawer opens ok. But I want to be able to do this from within VB.
I am a novice VB user.
All help appreciated!
]
This is probably a really dumb question.
Does anyone know how to send a Hex string to a printer (LPT1) in visual basic?
I have the hex string saved as a file (created using a hex editor). I intend to use it to send a control command to the printer to open a cash drawer connected to it.
If I just copy the Hex file to LPT1 then the drawer opens ok. But I want to be able to do this from within VB.
I am a novice VB user.
All help appreciated!