In PowerBasic (all versions), to print to the LPT1 port, I use the statement:
OPEN "LPT1" FOR OUTPUT SHARED AS #5
to address the port and then
PRINT #5, "whatever"
to do the actual printing.
I have tried to print to the USB port by using the statement:
OPEN "USB" FOR OUTPUT SHARED AS #5
to address the port and then
PRINT #5, "whatever"
to do the actual printing.
Nothing happens! Does anyone know the correct statement needed to address the USB port. Almost all of the new printers are using that port rather than the LPT1 port so this is crucial.
Thanks,
Michael McMorrow
OPEN "LPT1" FOR OUTPUT SHARED AS #5
to address the port and then
PRINT #5, "whatever"
to do the actual printing.
I have tried to print to the USB port by using the statement:
OPEN "USB" FOR OUTPUT SHARED AS #5
to address the port and then
PRINT #5, "whatever"
to do the actual printing.
Nothing happens! Does anyone know the correct statement needed to address the USB port. Almost all of the new printers are using that port rather than the LPT1 port so this is crucial.
Thanks,
Michael McMorrow
Comment