Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Convert Output "LPT1" to send to USB

Posted on 2006-04-09
1
Medium Priority
?
617 Views
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, "TDy2.mn.dd"
                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
       
0
Comment
Question by:dmailbox
1 Comment
 
LVL 6

Accepted Solution

by:
DeadlyTrev earned 2000 total points
ID: 16413858
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

571 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