
SIMPLE QUESTION : SIMPLE ANSWER?
I am trying to copy a binary file to a printer port using simple OS
commands. In gqbasic or QBasic, I could simply do the following :
SHELL "COPY /B FILE.PRN LPT1" or even
SHELL "COPY /B FILE.PRN \\SERVER\SHARED_PRINTER"
In VB, I want something like:
FileCopy Source, Target
but keep getting errors.
The files I am copying are quite large ( 50mb ) and I do not want to
have to do a
DO : READ byte_block : WRITE byte_block : UNTIL EOF(infile)
Anyone know of an elegant solution?
Thanks in advance
Do, or Do Not.There is no Try.