Convert Output "LPT1" to send to USB

Posted on 2006-04-09
Last Modified: 2008-01-09
I have an application that sends a label format to a label printer.  The problems is that some of my clients have the label printer attached to LPT1 and others have them attached via USB.

I am unable to install the label printer drivers (Zebra LP2844) so I would like to go direct to the USB printer (like I am doing with the following code to LPT1).

              Open "LPT1" For Output As #2
                Print #2, "N"
                Print #2, "q816"
                Print #2, "Q1218,24+0"
                Print #2, "S3"
                Print #2, "D8"
                Print #2, "ZT"
                Print #2, "TTh:m"
                Print #2, ""
                Print #2, "OD"
                Print #2, "LO2,55,807,12"
                Print #2, "LO6,1112,807,13"
                Print #2, "LO8,1141,805,16"
                Print #2, "LO2,114,807,16"
                Print #2, "LO4,1078,805,18"

              Close #2

Is there a way to send this to a USB Printer?

Thanks for any assistance
Question by:dmailbox
    1 Comment
    LVL 6

    Accepted Solution


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
    Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
    Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
    Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now