background image

USER'S MANUAL

USER'S MANUAL

GS 

 

( A pL pH n m 

<Function 1> GS ( E pL pH fn d1 d2  (fn=1)

 

Execute test print.

GS    (     A   pL   p H   n   m 

Hex         1 D    28  41  p L   pH   n   m 
Decimal  29    40  65  pL   pH   n   m 
(pL + pH x 256) = 2 (pL=2, pH=0)
0

n

2,    48

n

50 

1

m

3,    49

m

51 

Executes a test print with a specified test pattern on a specified 
paper type (roll paper). 

ASCII      

ASCII      

GS   (     E     pL  p H   fn  d1  d 2

Hex         1D   28   45   pL   pH  fn  d1  d2
Decimal  29   40   69   pL   pH  fn  d1  d2
(pL + pH x 256) = 3  (pL=3, pH=0) 
fn=1 
d1=73, d2=78 
Enter the user setting mode and notifies that the mode has changed. 

[Name]
[Format]

[

]

Range

[Description]

[Format]

[

]

Range

[Description]

n                      Paper type 

0, 48 

1, 49                 Paper roll 

2, 50 

m                          Test pattern 

1, 49                   Hexadecimal dump 

2, 50                   Self Test Printing 

3, 51                   Self Test rolling pattern 

n specifies the paper type as listed below to be tested : 

m specifies a test pattern as listed below : 

If this command is processed while a macro is being defined, the printer 
cancels macro definition and starts processing this command. At  that 
time, the macro becomes undefined.
After processing this command, the printer performs a software reset.  

[Notes]

Header     37H                        55                               1byte 

Flag          20H                        32                               1byte 

NUL          00H                        0                                  1 byte

Hexadecimal        Decimal                   Number of Data 

The following commands are enabled in the user setting mode. 
 <Function 2> through <Function 12> of GS ( E, GS I.

<Function 2> GS ( E pL pH fn d1 d2 d3  (fn=2) 

<Function 3> GS ( E pL pH fn [a1 b18...b11]...[ak bk8...bk1] (fn=3)

ASCII      

GS    (     E   pL   p H  fn   d1   d 2   d3

Hex         1D   28   45  pL   pH  fn   d1   d2   d3
Decimal  29   40   69  pL   pH  fn   d1   d2   d3
(pL + pH x 256) = 4  (pL=4, pH=0) 
fn=2 
d1=79, d2=85,d3=84 
Ends the user setting mode and performs a software reset. 
Therefore, the printer clears the data received in print buffers, 
and resets all settings (user-defined character, downloaded 
bit images, macros, and the print mode) to the mode that was 
in effect at powering on. 
This function code (fn=2) is enabled only in the user setting mode.

ASCII       

         

  

  

  

       

   

  

  

  

  

  

    

  

  

   

  

GS   (  

E   pL  pH  fn [a1 b18...b11]... [ak bk8...bk1]

Hex   

1D  28  45  pL  pH  fn [a1 b18...b11]... [ak bk8...bk1]

Decimal 29  40 69 pL pH fn 

[a1 

b18...b11]... 

[ak 

bk8...bk1]

10 

 (pL + pH x 256)  65535

fn=3
a= 5
b=48, 49,50 
All switches are set to Off (b=48).
Change the memory switch specified by a to the values 
specified by b.
- When b=48, the applicable bit is turned to Off.
- When b=49, the applicable bit is turned to On.
- When b=50, the applicable bit is not changed.
When a=5 the memory switch 5 is set as follows :
Set power off time (1~90 minute.) *When memory switch setting 
value 0, not work power off

[Format]

[

]

Range

[Description]

[Format]

[

]

Range

[Default]
[Description]

Summary of Contents for MOB-58

Page 1: ...MOB 58 Mobile Printer USER S MANUAL MANUAL REVISION EN1 0 FE ED PO WER RGE F A U H LL C POW ER M O D E E R R O R...

Page 2: ...the printer in case that splash into the printer The print head has a high temperature after work Please don t touch the print head or touch the motor shell in case scalded NOTICE Do not plug or unpl...

Page 3: ...x 2 Low noise thermal printing 3 RS 232 USB Bluetooth interfaces integrated 4 The data buffer allows the unit to receive print data even during printing 5 Bar code printing is possible by using a bar...

Page 4: ...ler for assistance 2 1 Unpacking MOB 58 Serial Cable Roll paper Recharger USB Cable USER S MANUAL USER S MANUAL s Manual er ow M P o d e l l u F E e r g r r o a r h C er ow M P o d e l l u F E e r g r...

Page 5: ...ellow BAUDRATE SETTING For example Set 9600BPS baudrate Before setting baudrate make sure the printer is on off Status 1 Press POWER button and hold on till MODE light turns blue 2 Press POWER button...

Page 6: ...SR DTR S G PRINTER SIDE HOST SIDE Pin No 1 3 2 7 8 6 5 4 Press FEED button One time Two times Three times Four times Five times Six times Seven times Signal name FG TxD RxD RTS CTS DSR SG DTR Directio...

Page 7: ...s than 5 meters is required 3 1 2 USB Connection 3 2 Connect the cables 3 2 1 Connect the AC recharger to the printer to recharge the battery NOTE To remove the DC cable connector make sure that the p...

Page 8: ...r comes off the roll 6 Pull out a small amount of paper then close the cover As picture shows Turn off the printer open the paper roll cover and clean the thermal elements of the print head with a cot...

Page 9: ...battery cabin in right position 3 press the battery till a voice from the button Chapter 6 Self test Self test checks whether the printer can perform normally or not except to functions of communicati...

Page 10: ...FEED button once to advance paper one line Press the FEED button and hold on to feed paper continuously 7 3 Tear paper After finished printing every receipt users need to tear off the receipt by thems...

Page 11: ...recharge the indicator light turns green 3 Please don t use the printer while recharging otherwise the battery s life span would be decreased Chapter 10 Specifications Printing Paper Supply Method Ch...

Page 12: ...e width print mode Cancel character Double width print selection Select character print mode Define downloaded bit image Print downloaded bit image Hexadecimal Code 0A 0C 0D 18 10 04 n 1B 0C 1B 20 n 1...

Page 13: ...status in real time n Function 1 Transmit printer status 4 Transmit paper roll sensor status 11 2 Control Commands LF FF HT Print and feed line ASCII LF Hex 0A Decimal 10 In standard mode prints the d...

Page 14: ...ESC m nL nH d1 dk ESC n Set absolute print position ESC nL nH nL nH nL nH 0 nL nH x 256 65535 0 nH 255 0 nL 255 Sets the next print starting position and the absolute print position in reference to th...

Page 15: ...the horizontal tab position ASCII Hex 1B 44 Decimal 27 68 1 Name Format Range Description Name Format Range Description Name Format Range Default Description ESC E n ESC G n ESC J n ESC L ESC M n Turn...

Page 16: ...ut put format ESC S Select standard mode ESC S Switches from page mode to standard mode Any data stored in the printer for printing in page mode is cleared ASCII Hex 1B 53 Decimal 27 83 Name Format De...

Page 17: ...ulation pitch inches Vertical start point yL yH x 256 x basic calculation pitch inches Horizontal length dxL dxH x 256 x basic calculation pitch inches Vertical length dyL dyH x 256 x basic calculatio...

Page 18: ...Decimal 28 20 This order can cancel character Double width print mode set by FS SO FS n Name Format Range 0 n 255 Description Select print modes using n as follows Select character print mode ASCII FS...

Page 19: ...n n 255 where 1 Enlargement in vertical direction 8 1 Enlargement in horizontal direction 8 n 0 Selects character size enlargement in vertical and horizontal directions ASCII GS Hex 1D 21 Decimal 29...

Page 20: ...adecimal Decimal Number of Data The following commands are enabled in the user setting mode Function 2 through Function 12 of GS E GS I Function 2 GS E pL pH fn d1 d2 d3 fn 2 Function 3 GS E pL pH fn...

Page 21: ...parity d Function 56 Select 8bit length d Function 48 Select Flow control DTR DSR d Function 48 Select no parity Flow control a 3 is specified by d as follows Data Length a 4 is specified by d as foll...

Page 22: ...this printer is constructed by Header NUL as shown in the ASCII G Hex 1D 49 62 Decimal 29 73 98 Name Format Range Default Description Name Format Description Notes Transmitted data Hex Decimal Amount...

Page 23: ...d 57 65 d 90 d 32 36 37 43 45 46 47 4 1 k For 1 USER S MANUAL USER S MANUAL GS L nL nH GS W nL nH GS nL nH Set left margin S L nL nH nL nH nL nH nL 255 0 nH 255 nL nH x 256 0 nL 0 nH 0 Sets the left m...

Page 24: ...1 2 49 50 Name Format Range Description For 2 m 67 68 73 Bar Code System JAN13 EAN13 JAN 8 EAN8 CODE128 Range of k 12 k 13 7 k 8 2 k 255 Range of d 48 d 57 48 d 57 48 d 57 65 d 90 d 32 36 37 43 45 46...

Reviews: