Sinocan P11-USL Скачать руководство пользователя страница 32

                                   

               

THERMAL RECEIPT PRINTER

                                 

             

     

32

 

printer processes 

xL, xH, yL, yH 

out of the defined range. 

 

In the first group of NV bit images, when any of the parameters 

xL, xH, yL, yH 

is out of the 

definition range, this command is disabled. 

 

In groups of NV bit images other than the first one, when the printer processes 

xL, xH, yL, yH 

out 

of the defined range, it stops processing this command and starts writing into the NV images. At 
this time, NV bit images that haven¡¯t been defined are disabled (undefined), but any NV bit 
images before that are enabled. 

 

The 

indicates the definition data. In data (

d

) a 1 bit specifies a dot to be printed and a 0 bit 

specifies a dot not to be printed. 

 

This command defines 

as the number of a NV bit image. Numbers rise in order from NV bit 

image 01H. Therefore, the first data group 

[xL xH yL yH d1...dk] 

is NV bit image 01H, and the 

last data group 

[xL xH yL yH d1...dk] 

is NV bit image 

n. 

The total agrees with the number of NV 

bit images specified by command 

FS p

 

A definition data of a NV bit image consists of 

[xL xH yL yH d1...dk]. 

Therefore, when only one 

NV bit image is defined 

n

=1, the printer processes a data group 

[xL xH yL yH d1...dk] 

once. The 

printer uses ([data: (

xL 



xH

256) 

(

yL 



yH

256) 

8] 



[header :4])bytes of NV memory. 

 

The definition area in this printer is a maximum of 0.5M bits (64K bytes). This command can 
define several NV bit images, but cannot define a bit image data whose total capacity [bit image 
data 



header] exceeds 0.5M bits (64K bytes). 

 

The printer is busy immediately before writing into NV memory. 

 

The printer does not transmit ASB status and perform status detection during processing of this 
command even when ASB is specified. 

 

When this command is received during macro definition, the printer ends macro definition,and 
begins performing this command. 

 

Once a NV bit image is defined, it is not erased by performing 

ESC @

, reset, and power off. 

 

This command performs only definition of a NV bit image and does not perform printing.Printing 
of the NV bit image is performed by the 

FS p 

command. 

[Details]               

 

Frequent write command execution may cause damage the NV memory. 

Therefore, it is recommended to write the NV memory 10 times or less a day. 

 

The printer performs a hardware reset after the procedure to place the image into the NV memory. 
Therefore, user-defined characters, downloaded bit images, and macros should be defined only 
after completing this command. The printer clears the receive and print buffers and resets the 
mode to the mode that was in effect at power on. At this time, DIP switch settings are checked 
again. 

[Reference] 

FS p 

Содержание P11-USL

Страница 1: ...Thermal Receipt Printer P11 USL PROGRAMMING MANUAL...

Страница 2: ...ing ESC 3 n Set line spacing ESC n Select peripheral device ESC n Cancel user defined characters ESC Initialize printer ESC D Set horizontal tab positions ESC E n Turn emphasized mode on off ESC G n T...

Страница 3: ...n page mode GS Execute macro GS b n Turn smoothing mode on off GS f n Select font for HRI characters GS h n Set bar code height GS k n Print bar code GS r n Transmit status GS v 0 Print raster bit ima...

Страница 4: ...n for the paper roll is font A 12 24 every 8th character 9th 17th 25th column Reference ESC D LF Name Print and line feed Format ASCII LF Hex 0A Decimal 10 Description Prints the data in the print buf...

Страница 5: ...s transmission Format ASCII DLE EOT n Hex 10 04 n Decimal 16 4 n Range 1 n 4 Description Transmits the selected printer status specified by n in real time according to the following parameters n 1 Tra...

Страница 6: ...mitted by the DLE EOT command and the ASB status must be differentiated n 1 Printer status Bit Off On Hex Decimal Function 0 0 00 0 Not used Fixed to Off 1 1 02 2 Not used Fixed to On 2 0 00 0 Drawer...

Страница 7: ...or Paper present 1 60 96 Paper roll end detected by paper roll senso 7 0 00 0 Not used Fixed to Off Reference DLE ENQ GS a GS r DLE ENQ n Name Real time request to printer Format ASCII DLE ENQ n Hex 1...

Страница 8: ...and is enabled only for errors that have the possibility of recovery except for print head temperature error When the printer is disabled with ESC Select peripheral device the error recovery functions...

Страница 9: ...P n Hex 1B 20 n Decimal 27 32 n Range 0 n 255 Description Sets the character spacing for the right side of the character to n horizontal or vertical motion units Details The right side character spaci...

Страница 10: ...derline mode not selected On 80 128 Underline mode selected Details When both double height and double width modes are selected quadruple size characters are printed The printer can underline all char...

Страница 11: ...intable area as follows 1 When the starting position is set to the upper left or lower right of the printable area using ESC T the horizontal motion unit x is used 2 When the starting position is set...

Страница 12: ...g dots on the right side are blank The data to define a user defined character is y x bytes Set a corresponding bit to 1 to print a dot or 0 to not print a dot This command can define different user d...

Страница 13: ...THERMAL RECEIPT PRINTER 13 When font B 9 17 is selected...

Страница 14: ...sity 8 67 DPI 100 DPI nL nH 256 1 8 dot double density 8 67 DP 200 DPI nL nH 256 32 24 dot single density 24 200DPI 100 DPI nL nH 256 3 33 24 dot double density 24 200 DPI 200DPI nL nH 256 3 Details I...

Страница 15: ...right to accommodate the amount of data If step does not provide sufficient width for the data the left margin is reduced to accommodate the data After printing a bit image the printer returns to nor...

Страница 16: ...underline the space set by HT The printer cannot underline 90 clockwise rotated characters and white black inverted characters When underline mode id turned off by setting the value of n to 0 or 48 t...

Страница 17: ...movement amount In standard mode the vertical motion unit y is used In page mode this command functions as follows depending on the starting position of the printable area When the starting position...

Страница 18: ...er and resets the printer mode to the mode that was in effect when the power was turned on Details The DIP switch settings are not checked again The data in the receive buffer is not cleared The macro...

Страница 19: ...SC E n Name Turn emphasized mode on off Format ASCII ESC E n Hex 1B 45 n Decimal 27 69 n Range 0 n 255 Description Turns emphasized mode on or off When the LSB of n is 0 emphasized mode is turned off...

Страница 20: ...or lower left of the print able area using ESC T the horizontal motion unit x is used The maximum line spacing is 1016mm 40 inches When the setting value exceeds the maximum it is converted to the max...

Страница 21: ...Reference FF CAN ESC FF ESC S ESC T ESC W GS GS ESC M n Name Select character font Format ASCII ESC M n Hex 1B 4D n Decimal 27 77 n Range n 0 1 48 49 Description Selects character fonts n Function 0 4...

Страница 22: ...standard mode and page mode to those for standard mode Set right side character spacing ESC SP FS S Select default line spacing ESC 2 ESC 3 The following commands are enabled only to set in standard m...

Страница 23: ...ting area data is buffered in the direction perpendicular to the paper feed direction Commands using horizontal motion units ESC SP ESC ESC Commands using vertical motion units ESC 3 ESC J GS GS If th...

Страница 24: ...Details If this command is input in standard mode the printer executes only internal flag operation This command does not affect printing in standard mode If the horizontal or vertical starting posit...

Страница 25: ...n Default xL xH yL yH 0 dxL 0 dxH 2 dyL 126 dyH 6 Reference CAN ESC L ESC T GS P ESC nL nH Name Set relative print position Format ASCII ESC nL nH Hex 1B 5C nL nH Decimal 27 92 nL nH Range 0 nL 255 0...

Страница 26: ...T the vertical motion unit y is used Reference ESC GS P ESC a n Name Select justification Format ASCII ESC a n Hex 1B 61 n Decimal 27 97 n Range 0 n 2 48 n 50 Description Aligns all the data in one li...

Страница 27: ...ected as the paper sensor outputting paper end signals If either bit 2 or bit 3 is on the paper roll end sensor is selected as the paper sensor outputting paper end signals When all the sensors are di...

Страница 28: ...d n Hex 1B 64 n Decimal 27 100 n Range 0 n 255 Description Prints the data in the print buffer and feeds n lines Details This command sets the print starting position to the beginning of the line Thi...

Страница 29: ...n 0 ESC n Name Turns on off upside down printing mode Format ASCII ESC n Hex 1B 7B n Decimal 27 123 n Range 0 n 255 Description Turns upside down printing mode on or off When the LSB of n is 0 upside...

Страница 30: ...e specified NV bit image has not been defined In standard mode this command is effective only when there is no data in the print buffer In page mode this command is not effective This command is not a...

Страница 31: ...he defined NV bit image xL xH specifies xL xH 256 8 dots in the horizontal direction for the NV bit image you are defining yL yH specifies yL yH 256 8 dots in the vertical direction for the NV bit ima...

Страница 32: ...256 yL yH 256 8 header 4 bytes of NV memory The definition area in this printer is a maximum of 0 5M bits 64K bytes This command can define several NV bit images but cannot define a bit image data wh...

Страница 33: ...Decimal 29 33 n Range 0 n 255 1 vertical number of times 8 1 horizontal number of times 8 Description Selects the character height using bits 0 to 2 and selects the character width using bits 4 to 7 a...

Страница 34: ...range this command is ignored In standard mode the vertical direction is the paper feed direction and the horizontal direction is perpendicular to the paper feed direction However when character orie...

Страница 35: ...position is set to the upper right or lower left this command sets the absolute position in the horizontal direction The horizontal and vertical motion unit are specified by GS P The GS P command can...

Страница 36: ...Details This command is ignored if a downloaded bit image has not been defined In standard mode this command is effective only when there is no data in the print buffer This command has no effect in t...

Страница 37: ...macro undefined state The contents of the macro can be defined up to 2048 bytes If the macro definition exceed 2048 bytes excess data is not stored Reference GS GS B n Name Turn white black reverse p...

Страница 38: ...0 nL 255 0 nH 255 Description Sets the left margin using nL and nH The left margin is set to nL nH 256 horizontal motion unit inches Printable area Left margin Printing area width Details This comman...

Страница 39: ...character orientation When the print starting position is set to the upper left or lower right of the printing area using ESC T data is buffered in the direction perpendicular to the paper feed direct...

Страница 40: ...H Hex 1D 57 nL nH Decimal 29 87 nL nH Range 0 nL 255 0 nH 255 Description Sets the printing area width to the area specified by nL and nH The printing area width is set to nL nH 256 horizontal motion...

Страница 41: ...it image GS r 0 Double width mode or Quadruple mode 2 dots Normal mode or Double height mode 1 dot Default nL 0 nH 2 For 58mm paper width model nL 104 nH 1 Reference GS L GS P GS nL nH Name Set relati...

Страница 42: ...val specified by t When the LSB of m 1 After waiting for the period specified by t the PAPER OUT LED indicators blink and the printer waits for the FEED button to be pressed After the button is presse...

Страница 43: ...tes are transmitted without confirming whether the host is ready to receive data The four status bytes must be consecutive except for the XOFF code Since this command is executed after the data is pro...

Страница 44: ...29 107 m n d1 dn Range 0 m 6 k and d depends on the bar code system used 65 m 73 n and d depends on the bar code system used Description Selects a bar code system and prints the bar code m selects a...

Страница 45: ...as bar code data If n is outside of the specified range the printer stops command processing and processes the following data as normal data Details in standard mode If d is outside of the specified r...

Страница 46: ...SPACE If the host computer is not ready to receive data DSR signal is MARK the printer waits until the host is ready When XON XOFF control is selected the printer transmits only 1 byte without confirm...

Страница 47: ...t image Details In standard mode this command is effective only when there is no data in the print buffer This command has no effect in all print modes character size emphasized double strike upside d...

Страница 48: ...th mm Thick element width mm 2 0 25 0 25 0 625 3 0 375 0 375 1 0 4 0 5 0 5 1 25 5 0 625 0 625 1 625 6 0 75 0 75 1 875 Multi level bar codes are as follows UPC A UPC E JAN13 EAN13 JAN8 EAN8 CODE93 CODE...

Страница 49: ...cter mode Format ASCII FS Hex 1C 26 Decimal 28 38 Description Selects Kanji character mode Reference FS FS C FS n Name Turn underline mode on off for Kanji characters Format ASCII FS n Hex 1C 2D n Dec...

Страница 50: ...ode system used Model type c1 c2 Japanese Kanji supporting model JIS code system c1 77H 21H c2 7EH Japanese Kanji supporting model SHIFT JIS code system c1 ECH 40H c2 7EH 80H c2 9EH Chinese Kanji supp...

Страница 51: ...horizontal or vertical motion units and the right side character spacing is n2 horizontal or vertical motion units Details When double width mode is set the left and right side character spacing is t...

Страница 52: ...quadruple size mode on off for Kanji characters Format ASCII FS W n Hex 1C 57 n Decimal 28 87 n Range 0 n 255 Description Turns quadruple size mode on or off for Kanji characters When the LSB of n is...

Отзывы: