Samsung STP-131 Mini Printer Communication Driver

 

Samsung STP-131 Mini Printer is driver for printing to STP-131 mini printer of Samsung Electronics.

 

1. Read settings

 

<Figure 1> is read setting example of Samsung STP-131 Mini Printer driver.

<Figure 1> Read setting example of Samsung STP-131 Mini Printer communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to setting of device.

Also, in case of bringing multiline character which is to be printed or control code from file, enter Output delay time to each line as mSec unit (Default = 20 mSec), at Option part of <Figure 1>.

  

Samsung STP-131 Mini Printer communication driver's read schedule

Samsung STP-131 Mini Printer communication driver's read schedule just needs single line as READ.

 

2. Writing settings

Write the set value to recorder directly without read settings.

 

Digital Write

Digital write and analog write have the same setting parameters except output value(0 or 1).

 

Analog Write

You can read/write, print and etc the card by using analog writing.

 

Analog write setting parameters are as follows :

1)  PORT                  Connected communication port number. (Not COM number)

2)  STATION              Select whether to read character to be printed or control code from file.

                                 255 : Read character to be printed or control code from WorkDirectory\SCAN\comm%03d.ini file(%03d : PORT number).

                   0, Etc : Print the entered value(character or control code) written at Extra1.

3)  ADDRESS            Don't care. (Set as 0)

4)  Extra1                 Enter character to be printed or control code, when Station value isn't 0. (Refer to <Table 1> about input method of Character and Control code)

5)  Extra2                  Don't care.

 

<Table 1> is description for character to be printed and control code input method which is used at Samsung STP-131 Mini Printer communication driver.

Character

Description

Remarks

\x??

Sentence for entering various control character,

?? : Enter hexadecimal between 00 and FF

station = 255 : Enter WorkDirectory\SCAN\comm%03d.ini command

(%03d : PORT number, enter maximum 80 lines)

Delete the file after reading print contents.

 

station = 0 or Etc : Enter command to Extra1

\n

LF character (it is same with 0A and \x0A)

\r

CR character (it is same with 0D and \x0D)

\t

TAB character (it is same with 09 and \x09)

Number(0 ~ 9),

Alphabetical character(a ~ z, A ~ Z),

Korean alphabet, Special leeters, etc

Enter relevant letters

<Table 1> Character to be printed and control code input method which is used at Samsung STP-131 Mini Printer communication driver

Write example 1)

Station:0  Address:0000, Extra1:1234\r\nTEST\r\nABC567, Extra2: Blank

If you set as above and analog output, it prints 1234\r\nTEST/r\nABC567 sentence to mini printer connected with current communication port.

At this sentence, \r\n is control character to move to next line.

 

Write example 2)

Station:255  Address:0000, Extra1:  , Extra2: Blank

If you set as above and analog output, it prints(control the control code) character which is written at WorkDirectory\SCAN\comm000.ini file by using mini printer connected with current communication port.

 

3. Communication cable and power connection

Connect communication cable of Samsung STP-131 Mini Printer device and basic power, as follows.

 

Communication cable connection

Connect the RS-232C communication cable which is supported when you buy product to communication terminal of <Figure 2>.

2
<Figure 2> Appearance of connecting communication cable, basic power etc to STP-131 mini printer

Notice) If you connect Parallel communication cable, print by using @FileOpenLPT script function etc of LocalMain.

 

Basic power connection

Connect power cable which is supported when you buy product to power input part.

<Figure 3> is appearance of STP-131 mini printer.

1
<Figure 3> STP-131 Mini Printer