Quantcast
Viewing all articles
Browse latest Browse all 21212

Printing to label printer using 'Open' and port name

Hi everyone. I have a label print which prints from a prn file, as in:

Code:

    Open "LPT1:" For Output As #1
    Print #1, strStringToPrint
    Close #1

On entering a valid printer port eg. USB003 or ESDPRT001 (as found on my computer) it prints text on the VB6 formAttachment 97925

I have tried
Code:

For Output Access Write As #1
but it still does send the codes to the printer.

Any help gladly received, thank you.
Attached Images
Image may be NSFW.
Clik here to view.
 

Viewing all articles
Browse latest Browse all 21212

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>