Pros and cons of the Zebra printer three printing methods

There are three main methods:
1. The use of a set of instructions written ZPLII with location information, instruction information font size, print content, using TCP / IP or the serial interface to printer

2. Use Graphic class to draw their own procedures shown in FIG print you want, then the instruction set DG FIG printing instructions to print the entire TCP / IP transmission to the printer or serial port

3. Using NiceLabel, BarTender print and other third-party editing software, using the visual interface (Torah drag) good editing effects to be printed, and then calls the printer driver to print. 

Method One: Using ZPLII instruction set of written information with location information, font size, print, etc., using TCP / IP or serial transmission to the printer
description: Zebra printer has its own programming language, which is ZPLII, and other programming Like language, he has a fixed format, only need to follow the instructions set parameters to fill in the manner provided inside to fill and then send the instruction content to the printer, the printer will be able to perform the corresponding operations, the most basic is to print content, but also the printer includes a switching control various printers, printer speed, depth. Function very full, very full privileges. How you use my previous blog visible: Zebra Zebra printer programming commands Advanced (Universal Language) - to draw an image using the Print command

Advantages: 1. If the print is very simple, such as is to play a few numbers, letters, or the kind of production date, this is the most appropriate way, basically just spent a few minutes to do.

2. Print can be integrated into other software, if there is a variable on the label if more convenient, need only establish communications and printer when you need to print, send instructions to implement the specified print

Disadvantages: 1. If the print figures include Chinese characters, or have requested font print the contents of the case, it would not do, it comes with instructions can not beat Chinese support, but also comes with font pitiful, although you can import external fonts, but the font size for external requirements, and each boot must recall it, it is very troublesome.

2. also very convenient to debug the results page when there is no visual interface, each modification prints need to manually modify the parameters, and then sent to the printer to break out to see the print, not intuitive

3. no visual user interface, the user can not own layout, add additional modules. Once the program is set up, you need to print a lot of trouble if the second modification.

 

Method 2: Using a Graphic class to draw their desired print FIG own program with the instruction set and instruction printing FIG DG entire TCP / IP or serial transmission to the printer
description: As a method of printing in the Chinese and font selection is very convenient, there is a second method, which is good at using their own programming language draw renderings you want by Graphic category, then put the whole picture passed to the printer. Before blog there describes how to use the operation: Zebra printer via the Picture Transfer Print

Advantages: 1 print font is not limited, as long as you can print on any computer, what the Chinese are alone

2. Debugging printing more convenient, as long as you modify the parameters after the picture is displayed in the program and you could see the effect, without the need for it is absolutely necessary to confirm printing.

3. and as a method, which can be integrated into other software, and other software can work together

Disadvantages: 1 As a result of transmission to the printer to print the picture, not a vector, if the font is small, lack of clarity, then print out the effect on the poor, the word is very vague. Image size-past must control, or will cause overflow tag or label did not quite filling and other issues

Figure 2. The effect can only be printed according to customer demand for programmers who design, a little stipple out, there is no similar drawing tools like visual interface can not make changes to the customer, make a print template too costly.

3. Method II must be programmed using a programmer, otherwise can not be generated effect picture. 

Method three: Using NiceLabel, BarTender print and other third-party editing software, using the visual interface (Torah pull) edited results to be printed, and then calls the printer driver to print.
Description: Method twelve when replacing the print template to re-use code that programmers need to knock out a print template, a huge amount of work, and debugging trouble. Method three to solve this problem, he has like drawing tools like visual interface, users can do their own printing templates, and can be adjusted by the Torah pull print the way, and the database can do butt, so each label printed content is different. But also can import pdf files, a variety of vector and so on.

Advantages: a visual interface, to facilitate debugging

2. Users can create their own template, a template, the operation is very simple. Can also establish a connection and database, you can set the variable label content

3. The software can import PDF, and other vector file, very easy to resize, print out the effect is very clear.

Disadvantages: 1. As the call is driving print, not like the method twelve integrated into other software, if you want to work together with other systems, it is troublesome

2. Do not let other software control when to print, can only be controlled in this third-party software inside.
----------------
Disclaimer: This article is CSDN bloggers 'horse can not eat' original article, follow the CC 4.0 by-sa copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/HorseRoll/article/details/82253434

Guess you like

Origin www.cnblogs.com/turnip/p/11404954.html