Playing bar code printing from DOS to USB printer port

Source: Internet
Author: User

The barcode is ready, and the zebra 888-tt printer sent by the hardware manufacturer is also sent to the serial port printing line, but there is no printer interface on the Jeet t60. Fortunately, the 888-tt printer supports USB ports, find a USB cable, install the printer driver, and create a test page. In my web application, the graphic bar code is printed out, and the scanning gun cannot recognize it, and the printing effect is not good. After carefully reading the documents on the random disc, we can see that zebra has its own EPL 2 printing.Programming Language, As long as you use the specific syntaxCodeSend the text and barcode to the printer. All right, just try it as described in the epl2 developer documentation. Set up a file named print first. EXT file, run the command "Copy print. EXT LPT1, etc. The terminal window reports the error "the system cannot find the specified file". Now we use the USB interface. Can we draw a copy print for the gourd. EXT usb001 ". Unfortunately, the system helped me copy a file named usb001, And the printer still did not respond. Where is my LPT1 port? The original LPT1 port does not have a device, of course it cannot be printed out. How can I print it out in a USB port printer?

Hey, since the gentleman's method is not feasible, we have to think of a way to cheat windows.
First, install a loop Nic in the system:
1) Open the control panel and click Add hardware;
2) After scanning the Installation Wizard, in the prompt box that the hardware has been connected, select "yes, I have already connected this hardware (y)" and click Next;
3) in the list box of installed hardware, select the last option, "add new hardware device", and click Next;
4) in the prompt box that you want the Wizard to do, select "Install the hardware (advanced) (m) I manually selected from the list" and click Next;
5) Select "network adapter" in the hardware type list box and click Next;
6) on the select Nic page, select Microsoft as the vendor, and select Microsoft loopback adapter as the NIC. Next, complete the installation.

Step 2: configure the IP address of the NIC installed in step 1 and specify a fixed IP address and subnet mask;

Step 3: the bar code printer that shares the USB interface should remember a simple and easy-to-remember name. The name of my printer is zebra888;

Step 4: map the printer you just shared to the LPT1 port and run net use LPT1: \ [computer name] \ zebra888/persistent: yes on the command line port. Press ENTER

Now, try copy print. Ext LPT1 again. The printer is ringing and the barcode is displayed in the way set in the text file.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.