background image

 

48 

 
 <Example>  Printing GS k 72  7  67  111  100  101  13  57  51 

                       

 

 
[When CODE128 (m=73) is used :] 

     

 Refer to Appendix J for the information of the CODE128 bar code and 

  its code table. 

     

 When using the CODE128 in this printer, take the following points into account 

  for data transmission : 

             

 The top of the bar code data string must be code set selection character 

                    (any of CODE A, CODE B OR CODE C) which selects the first code set. 
 

 Description of the CODE128 Bar Code 

 

          In CODE128 bar code system, it is possible to represent 128 ASCII 

  characters and 2-digit numerals using one bar code character that is 
  defined by combining one of the 103 bar code characters and 3 code 
  sets. Each code set is used for representing the following characters : 

* Code set A : ASCII characters 00H to 5FH 
* Code set B : ASCII characters 20H to 7FH 
* Code set C : 2-digit numeral characters using one character 

(100 numerals from 00 to 99) 

          The following special characters are also available in CODE128 : 

* SHIFT characters 
    In code set A, the character just after SHFIT is processed as a 

  character for code set B. In code set B, the character just after 
  SHIFT is processed as the character for code set A. SHIFT 
  characters cannot be used in code set C. 

             * Code set selection character (CODE A, CODE B, CODE C) 

              This character switches the following code set to code set A, B, or C. 

      * Function character (FNC1, FNC2, FNC3, FNC4) 

               The usage of function characters depends on the application 

  software. In code set C, only FNC 1 is available. 

 

49 

 

 Special characters are defined by combining two characters “{“ and one 

          character. The ASCII character “{“ is defined by transmitting “{“ twice 
                    consecutively. 
 

Transmit data 

Specific character 

ASCII Hex Decimal 

SHIFT {S 

7B,53 

123,83 

CODE A 

{A 

7B,41 

123,65 

CODE B 

{B 

7B,42 

123,66 

CODE C 

{C

 

7B,43 123,67 

FNC1 {1 

7B,31 

123,49 

FNC2 {2 

7B,32 

123,50 

FNC3 {3 

7B,33 

123,51 

FNC4 {4 

7B,34 

123,52 

“{“ {{ 

7B,7B 

123,123 

 
       <Example> Example data for printing “No. 123456” 
                  In this example, the printer first prints “No.” using CODE B, then 
                                    prints the following numbers using CODE C. 
                         

GS k

  73  10  123  66  78  111  46  123  67  12  34  56 

                                               

 

           * If the top of the bar code data is not the code set selection character, 
            the printer stops command processing and processes the following 

  data as normal data. 

           * If combination of “{“ and the following character does not apply any 
            special character, the printer stops command processing and 

  processes the following data as normal data. 

           * The printer does not print HRI characters that correspond to the shift 
            characters or code set selection characters. 
           * HRI character for the function character is space. 
           * HRI characters for the control character 

  (<00>H to <1F>H and <7F>H) are space. 

              <Others> Be sure to keep spaces on both right and left sides of a bar code. 
                (Spaces are different depending on the types of the bar code.) 

Summary of Contents for STP-103P

Page 1: ...N04 00003A 1 Date February 2004 Manual Reversion 2 3 STP 103S STP 103P Operator s Manual POWER ERROR FEED ON LINE ELECTRO MECHANICS TEL 82 31 218 5594 FAX 82 31 218 5589 http www samsungminiprinters com ...

Page 2: ... you observe a strange smoke odor or noise from the printer unplug it before taking following measures Switch off the printer and unplug the set from the mains After the disappearance of the smoke call your dealer to repair it WARNING PROHIBITED ONLY SUPPLIEDADAPTER TO UNPLUG PRINTER PROHIBITED PROHIBITED PROHIBITED PROHIBITED 3 Violating following instructions can cause slight wound or damage the...

Page 3: ... in a particular installation If this equipment does cause harmful interference to radio or television reception which can be determined by turning the equipment off and on the user is encouraged to try to correct the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver Connect the equipment into...

Page 4: ... Type STP 103S Parallel Type STP 103P APPENDIX B Specification 7 7 7 8 9 10 10 11 13 14 16 17 18 27 29 51 51 51 52 7 Chapter 1 Unpacking 1 1 Checking the contents of the Printer The items illustrated below are included with your printer If any items are damaged or missing please contact your dealer for assistance Unpacking Roll paper Adaptor Power cord Cable Printer 1 2 Locating the Printer Avoid ...

Page 5: ...N LINE Buttons The control panel buttons perform paper feeding and on line function ON LINE Press the ON LINE button to ready to receive data from the computer FEED Press the FEED button once to advance paper one line You can also press the FEED button continuously to feed paper continuously Feed button is valid when ON LINE button is off Indicator Lights The control panel lights provide informati...

Page 6: ...oltage matches that of your electrical outlet 3 Plug the power supply s DC cable connector into the printer s power connector as shown below STP 103S STP 103P 4 Plug the AC adapter s power cord into an electrical outlet NOTE To remove the DC cable connector grasp the connector at the arrow and pull it straight out Make sure that the main unit s power cord is unplugged before you disconnect the DC ...

Page 7: ...e screws on both sides of the cable connector 3 Plug the other end of the cable into the computer 25 Pin Female Type 13 Chapter 3 Installing the Paper Roll Use a paper roll that matches the specifications NOTE The printer must be turned off before installing the paper roll 1 Open the printer cover and remove the used paper roll core if there is one 2 Insert the paper roll as shown below 3 Pull out...

Page 8: ... Use tweezers or another narrow tool to move the switches 1 3 Use the following tables to set the DIP switches 15 DIP Switch Functions BPS SW1 SW2 SW3 Default 2400 bps On Off Off 4800 bps Off On Off 9600 bps Off Off On 19200 bps On Off On 38400 bps On On Off 57600 bps Off On On 115200 bps On On On 9600 SW Function On Off Default SW4 Density Dark Normal Normal SW5 Handshaking Xon Xoff RTS CTS RTS C...

Page 9: ...coming to the printer This can be useful in finding software problems When you turn on the hexadecimal dump function the printer prints all commands and data in hexadecimal format along with a guide section to help you find specific commands To use the hexadecimal dump function follow these steps 1 After you make sure that the printer is off Close the cover 2 Turn on the printer while holding down...

Page 10: ...Table The following pages show the character code tables To find the character corresponding to a hexadecimal number count across the top of the table for the For example 4A J PC437 USA Standard Europe 19 Page1 KATAKANA ...

Page 11: ...20 PC850 Multilingual 21 PC860 Portuguese ...

Page 12: ...22 PC863 Canadian French 23 PC865 Nordic ...

Page 13: ...24 PC858 Euro 25 Space Page SP ...

Page 14: ...lect print mode s ESC Set absolute print position ESC Select cancel user defined character set ESC Define user defined characters ESC Select bit image mode ESC Turn underline mode on off ESC 2 Select 1 6 inch line spacing ESC 3 Set line spacing ESC Select peripheral device ESC Cancel user defined characters ESC Initialize printer ESC D Set horizontal tab positions ESC E Turn emphasized mode on off...

Page 15: ... and those setting affect the following data Standard mode Enabled Enabled only when the command is used at the beginning of a line Enabled only when data is not present in the buffer X Disable 29 Chapter 9 Control Commands Command Notation XXXX Command Name Format Range Description Notes Default Reference Example The name of the command The code sequence ASCII indicates the ASCII equivalents Hex ...

Page 16: ...Fixed to off 6 Off 00 0 Not used Fixed to off 7 Off 00 0 Not used Fixed to off 31 n 3 Error status Bit Off On Hex decimal Function 0 Off 00 0 Not used Fixed to Off 1 On 02 2 Not used Fixed to On 2 Undefined 3 Off 00 0 Not used Fixed to Off 4 On 10 16 Not used Fixed to On 5 Off 00 0 Not used Fixed to Off 6 Off 00 0 Not used Fixed to Off 7 Off 00 0 Not used Fixed to Off n 4 Continuous paper sensor s...

Page 17: ...efined character set is selected 33 ESC y c1 c2 x1 d1 d y X x1 xk d1 d y X xk Name Define user defined characters ASCII ESC y c1 c2 x1 d1 d y X x1 xk d1 d y X xk Hex 1B 26 y c1 c2 x1 d1 d y X x1 xk d1 d y X xk Decimal 27 38 y c1 c2 x1 d1 d y X x1 xk d1 d y X xk Range y 3 32 c1 c2 126 0 x 12 Font A 12 24 0 x 9 Font B 9 24 0 d1 d y xk 255 Description Defines user defined characters y specifies the n...

Page 18: ...Name Initialize printer Format ASCII ESC Hex 1B 40 Decimal 27 64 Description Clears the data in the print buffer and resets the printer mode to the mode that was in effect when the power was turned on ESC D n1 nk NUL name Set horizontal tab positions Format ASCII ESC D n1 nk NUL Hex 1B 44 n1 nk 00 Decimal 27 68 n1 nk 0 Range 1 n 255 0 k 32 Description Sets horizontal tab positions n specifies the ...

Page 19: ... off 90 clockwise rotation mode 1 49 Turns on 90 clockwise rotation mode 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 nL 255 Description Sets the print starting based on the current position by using the horizontal or vertical motion unit This command sets the distance from the current position to nL nH X 256 X horizonta...

Page 20: ...39 ESC n Name Turns upside down printing mode on off 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 down printing mode is turned off When the LSB of n is 1 upside down printing mode is turned on FS p n m Name Print non volatile bit image Format ASCII FS p n m Hex 1C 70 n m Decimal 28 112 n m Range 1 ...

Page 21: ... in the horizontal direction y indicates the number of dots in the vertical direction 41 GS m Name Print downloaded bit image Format ASCII GS m Hex 1D 2F m Decimal 29 47 m Range 0 m 3 48 m 51 Description Prints downloaded bit image in mode m The modes selectable by m as follows m Mode Vertical Dot Density Horizontal Dot Density 0 48 Normal 200 DPI 200 DPI 1 49 Double width 200 DPI 100 DPI 2 50 Dou...

Page 22: ...nd vertical motion units Format ASCII GS P x y Hex 1D 50 x y Decimal 29 80 x y Range 0 x 255 0 y 255 Description Sets the horizontal and vertical motion units to 1 x inch respectively When x is set to 0 the default setting value is used When y is set to 0 the default setting value is used GS W nL nH Name Set printing area width Format ASCII GS W nL nH Hex 1D 57 nL nH Decimal 29 87 nL nH Range 0 nL...

Page 23: ...r is open Off 00 0 Paper is not being fed by using the paper feed button 6 On 40 64 Paper is being fed by using the paper feed button 7 Off 00 0 Not used Fixed to off 45 Second byte printer information Bit Off On Hex Decimal Status for ASB 0 Undefined 1 Undefined 2 Undefined 3 Off 00 0 Not used Fixed to off 4 Off 00 0 Not used Fixed to off 5 Off 00 0 Not used Fixed to off 6 Off 00 0 Not used Fixed...

Page 24: ...CODE39 1 k 48 d 57 65 d 90 32 36 37 43 45 46 47 5 ITF 1 k even number 48 d 57 6 CODABAR 1 k 48 d 57 65 d1 68 36 43 45 46 47 58 47 m Bar Code System Number of Characters Remarks 65 UPC A 11 n 12 48 d 57 66 67 JAN13 EAN 12 n 13 48 d 57 68 JAN8 EAN 7 n 8 48 d 57 69 CODE39 1 n 255 48 d 57 65 d 90 32 36 37 43 45 46 47 70 ITF 1 n 255 even number 48 d 57 71 CODABAR 1 n 255 48 d 57 65 d1 68 36 43 45 47 58...

Page 25: ...following code set to code set A B or C Function character FNC1 FNC2 FNC3 FNC4 The usage of function characters depends on the application software In code set C only FNC 1 is available 49 Special characters are defined by combining two characters and one character The ASCII character is defined by transmitting twice consecutively Transmit data Specific character ASCII Hex Decimal SHIFT S 7B 53 12...

Page 26: ...ar code n specifies the bar code width as follows Bi level Bar Code N Module width mm for Multi level Bar Code Thin element width mm Thick element width mm 2 0 282 0 282 0 706 3 0 423 0 423 1 129 4 0 564 0 564 1 411 5 0 706 0 706 1 834 6 0 847 0 847 2 258 Multi level bar codes are as follows UPC A UPC E JAN13 CODE93 CODE128 Bi level bar codes are as follows CODE39 ITF CODABAR Default n 3 51 APPEND...

Page 27: ...proximately 1 97 inchs sec 50 mm sec at 25 printing duty 12 5 Receive buffer size 15K bytes Supply voltage DC 24V 1 5A Temperature 0 40 operating 10 50 storage Environmental conditions Humidity 30 80 RH operating 10 90 RH storage Mechanical 15 000 000 line MCBF Head 50 million pulse about 50km Paper Paper thickness 0 06 0 09mm Roll size Ø60 57 w Roll spool diameter 1 Inside Ø12mm 0 47 2 Outside Ø1...

Reviews: