Tally Dascom 7106Series Programmer's Manual

Summary of 7106Series

  • Page 1

    Programmer’s manual dmx ® emulation for 7106, 7206 and 7010 series.

  • Page 2

    The programmer's manual is designed for the following printers: 7106, 7206, 7206-300 and 7010 series copyright © august 2010, dascom europe gmbh.

  • Page 3: Chapter 1

    1-1 chapter 1 command interpreter and command system 1.1 outline 1-2 1.2 outline of command system 1-2 1.3 outline of interpreter 1-4 1.4 outline of label format data 1-5 1.5 outline of label printing method 1-7 1.6 control code specification 1-8 1.6.1 system level immediate execution commands 1-9 1...

  • Page 4

    1-2 1.1 outline generally, when labels of graphics and bar codes are printed by a line printer, print data is converted into bit map data in the computer and transmitted to the printer for printing. In this process the host computer has to generate the bit map data and send it to the printer, this r...

  • Page 5

    1-3 fig. 1 command summary system level commands start with "soh" or "stx" and end with a “cr” commands which start with "soh" executed as soon as they are received (for example: printing halt, output of printer status, etc.) commands which start with "stx" executed in order after they are received ...

  • Page 6

    1-4 1.3 outline of interpreter two types of interpreters are used for this printer; system level and label format interpreters. When power is turned on, the system level interpreter is selected and the data received is processed in the system level interpreter and system level commands are executed....

  • Page 7

    1-5 1.4 outline of label format data this printer prints label format data by using memory space of the following size. Model area 7206 7106 7010 reception buffer area [bytes] 16k field register data area [bytes] 20k number of maximum print fields 400 global register area [bytes] 1k bit map area [by...

  • Page 8

    1-6 4 bit map area the bit map area is a buffering area for output data. The data in this area is generated by a rasterizer according to the data in the field data area and corresponds to individual dots that are generated on the label during printing. The data of the bit map area is printed on the ...

  • Page 9

    1-7 1.5 outline of label printing method this printer has two label printing methods, one is that all label format data received is printed, and the other is that format data which has been received beforehand, is printed or partially modified and printed. 1 all data received method ・ ascii code "st...

  • Page 10

    1-8 1.6 control code specification 1 outline ・ this printer is connected to the computer via a serial interface and prints characters and bar codes at the requested print position on the label. ・ the printer has a data area of 20,000 characters. This character data can be stored in up to 400 differe...

  • Page 11

    1-9 1.6.1 system level immediate execution commands these commands are executed as soon as the printer receives them. They begin with "soh," i.E. [01]. Command reset [01] # printer status transmission request (8-byte packet) [01] a pause [01] b stop/cancel [01] c soh command shutdown [01] d transmis...

  • Page 12

    1-10 command reset code [01] # function initialized equivalent to power is turned on. Buffer and on-board memory contents are initialized. Command setting for previous commands is initialized. Transmission data (xoff) t (xon) r (xon) for hardware reset. Caution since printer executes reset immediate...

  • Page 13

    1-11 printer status relationship between command interpreter, batch processing and printing normal label printing puts the printer in the above status. The printer, however, operates with a double buffer, so if the next printing data is received during batch processing, both interpreter operation an...

  • Page 14

    1-12 transmission of number of remaining sheets to be issued code [01] e function if this command is received, printer will send data on the number of remaining sheets to be issued for the current printing to the computer with 4 ascii characters. The [0d] hex code is added to the end of the 4-digit ...

  • Page 15

    1-13 error status transmission request (4-byte packet) code [01] i function after receiving this command, printer sends 4-byte data on current conditions inside the printer to the host pc. Shown below are contents of the 4-byte data to be sent from the printer. Byte 1 bit 1 2 3 4 5 6 7 8 description...

  • Page 16

    1-14 1.6.2 system level occasional execution commands these commands are executed as soon as the printer receives them. They begin with "stx," i.E. [02]. Setting date and time [02] a setting feedback character transmission validness [02] a date and time transmission request [02] b setting paper leng...

  • Page 17

    1-15 printing quality test pattern [02] t rewriting specified format register contents [02] u setting memory switch contents [02] v printer version number transmission request [02] v information-in-memory-module transmission request [02] w testing flash memory [02] w default module selection [02] x ...

  • Page 18

    1-16 setting date and time code [02] a, w, mm, dd, yyyy, hh, mm, j j j setting w sun. 0 mon. 1 tues. 2 weds. 3 thurs. 4 fri. 5 sat. 6 mm month 01 - 12 dd day 01 - 31 yyyy year 4 digits hh hour (24-hour display) mm minute 00 - 59 j j j spare 000 fixed function sets date and time on the calendar store...

  • Page 19

    1-17 date and time transmission request code [02] b data format w, mm, dd, yyyy, hh, mm, j j j w sun. 0 mon. 1 tues. 2 weds. 3 thurs. 4 fri. 5 sat. 6 mm month 01 - 12 dd day 01 - 31 yyyy year 4 digits hh hour (24-hour display) mm minute 00 - 59 j j j total number of days from the 1st of january func...

  • Page 20

    1-18 setting paper length for continuous paper code [02] c nnnn unit 0.01 inch setting nnnn 4-digit data initialization value: 0000 inch system 0001 – 9999 (0.01 – 99.99 inches) metric system 0001 – 9999 (0.1 – 999.9 mm) function sets label length for continuous paper. Length of label format is spec...

  • Page 21

    1-19 setting two-page edit mode (double buffer) code [02] d function after receiving this command, printer divides the internal edit buffer into 2 pages and enters the high-speed edit mode. In the high-speed edit mode, editing the next page in advance while the current page is being printed increase...

  • Page 22

    1-20 changing number of prints for edited format code [02] e nnnn setting nnnn 4-digit numeric 0001 - 9999 function specifies changing of number of prints for formatted or formerly printed label format. Example input data below represents that after ending label format printing data "abc" one sheet,...

  • Page 23

    1-21 setting edge sensor selection code [02] e function changes paper position detection sensor to transparent-type. Used for detecting paper gap between label papers, die-cut paper, notch hole for tag paper, etc. This setting is used as default. Caution if not detected properly, check the sensor po...

  • Page 24

    1-22 setting peeling (cutting) position code [02] f nnn units 0.01 inch (0.1mm) nnn 3-digit data initial value and its set range vary depending on the command setting. Inch system metric system initial value minimum value max value initial value minimum value max value dmi / dmw normal 000 000 200 0...

  • Page 25

    1-23 figure note: peeler option is not available for clp-8301 printing edited or formerly-printed format code [02] g function prints label data for former printing or formatting. Caution this command is effective only when label data for former printing or formatting is left in the internal memory. ...

  • Page 26

    1-24 graphics data block input command code [02] i m a f name, data m storing memory module specification allocation of modules varies with command settings. Refer to the table below. Command set allocation of module dmi / dmw dm4 / dm8 dpp on-board s d-ram d a b on-board flash memory g b a pcmcia c...

  • Page 27

    1-25 7-bit image loading file format 7-bit image data uses ascii format data. In this example, 7-bit image data with the file name of “mark7” is stored in the memory card and printed out. Value of inside [ ] is shown in hex format. [02]ibfmark7 --------------- graphics data input command 80060000410...

  • Page 28

    1-26 8-bit image format 8-bit image data uses ascii format data. In this example, 8-bit image data with the file name of “mark8” is stored in the memory card and printed out. Value of inside [ ] is shown in hex format. (note: data below is described in hex.) [01][44][0d]--------------------------- s...

  • Page 29

    1-27 download of truetype font code [02] i m t nn name xxxxxxxx data… m storing memory module specification allocation of modules varies with command settings. Refer to the table below. Command set allocation of module dmi / dmw dm4 / dm8 dpp on-board s d-ram d a b on-board flash memory g b a pcmcia...

  • Page 30

    1-28 pause per label printing code [02] j function performs pause each time label is printed one sheet. Used when label peeling detection sensor is not mounted on the printer incorporating peeling function. Pause is cancelled by pressing pause key on the control panel. Caution to clear this function...

  • Page 31

    1-29 extension system command (printer settings) code [02] kdabc transmission data printer setting parameter a hex notation for the following bit settings bit 0-2 baud rate case bit 4 = 0 0=9600*, 1=600, 2=2400, 3=4800, 5=300, 6=1200, 7=9600 test mode case bit 4 = 1 0=115200, 1=57600, 2=38400, 3= no...

  • Page 32

    1-30 p: 115200 baud, 8-bit length, no parity @: thermal transfer, no peeling sensor, no auto-cutter b: continuous paper setting peeling (cutting) position code [02] kf nnnn units 0.01 inch (0.1mm) setting nnnn 4-digit data inch system 0001 - 9999 (0.01 – 99.99 inches) metric system 0001 - 9999 (0.1 ...

  • Page 33

    1-31 specifying printing contents setting start code [02] l function with this command input, printer enters the label format mode and waits for input of printing contents definition and label format commands until it receives "e" "s" or "x" code. Example input data below represents that label forma...

  • Page 34

    1-32 setting maximum label length code [02] m nnnn units 0.01 inch or 0.1 mm setting nnnn 4-digit data initialization value: 1000 (10.00 inches) max. Value: inch system 9999 (99.99 inches) metric system 9999 (99.9 mm) function sets maximum label length for detecting label out. If printer cannot dete...

  • Page 35

    1-33 changing units from inch to metric system code [02] m function changes units for all-distance-specified-command-parameters from 0.01 inch to 0.1 mm. With reset, units are set to metric system. Example input data below represents that data "abc" is specified with units in metric system. Input da...

  • Page 36

    1-34 setting printing position code [02] o nnnn units 0.01 inch or 0.1 mm nnnn 4-digit data initial value and its set range vary depending on the command set. Inch system metric system command set initial value minimum value max value initial value minimum value max value dmi / dmw 0220 0120 0320 05...

  • Page 37

    1-35 paper cut code [02] o function when mounting auto-cutter, if this command is received, the label or paper cutting will be performed once. Caution if auto-cutter is not turned to on, this command will be ignored. Set the cutting sheet number to 0 (zero) with the specified command (cnn or :nnnn)....

  • Page 38

    1-36 pause in occasional execution code [02] p function executes pause occasionally. Caution pause on and off cannot be performed with this command. Cancelling pause must be operated from the pause key on the control panel. Clearing all memory module contents code [02] q function clears all data in ...

  • Page 39

    1-37 clearing memory module contents code [02] q n n memory module specification parameter allocation of modules varies with command settings. Refer to the table below. Command set allocation of module dmi / dmw dm4 / dm8 dpp on-board s d-ram d a b on-board flash memory g b a pcmcia card (option) e ...

  • Page 40

    1-38 setting reflective paper sensor selection code [02] r function detects label position automatically by reflective paper sensor. Reflective paper sensor detects black lines that are printed on the back of the label and understands the label position. In default, reflective paper sensor is select...

  • Page 41

    1-39 setting paper feed speed code [02] sa setting a paper feed speed specifying character a or b or 1 2.0 inches (50.8 mm)/sec c or d or 2 2.0 inches (50.8 mm)/sec e or f or 3 3.0 inches (76.2 mm)/sec g or h or 4 4.0 inches (101.6 mm)/sec i or j or 5 5.0 inches (127.0 mm)/sec k or l or 6 6.0 inches...

  • Page 42

    1-40 setting one-page edit mode (single buffer) code [02] s function after receiving this command, printer makes the internal edit buffer one page. At this time, the maximum printing length on one page is 40 inches. In initialization after turning on power, this mode is set. Caution the printer auto...

  • Page 43

    1-41 rewriting specified format register contents code [02] u nnaa.. Setting nn 2-digit format register numbers 01 - 99 printer sets format register numbers in sequence when label format is executed. Aa input character string data ending with cr code (0d hex) instead of old data. Basically the numbe...

  • Page 44

    1-42 setting memory switch contents code [02] v n setting n is hex data expressing switch on and off with binary. Appropriate ascii codes are used for setting. Bit 0 1 2 3 4 5 6 7 auto-cutter 1 o o o o ribbon end sensor not care peeling sensor 3 o o o o function with this command, memory switch cont...

  • Page 45

    1-43 information-in-memory-module transmission request code [02] w n setting n f, g, l f transmits downloading font information. G transmits graphic image file information. L transmits format (label printing contents) information. Function transmits file name and memory remaining capacity in the cur...

  • Page 46

    1-44 default module selection code [02] x a a default module selection allocation of modules varies with command settings. Refer to the table below. Command set allocation of module dmi / dmw dm4 / dm8 dpp on-board s d-ram d a b on-board flash memory g b a pcmcia card (option) e or f e or f e or f s...

  • Page 47

    1-45 clearing memory module contents (in file units) code [02] xntname m memory module specification parameter allocation of modules varies with command settings. Refer to the table below. Command set allocation of module dmi / dmw dm4 / dm8 dpp on-board s d-ram d a b on-board flash memory g b a pcm...

  • Page 48

    1-46 truetype font symbol set selection code [02] ysxx setting s s fixed xx specification of a symbol set the character sequence of 2 figures (refer to the following table for a setting value.) function selection of a truetype font symbol set caution it depends on each truetype font file for the sym...

  • Page 49

    1-47 printing printer status code [02] z function performs test printing for indicating printer status. Select command set code setting [02] [1b] g n n 0, 1,2 0 : dmi or dmw 1 : dm4 or dm8 2 : dpp function selects proper command set for your application. Caution switching command sets will change th...

  • Page 50

    1-48 setting printing method code [02] [1b] mn setting n t , d t : thermal transfer d : heat-sensitive function designates the printing method to be set; thermal transfer mode where a ribbon is used, or heat-sensitive mode where heat-sensitive paper is used. Example shown below are examples of input...

  • Page 51

    1-49 setting ejection (tear-off) code [02] [1b] tn setting n 0 , 1 0 : ejection is turned to off 1 : ejection is turned to on function switches ejection on and off. The contents with this command are stored in the backup memory and kept valid even if the power is turned off. Caution when the auto-cu...

  • Page 52

    1-50 setting label width code [02] [1b]w nnnn in inch unit mode, nnnn is defined as nn.Nn inch, in metric unit, nnnn is defined as nnn.N mm unit 0.01 inch or 0.1 mm setting nnnn 4-digit data initialization value: depending on the printer inch system 0000 – 9999 (0 inch - 99.99 inches) metric system ...

  • Page 53

    1-51 1.6.3 label format commands the following commands will be valid if the label format command interpreter is turned on with "stx" + "l," i.E. [02] l. Set format attribute a set format attribute [1b]b setting offset in direction of column c setting number of cuts (2-digit) c setting pixel size in...

  • Page 54

    1-52 setting number of prints for same label ^ setting number of cuts (4-digit) : character field definition 1n.. Bar code field definition ruled line definition 1x..L box definition 1x..B polygon definition 1x..P circle definition 1x..C graphics printing definition 1y.. Reading out from global regi...

  • Page 55

    1-53 set format attribute code an setting n 1, 2, 3, 5 1 : all data should be formed by xor processing in this mode, the area where text strings, images or barcodes intersect will not be printed. 2 : all data should be formed by or processing. In this mode, the area where text strings, images or bar...

  • Page 56

    1-54 setting offset in direction of column code c nnnn units 0.01 inch or 0.1 mm setting nnnn 4-digit data initialization value: 0000 inch system 0000 - 9999 (0.00 inch - 99.99 inches) metric system 0000 - 9999 (0.0 mm - 99.9 mm) function sets offset value for printing start position in direction of...

  • Page 57

    1-55 setting number of cuts (2-digit) code c nn setting nn 00 - 99 initialization value: 01 function after printing specified number of labels, cuts paper. Caution this command is invalid unless the auto-cutter is installed and it is turned to on. Since the initialization value is 01 (one sheet), if...

  • Page 58

    1-56 setting pixel size in horizontal and vertical direction code d hv units one dot 0.127 mm or 0.005 inch h dot size in horizontal direction 1, 2 v dot size in vertical direction 1, 2, 3 note: initialization value will be varied by the print res. Dpi (dp mm) set by the operation panel. Command set...

  • Page 59

    1-57 completion of setting printing contents (field preparation) and printing labels code e function completes printing contents setting and prints labels. On completion of printing, command interpreter is switched to system level interpreter and system level commands are valid. Caution if label for...

  • Page 60

    1-58 changing units from inch to metric system code m function changes units temporarily for all-distance-specified-command-parameters from 0.01 inch to 0.1 mm. Example input data below represents that data "abc" is specified with units in metric system. Changing units from metric to inch system cod...

  • Page 61

    1-59 setting printable area speed code p a setting a one alphanumeric character. A or b or 1 2.0 inches (50.8 mm)/sec c or d or 2 2.0 inches (50.8 mm)/sec e or f or 3 3.0 inches (76.2 mm)/sec g or h or 4 4.0 inches (101.6 mm)/sec i or j or 5 5.0 inches (127.0 mm)/sec k or l or 6 6.0 inches (152.4 mm...

  • Page 62

    1-60 setting backfeed speed code p a setting a one alphanumeric character. A or b or 1 2.0 inches (50.8 mm)/sec c or d or 2 2.0 inches (50.8 mm)/sec e or f or 3 3.0 inches (76.2 mm)/sec g or h or 4 4.0 inches (101.6 mm)/sec i or j or 5 5.0 inches (127.0 mm)/sec k or l or 6 6.0 inches (152.4 mm)/sec ...

  • Page 63

    1-61 specifying space between characters code [1b] p nn data in [ ] is hex. Setting nn amount of space between characters 00 - 99 initialization value: 00 function adds specified space between characters to all characters. Example input data below represents that data without specification of space ...

  • Page 64

    1-62 setting number of prints code q nnnn setting nnnn 0001 – 9999 initialization value: 0001 function sets number of sheets to be printed. Example input data below represents that the same contents of labels are printed ten sheets. Input data [02] n sets units to inch [02] l starts label format mod...

  • Page 65

    1-63 setting offset in direction of row code r nnnn units 0.01 inch or 0.1 mm setting nnnn 4-digit data initialization value: 0000 inch system 0000 - 9999 (0.00 inch - 99.99 inches) metric system 0000 - 9999 (0.0 mm - 99.9 mm) function sets offset value for printing start position in direction of ro...

  • Page 66

    1-64 calling label format code r aa..A setting aa..A maximum 16 characters of format name ending with cr code function calls label format stored in the memory module. Storing of label format into memory module is executed with "s" command. Caution priority for calling module (1) default (module c) o...

  • Page 67

    1-65 setting unprintable area speed code s a setting a one alphanumeric character. A or b or 1 2.0 inches (50.8 mm)/sec c or d or 2 2.0 inches (50.8 mm)/sec e or f or 3 3.0 inches (76.2 mm)/sec g or h or 4 4.0 inches (101.6 mm)/sec i or j or 5 5.0 inches (127.0 mm)/sec k or l or 6 6.0 inches (152.4 ...

  • Page 68

    1-66 storing label format code s naa.Aa n memory module specification parameter a, b, c, d, e, f, g allocation of module varies with command settings. Refer to the table below. Command set allocation of module dmi / dmw dm4 / dm8 dpp on-board sd-ram d a b on-board flash memory g b a pcmcia card (opt...

  • Page 69

    1-67 specifying ending code code t nn setting nn two characters of hex ascii code initialization value: cr[0d] function specifies ending code, which is valid for field immediately after this command and after that field ending returns to default cr [0d]. Example the following shows that ending code ...

  • Page 70

    1-68 setting previous field to character-string-replacement-mode field code u function changes previous field to character-string-replacement-mode field, i.E., prepares replacement for only changing data. This command is not used when label is totally reconstructed. Caution register length is set ac...

  • Page 71

    1-69 truetype font symbol set selection code ysxx setting s s fixed xx selecting symbol set 2 digits characters followed by “cr” code to end. For the details, refer to explanation for [02] y command. Function selection of a truetype font symbol set caution it depends on each truetype font file for t...

  • Page 72

    1-70 setting addition of previous-defined printing contents (field data) 1 code + pii.. Setting p specifies character (all ascii characters available) for filling zero. Ii amount of addition (decimal) function adds field data that was defined before this command. Example input data below represents ...

  • Page 73

    1-71 setting subtraction of previous-defined printing contents (field data) 1 code - pii.. Setting p specifies character (all ascii characters available) for filling zero. Ii amount of subtraction (decimal) function subtracts field data that was defined before this command. Example input data below ...

  • Page 74

    1-72 setting addition of previous-defined printing contents (field data) 2 code > pii.. Setting p specifies character (all ascii characters available) for filling zero. Ii amount of addition (use of ascii characters of a - z prohibited) function adds field data which was defined before this command ...

  • Page 75

    1-73 setting subtraction of previous-defined printing contents (field data) 2 code pii.. Setting p specifies character (all ascii characters available) for filling zero. Ii amount of subtraction (use of ascii characters of a - z prohibited) function subtracts field data which was defined before this...

  • Page 76

    1-74 setting number of prints for same label code ^ nn setting nn 2-digit numeric 01 - 99 function specifies number of prints for same label when addition and subtraction and time printing are specified. Executes addition, subtraction, etc. After printing number of sheets specified with nn. Specifie...

  • Page 77

    1-75 setting number of cuts (4-digit) code : nnnn setting nnnn 0001 - 9999 initialization value: 0001 function cuts paper after printing same labels by specified number. Caution this command is invalid unless auto-cutter is mounted and cutter is set to on. Example input data below represents that sa...

  • Page 78

    1-76 character field definition code rotate, font, hexp, vexp, point, row, column, d1, d2,....... Setting rotate sets rotation direction for character data 1, 2, 3, 4 1: 0 º 2: 90 º 3: 180 º 4: 270 º font sets font , type of character (see table 1) hexp sets expansion rate in horizontal direction 1 ...

  • Page 79

    1-77 table 1-a ( 203 dpi print head ) dot number pixel size horizontal (h) x vertical (v) units (mm) type of character font h space v 1 x 1 2 x 2 2 x 3 3 x 2 *1 system font 0 5 1 7 0.8 x 0.9 1.5 x 1.8 1.5 x 2.6 2.3 x 1.8 1 7 2 13 1.1 x 1.6 2.3 x 3.3 2.3 x 4.9 3.4 x 3.3 2 10 2 18 1.5 x 2.3 3.0 x 4.5 ...

  • Page 80

    1-78 table 2 type of character font point or downloading id point number note smooth font 9 a04 - 4pt triumvirate a05 - 5pt available only with 300 dpi models a06 001 6pt a08 002 8pt a10 003 10pt a12 004 12pt a14 005 14pt a18 006 18pt a24 007 24pt a30 008 30pt a36 009 36pt a48 010 48pt a72 011 72pt ...

  • Page 81

    1-79 type font character field definition code rotate, font, hexp, vexp, id, row, column, height, width, d1, d2,....... Setting rotate sets rotation direction for character data 1, 2, 3, 4 1: 0 º 2: 90 º 3: 180 º 4: 270 º font 9 fixed hexp sets expansion rate in horizontal direction 1 - 9, a - o (a ...

  • Page 82

    1-80 bar code field definition code rotate, font, thick, narrow, height, row, column, d1, d2,....... Setting rotate sets rotation direction for bar code 1, 2, 3, 4 1: 0 º 2: 90 º 3: 180 º 4: 270 º font sets type of bar code (see table 3) thick sets thick bar width in 1-dot units (0.005 inch) 1 - 9, ...

  • Page 83

    1-81 table 3 font bar code name bar ratio (thick:narrow) no. Of valid data a code 3 of 9 3:1 variable length b upc-a 1:1, 2:2, 3:3, 4:4, 6:6, 8:8 12 c upc-e 1:1, 2:2, 3:3, 4:4, 6:6, 8:8 8 d interleaved 2 of 5 5:2 even digit variable length e code 128 variable length f ean-13 (jan-13) 1:1, 2:2, 3:3, ...

  • Page 84

    1-82 ruled line definition code 1x11, 000, row, column, lhhhvvv or lhhhhvvvv setting 1x11 1x11 fixed 000 000 fixed row row address 0000 - 9999 column column address 0000 - 0398 l specifies line (3-digit) hhh specifies horizontal width v v v specifies vertical width l specifies line (4-digit) hhhh sp...

  • Page 85

    1-83 box definition code 1x11, 000, row, column, bhhhvvvbbbsss or bhhhhvvvvbbbbssss setting 1x11 1x11 fixed 000 000 fixed row row address 0000 - 9999 column column address 0000 - 0410 b specifies box (3-digit) hhh specifies horizontal width of box v v v specifies vertical width of box bbb specifies ...

  • Page 86

    1-84 graphics printing definition code rotate, y, hexp, vexp, 000, row, column, graphic setting rotate sets graphic data rotation direction to 1 (fixed) y y fixed hexp sets expansion rate in horizontal direction 1 - 9, a – o (a - o corresponding to 10 - 24) vexp sets expansion rate in vertical direc...

  • Page 87

    1-85 polygon definition code 1x11, ppp, row, column, p ppp bbbb row, column, row, column setting 1x11 1x11 fixed ppp dot pattern 000 – 011 row 1st point row address 0000 – 9999 column 1st point column address 0000 – 0398 p specifies polygon ppp 001 fixed bbbb 0001 fixed row 2nd point row address 000...

  • Page 88

    1-86 example input data below represents that triangle with three points, row 0.20 inch/column 0.10 inch, row 0.60 inch/column 0.30 inch, and row 0.20 inch/column 0.50 inch, is drawn and inside is dotted with pattern 6 (50% black). Input data [02] n sets units to inch [02] l starts label format mode...

  • Page 89

    1-87 circle definition code 1x11, ppp, row, column, c ppp bbbb, radius setting 1x11 1x11 fixed ppp dot pattern 000 – 011 row circle center row address 0000 – 9999 column circle center column address 0000 – 0398 c specifies circle ppp 001 fixed bbbb 0001 fixed radius radius 0000 – 0398 units 0.01 inc...

  • Page 90

    1-88 reading out from global register code rotate, font, hexp, vexp, point, row, column, [02], s, a setting rotate sets rotation direction for character data 1, 2, 3, 4 1: 0 º 2: 90 º 3: 180 º 4: 270 º font sets type of character (see table 1) hexp sets expansion rate in horizontal direction 1 - 9, ...

  • Page 91

    1-89 date and time printing definition code rotate, font, hexp, vexp, point, row, column, [02], t, tdata... Setting rotate sets rotation direction for character data 1, 2, 3, 4 1: 0 º 2: 90 º 3: 180 º 4: 270 º font sets type of character (see table 1) hexp sets expansion rate in horizontal direction...

  • Page 92

    1-90 input data [02] n sets units to inch [02] l starts label format mode d11 sets pixel size 190000500500050[02]tbcd ghi pq, rstu sets day of the week, month, date and year number e ends label format mode and prints.

  • Page 93: Chapter 2

    1-91 chapter 2 fonts and bar codes 2.1 description of fonts 2-2 2.2 description of bar codes 2-8.

  • Page 94

    1-92 fonts and bar codes for this printer are listed below. Each name is expressed in numeric for fonts and in alphabetic characters for bar codes. Visible or non-visible code is identified with upper-case or lower-case alphabetic characters for the bar code name. Upper-case characters allow printer...

  • Page 95

    1-93 font 2: upper- and lower-case alphanumeric characters. Character size: 203 dpi: 18 dots (height) x 10 dots (width) x 2 dots (space) 300 dpi: 27 dots (height) x 14 dots (width) x 4 dots (space) font 3: upper- and lower-case alphanumeric characters. Character size: 203 dpi: 27 dots (height) x 14 ...

  • Page 96

    1-94 font 4: upper- and lower-case alphanumeric characters. Character size: 203 dpi: 36 dots (height) x 18 dots (width) x 3 dots (space) 300 dpi: 48 dots (height) x 24 dots (width) x 4 dots (space) font 5: upper- and lower-case alphanumeric characters. Character size: 203 dpi: 52 dots (height) x 18 ...

  • Page 97

    1-95 font 6: upper- and lower-case alphanumeric characters. Character size: 203 dpi: 64 dots (height) x 32 dots (width) x 4 dots (space) 300 dpi: 88 dots (height) x 42 dots (width) x 6 dots (space) font 7: upper-case alphabetic characters and numeric ocr-a font. Character size: 203 dpi: 32 dots (hei...

  • Page 98

    1-96 font 8: upper- and lower-case alphabetic characters and numeric cr-b font. Character size: 203 dpi: 28 dots (height) x 15 dots (width) x 5 dots (space) 300 dpi: 33 dots (height) x 21dots (width) x 8 dots (space).

  • Page 99

    1-97 font 9: upper- and lower-case alphabetic characters, numeric and extension font (cg triumvirate smooth font). Character size is any of 6, 8, 10, 12, 14, 18, 24, 30, 36, 48 or 72 points..

  • Page 100

    1-98 2.2 description of bar codes the following print sample is printed with a pixel size of 1 dot x 1 dot. The dot pattern in horizontal and vertical direction is printed with 1 time. Bar code a: code 3 of 9 this bar code consists of upper-case alphanumeric characters. Number of digits is variable ...

  • Page 101

    1-99 bar code c: upc-e this bar code consists of only numeric characters and is 8-digit fixed length. The first digit numbering system character is "0" fixed so it is not transmitted. The 6th or 7th digit numeric excluding numbering system character is sent by the computer or applications software. ...

  • Page 102

    1-100 bar code e: code 128 this bar code consists of the full ascii set of 128 characters and number of digits is variable in length. Checksum is performed through the modulus 103 calculation and added to the end of digit. This printer supports code subsets a, b and c. When one character of either a...

  • Page 103

    1-101 [example] the test bar code is first printed with code subset b, and then 123 bar code with code subset a. Data is transmitted in the order of b, test, 2-character &f, and 123. Input code: btest&f123 bar code data: test123 control code control characters are coded into code subset a. See the c...

  • Page 104

    1-102 bar code f: ean-13 (jan-13) this bar code consists of only numeric characters and is 13-digit fixed length. The 12-digit numerics are input from the computer or applications software and the 13th digit is a checksum automatically calculated by the printer. When the computer sends the 13th digi...

  • Page 105

    1-103 bar code h: hibc this is a bar code of the code 3 of 9 hibc (modulus 43 checksum) version and consists of upper-case alphanumeric characters. Number of digits is variable in length. Checksum is added to the end of data. To specify the type of data format, enter "+" in the top of data. Start/st...

  • Page 106

    1-104 bar code k: plessey this bar code consists of only numeric characters and number of digits is variable in length. Checksum is added to the end of digit through the modulus 10 calculation. Bar code l: case code this is a case code of the interleaved 2 of 5 modulus 10 checksum and is 14-digit fi...

  • Page 107

    1-105 bar code n: upc 5dig add this is a supplementary code of 5 digits for upc and consists of only numeric characters and is 6-digit fixed length. The 5-digit numerics are input from the computer or applications software and the 6th digit is a checksum automatically calculated by the printer. If t...

  • Page 108

    1-106 bar code q: ucc/ean-128 number of digits is fixed in length and data is input with 19-digit numerics. Ratio depends on the value of thin bar. Bar code r: ucc/ean-128 (for k-mart) number of digits is fixed in length and data is input with 18-digit numerics. Ratio depends on the value of thin ba...

  • Page 109

    1-107 bar code t: telepen number of digits is fixed in length. Ratio depends on the value of thin bar. Bar code u / u: ups maxicode this bar code consists of alphanumeric characters and number is digits variable in length. Barcode font type u :data amount should be set by 4-digit bytes u :data amoun...

  • Page 110

    1-108 bar code v: fim this bar code consists of alphabet a, b, c, and d and number of digits is fixed in length. The width and height of bar code is specified as same as fonts. Only lower-case characters are valid for setting bar code types..

  • Page 111

    1-109 bar code z / z: pdf-417 this is a two-dimensional bar code and variable in length. Barcode font type z :data amount should be set by 4-digit bytes z :data amount is automatically set. Input data consists of the following seven elements: 4-digit-- amount of data to be used when u is bytes follo...

  • Page 112

    1-110 bar code w1d / w1d or esc enhancing + q: qr code this is two-dimensional bar code and has variable length. When this code is generated, qr code information such as error correction level, mask number, data input modes and data, is specified. Available data input modes are manual setting mode i...

  • Page 113

    1-111 ◎ in the case of normal mode qr code formats vary depending on the bar code type. Bar code type: esc extension +q in the case of automatic data setting file format: , [end code] in the case of manual data setting file format: , , , , , [end code] bar code type: w1d (data manual setting) file f...

  • Page 114

    1-112 file format parameter model selection method none --- when specifying a bar code other than w1d 1 --- model 1 2 --- model 2 error correction level h ---- ultra high reliability level (level h) q ---- high reliability level (level q) m ---- standard level (level m) l ---- high density level (le...

  • Page 115

    1-113 example 1 : model :functionality expansion specification (2) level :ultra high reliability level (h) mask :mask number 0 (0) input mode :manual setting (m) mode :numeric mode (n) data :description in generating qr codes using 0123456789012345 bar code type: esc extension +q 1[esc] 440020010001...

  • Page 116

    1-114 bar code type: w1d (data manual setting) file format: , , , , , , [end code] bar code type:w1d (automatic data setting) file format: , [end code] the following data should be placed before standard mode file specification. Bound mode identifier code number value indicating the position of code...

  • Page 117

    1-115 bar code w1c / w1c: data matrix this is a two-dimensional bar code and variable in length. Barcode font type w1c :data amount should be set by 4-digit bytes w1c :data amount is automatically set. Input data consists of the following six elements: 4-digit-- amount of data to be used when w1c is...

  • Page 118

    1-116 bar code w1f / w1f: aztec this is 2-dimentional and variable length bar code. Variable length bar codes can be generated by specifying their bar code type. W1f :data amount should be set by 4-digit bytes w1f :data amount is automatically set. The input data is comprised of 5 elements. 4 digits...

  • Page 119: Chapter 3

    1-117 chapter 3 overlay function 3.1 outline 3-2 3.2 type of memory 3-2 3.3 storage and readout commands 3-2 3.4 type of graphic image data 3-4 3.5 font downloading commands 3-5.

  • Page 120

    1-118 3.1 outline this printer once stores the required images, ruled lines and character strings in the on-board memory or optional memory module, then overlays the data onto the printing data. 3.2 type of memory memory assignment will be specified by each emulation as follows. Command set allocati...

  • Page 121

    1-119 3.3 storage and readout commands two commands are available for storage and readout. 1 system level commands (occasional execution commands starting with 02h) graphic image writing commands for on-board ram or on-board flash ram or ic card. I (a/b/c) faa..A 2 label format commands (occasional ...

  • Page 122

    1-120 3.4 type of graphic image data the data to be stored in the on-board memory or memory module with the command "i(a/b/c)faa..A" above are as follows: 1 7-bit image loading file data without header data in ascii codes 2 8-bit image format data (image saved in reverse) with header data in hex cod...

  • Page 123

    1-121 3.5 font downloading commands font downloading commands are used to transmit the user-specified font (bit map font) to the on-board memory or memory module. The transmission of the downloading font data is in conformity with the hp standard esc sequence. Command function esc*c###d font id spec...

  • Page 124: Chapter 4

    1-122 chapter 4 printing command examples 4.1 printing position specification 4-2 4.2 character printing 4-3 4.3 ruled line printing 4-4 4.4 bar code printing 4-5 4.5 increasing and decreasing number printing 4-7 4.6 sample printing 4-9.

  • Page 125

    1-123 this chapter describes the procedure for program preparation and actual program examples for printing data. 4.1 printing position specification the origin for positioning bar codes or characters to be printed on labels is at the bottom left of label, and with the distance from that point, the ...

  • Page 126

    1-124 4.2 character printing when characters or strings are to be printed, attribute data such as printing direction and printing position must be added to the top of the strings. With the program example printing "ab" on the previous page, the contents of the character printing are described below....

  • Page 127

    1-125 4.3 ruled line printing when ruled lines are to be printed, attribute data such as printing position and line types must be included in the command. Ruled line drawing command: lhhhvvv, lhhhhvvvv l, l: specifies line drawing l sets 3-column width and l sets 4-column width hhh, hhhh: specifies ...

  • Page 128

    1-126 4.4 bar code printing when bar codes are to be printed, attribute data such as printing position and bar code types must be included in the command. Program description 3 a 6 2 090 0200 0700 barcode printing character data narrow bar width (1-digit) bar code selection no.(1-digit) column addre...

  • Page 129

    1-127 bar code selection number number bar code name a code 3 of 9 d interleaved 2 of 5 h hibc i codabar j interleaved 2 of 5 w/bars k plessey l case code b upc-a c upc-e e code 128 (b) f ean-13 g ean-8 m upc 2dig add n upc 5 dig add o code 93 p zip q ucc/ean 128 r ucc/ean 128 (for k-mart) s ucc/ean...

  • Page 130

    1-128 4.5 increasing and decreasing number printing when continuously increasing and decreasing numbers like serial numbers are to be printed on labels, continuous printing can be performed automatically by the counter in the printer. At this time, the number of steps for increasing and decreasing (...

  • Page 131

    1-129 100 100 100 100 101 98 100 105 102 96 103 10a 103 94 103 10f fig.1 fig.2 fig.3 fig.4.

  • Page 132

    1-130 4.6 sample printing the print sample and printing data combining the commands above are as follows: [02] m sets units to metric system [02] m1500 max. Label length [02] l starts label format mode pk printing speed so paper feed speed d11 sets pixel size c0000 offset in direction of column (ver...

  • Page 133: Chapter 5

    1-131 chapter 5 interface functions 5.1 rs-232c serial interface 5-2 5.2 parallel interface 5-6.

  • Page 134

    1-132 5.1 rs-232c serial interface 1 specifications transmission system: asynchronous communication method (full duplex) signal logic level: rs-232c baud rate: 2400, 4800, 9600, 14400, 19200, 38400, 57600, 115200 bps data length: 7 bits or 8 bits start bit: 1 bit stop bit: 1bit, 2bits parity check: ...

  • Page 135

    1-133 2 xon/xoff protocol (a) conditions for sending xon ・ communication is enabled after power is turned on. ・ residual capacity of the buffer is 1 k bytes or more after sending xoff code. ・ xoff code is output due to error and printer returns to normal conditions. (b) conditions for sending xoff ・...

  • Page 136

    1-134 (c) communication control flowchart the following is a reference flowchart for sending and receiving data by using printer transmission request command (01+a, or 01+f). (in xon/xoff protocol and compatible machine on mode) start printer status request error or pause? Removing error cause/ clea...

  • Page 137

    1-135 3 dtr protocol (a) conditions for making dtr signal ready (high) the following must be required: ・ printer is on line. ・ receive buffer has more than 1k bytes available. Note: when receive buffer has less than 128 bytes available, dtr signal becomes “busy (low)” level and this “busy (low) leve...

  • Page 138

    1-136 5.2 parallel interface 1 specifications transmission system: 8 bits parallel (compatibility mode) synchronization: strobe pulse handshake: acknlg and busy signal logic level: ttl 2 usable interface connector printer side: 36-pin amphenol type a standard parallel interface should be used. (the ...

  • Page 139

    1-137 4 timing chart acknlg "low" indicates that the printer has received data. The busy "high" indicates that the printer is not able to receive data and the "low" indicates that the printer is able to receive data. Min 750ns min 750ns min 750ns 2.5μs (typ.) strobe busy acknlg data max 500ns.

  • Page 140: Appendixes

    1-138 appendixes a.1 list of commands a-2 a.2 list of font character codes a-8 a.3 printing edit function a-10 a.4 specification of switching of control codes a-14 a.5 specification list of command sets a-15 a.6 list of specifications by model a-16.

  • Page 141

    1-139 appendix 1 list of commands y : supported command n/a: not supported command models system level commands 7106 7206 soh # reset y a printer status transmission request (8 bytes) y b pause y c stop/cancel y d stop immediate execution of system level commands y e transmission of number of remain...

  • Page 142

    1-140 (continued) models system level commands 7106 7206 stx mnnnn setting max. Label length (detection miss checking) y m changing units from inch system to metric system y n changing units from metric system to inch system y onnnn setting printing position (form offset) y o paper cut y p setting d...

  • Page 143

    1-141 models commands after the print contents definition mode is turned on with "stx" + "l" 7106 7206 7010 an set format attribute y none "esc"+bn specifying development method y cnnnn setting column offset y cnn setting number of cuts (2-digit) y dhv setting horizontal and vertical pixel sizes y e...

  • Page 144

    1-142 models font downloading commands 7106 7206 7010 esc *c###d id assignment y )s#wnn..N descriptor writing y *c#e character code writing y (s#wnn..N character data downloading y.

  • Page 145

    1-141 models commands after the print contents definition mode is turned on with "stx" + "l" 7106 7206 7010 an set format attribute y none "esc"+bn specifying development method y cnnnn setting column offset y cnn setting number of cuts (2-digit) y dhv setting horizontal and vertical pixel sizes y e...

  • Page 146

    1-144 bar code setting field (after the print contents definition mode is turned on with "stx" + "l") models 2nd digit specified bar code (upper-case characters: visible code, lower-case characters: non-visible code) 7106 7206 7010 a code 3 of 9 y b upc-a y c upc-e y d interleaved 2 of 5 y e code 12...

  • Page 147

    1-145 appendix 2 list of font character codes 1 system font 1 – 6 2 system font 7 (ocr-a) l h binary 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 binary hex 0 1 2 3 4 5 6 7 8 9 a b c d e f 0000 0 (sp) 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1001 9 1...

  • Page 148

    1-146 3 system font 8 (ocr-b) 4 expansion font (cg triumvirate, cg triumvirate bold smooth font) l h binary 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 binary hex 0 1 2 3 4 5 6 7 8 9 a b c d e f 0000 0 (sp) 0001 1 0010 2 0011 3 0100 4 0101 5 0110 6 0111 7 1000 8 1...

  • Page 149

    1-147 appendix 3 printing edit function 1 unnaa.. : particular printing contents are changed (see sample no. 1) printing contents are stored in the field register in order from number 1. The unnaa.. Command replaces the data of "nn" in the field register with "aa.." the transmission data is applied ...

  • Page 150

    1-148 transmission buffer (fifo) field register (stores printing contents) 1 global register(temporarily) stores printing contents) unnaa.. Rewrites paticular contents +pi, -pi increment decrement bit map(printing data) g storage sa pick up on-board flash memory s(a/b/c)aa.. Stores format raa.. Read...

  • Page 151

    1-149 sample no. 1 "unnaa.." command: specified register contents rewriting [02] m sets units to mm [02] l starts label format d11 161200000000050fix "fix" defined to field no 01 1611000000002500001 "0001" defined to field no 02 161100000800250abcdef "abcdef" defined to field no 03 e ends label form...

  • Page 152

    1-150 1611000000002500002 "0002" defined to field no 02 161100000800250label2 "label2" defined to field no 03 e ends label format and prints [02] l starts label format rfdata reads out file name "fdata" d11 1611000000002500003 "0003" defined to field no 02 161100000800250label3 "label3" defined to f...

  • Page 153

    1-151 appendix 4 specification of switching of control codes control codes can be switched from the menu on the operation panel. By setting to alt mode, the system level command start code soh (immediate execution command) and stx (sequential execution command) will be changed to the commands in the...

  • Page 154

    1-152 appendix 5 specification list of command set table below are items whose specifications will be changed using the switching function of the emulation command sets. Command sets relate d comm ands item dmi/dmw dm4/dm8 dpp stx o reference values for printing starting position 0220 (2.20inches ) ...

  • Page 155

    1-153 appendix 6 list of specifications by model table below are specifications required when editing printing for each model such as memory size and the maximum page length. Model names items 7106 7206 7010 on-board sd-ram [byte] 512k on-board flash memory [byte] 512k maximum page length 32inches n...

  • Page 156

    © august 2010 dascom europe gmbh v1.0 dascom representatives germany dascom europe gmbh heuweg 3 d-89079 ulm deutschland tel.: +49 (0) 731 2075 0 fax: +49 (0) 731 2075 100 www.Dascom.Com singapore dascom ap pte ltd 63 hillview avenue #08-22, lam soon industrial building singapore 669569 phone: +65 6...