background image

                                    UP-PN-

II

 v0.8                                28 

Parameter 

Example 

Product name 

Prod.: UP-PNII-240 

Name & version of software 

Soft.: F189v1.1 

Manufacturer’s name 

Maker: MEGATRON 

Date & Time 

Clock: JJMMAAHHMNSS 

Paper input (scaled) 

Paper: 1023 

Power voltage 

Volt: 5.452 

Paper end sensor 

19h (Present) ou  
17h (Absent) 

GS u n data

1

.. data

n

 (1D 75 Hex=29 117 Dec) 

Transmits data to the host on serial. 
This command transmits on serial the “n” followed bytes (n<24). This 
command is mainly employed with messages and logo, in order to initialize or 
remote an external equipment like a measurement instrument. 

If the size of data is greater than 24, you must divide them in segments.  

4.5.7 S

PECIAL

 

COMMANDS

 

 

ESC V n (1B 56 Hex=27 86 Dec) 
Synchronization character. 
When whole previous data have been printed, the sync character “n” is sent 
to the host on serial. The host is then certain that the printout is OK. 

GS v n (1D 76 Hex=29 118 Dec) 
Returns status to the host. 
When this command is entered, one of the 6 status selected  by the 2 LSB 
bits of “n”  is sent to the host on serial. The string is ended by CR character 
(0Dh) 

 

Summary of Contents for UP-PN-II

Page 1: ...C from 110 to 19200 baud USB 2 0 24 and 40 characters per line Programmable text which can be printed on internal timer or by interface Remote of an external instrument RS232 or timer Optical detectio...

Page 2: ...lacement of ink ribbon 10 2 5 Selecting the interface 10 2 6 Interface connection 11 2 7 Play with buttons leds 13 Chapter 3 Configuration menu 14 Menu parameters 17 Chapter 4 Characters Commands 18 4...

Page 3: ...n provide an original and a copy Pre programmed messages activated by interface or timer Query on external RS232 peripheral on interface or timer UP PN II printer is suitable for application of mobile...

Page 4: ...250 V cassette purple life 100 000 characters MDE 250 N cassette black life 100 000 characters Model Density dots line Dot size H x V mm Characters per line 6 10 char Character dimension 6x10 mm Chara...

Page 5: ...6 Interface UP PNII exists in several versions with a serial RS232 interface with a serial RS232 interface and an infrared IrDA interface with a serial USB 2 0 interface with a serial USB 2 0 interfac...

Page 6: ...6 1 7 Power supply Two kind of power supply are available UP PN II B Battery and mains charger Battery Pack 6VDC 1500mAh DC power plug 9 12VDC 300mA UP PN II S operates on mains 100 240 VAC DC power...

Page 7: ...on The shut off can be Auto after a programmable delay of inactivity 1 up to 15 minutes Manual after the on button is pressed for 5 seconds 1 9 Environmental conditions Temperature 0 50 C Humidity 10...

Page 8: ...charge begins for 14 hours After the first use we recommend to charge the battery Installation of the battery clip the battery in the case below the printer You can hear a sound Removing the battery...

Page 9: ...Place the roll of paper in its clips Insert the paper in the slot and press LF button until the paper outputs 3 Close the case fig 2 3 d Battery Release Bar Connectors DC power jack Serial RJ12 Batter...

Page 10: ...e ribbon is tight 4 Close the case 2 5 Selecting the interface Use the configuration menu for select IrDA RS232 or USB 2 0 1 Serial Interface RS 232C Set the menu Printer Interface on serial The whole...

Page 11: ...15V Space logic 0 EIA level 3V 15V 2 Serial port signal definition 2 6 3 RS232 serial connection UP PN II portable printer provides a RS 232C port 6 pins RJ 12 modular jack 1 RJ 12 pin alignment Figu...

Page 12: ...or 8 bits parity no even ou odd 1 or 2 stop bits Connector RJ 12 6 pins Signal level EIA 3 15V 3 Connecting with personal computer Figure 2 6 Connecting with PC Printer serial RJ 12 port PC serial po...

Page 13: ...is off press and maintain LF then press ON When the print begins maintain the LF until the message DUMP HEXA MODE appears on the paper Then release LF The printer is now printing the received datas in...

Page 14: ...oup A long push on POWER quits the group and save settings After the last group the text MENU EXITED is printed The printer is initalized 2 Navigate in the fields Short push A short push on LF goes to...

Page 15: ...Quantity of XON transmitted at the power on Single XON Repeat XON every 300 ms Advanced Compatible ESC P 9Pins ESC P Basic ESC P Cust PCL Raw Paper end In case of paper end the printer can if Set Bus...

Page 16: ...t of datas or fills in buffer IrDA Ident Auto reprogrammation of the Chip MCP2150 for the next Power On Factory use only Timer Event timer for logo or messages 2 and 3 Timer Use Enable inhibit timer a...

Page 17: ...databits 8 databits 3 Parity No Even Odd parity 4 Xon Single Xon Repeat Xon Ser 9600 Group 4 2 Databits 7 databits 8 databits 3 Parity No Even Odd parity 4 Xon Single Xon Repeat Xon Advanced Group 5 1...

Page 18: ...er is not signed you must accept the installation In the folder Parameter you must select the kind of compatibility that you want ESC P 9pins ESC P Basic or PCL Raw This parameter must match the one c...

Page 19: ...d_10x10 Mnenonics Hex PCL codes available ESC 1B 26 ESC a H Horizontal position ESC 1B 2A ESC b W Graphics printing ESC b M Selection of compression algorithm without Run Length Tiff ESC r T Page leng...

Page 20: ...s are less compatible with ESC P but they give some functions more specific to the printer Most of these codes work same way as 9 pins Attention Major difference in graphic The graphic modes are very...

Page 21: ...S 1B 53 Control of status DEL x ESC V 1B 56 Synchronisation character RS232 only x ESC W 1B 57 Character widening x x ESC Y 1B 59 Graphic Printing 8 dots columns x x ESC Z 1B 5A Graphic Printing 8 do...

Page 22: ...derline n 1 01 Hex or 1 31 Hex Start of underline n 0 00 Hex or 0 30 Hex End of underline ESC W n 1B 57 Hex 27 87 Dec Widening of the characters The default value of n is 0 normal size The maximum val...

Page 23: ...a few others both commands to trigger a line printing In order to avoid non required double interline spacing in case a sequence including these two consecutive characters is received only the first c...

Page 24: ...ight to left with the higher weight s bits to the top Characters and graphics cannot be printed on the same line Graphic chain must by terminated by a line feed command CR LF ESC J etc Difference With...

Page 25: ...72 e 0 1x y 72 e 0 1x y 72 e 0 1x sin x 10 y 72 e 0 1x sin x 10 y 72 10 OPEN COM1 9600 N 8 1 CS60000 DS CD AS 1 20 FOR X 0 TO 200 30 PRINT 1 CHR 27 CHR 39 CHR 5 40 Y INT 72 EXP 01 X YY INT Y SIN X 10...

Page 26: ...y bank are 0 the mode messages is entered The memory bank is then divided into 4 banks of 4 Kbytes The first one 0 is always left empty The banks 1 2 3 contain the data of the messages These messages...

Page 27: ...n the timer is enabled When the period is reached the message 2 is printed The timer can be activated at the power up by the config menu Timer Use A special field n called Alt Print when non zero allo...

Page 28: ...nd is mainly employed with messages and logo in order to initialize or remote an external equipment like a measurement instrument If the size of data is greater than 24 you must divide them in segment...

Page 29: ...ntrol himself the status LED The byte n activates or not the LED Each bit lights the LED for 80 ms 1 ON 0 OFF See the chapter status LED Attention The system status head failure and RAM failure have p...

Page 30: ...antity if it is a number a valid number in the range See the menu table for understand the groups field and choices Attention Clock option is not available in this printer This command is only present...

Page 31: ...r the field baud for the group serial The printer then sends Serial Baud 9600 Baud 4 5 10 SYSTEM COMMANDS The following commands are used by the system Do not use them GS FA 1D FA Hex 29 250 Dec Print...

Page 32: ...y on the printer slow charging or with an external battery charger from another supplier quick charge 1 Slow charging Connect a power supply 9 12VDC 600mA to the printer The process needs 12 16 hours...

Page 33: ...per 2 plies Width 58 mm 0 5 mm Outer Diameter 50 mm Length 17 m 10 MPA SP 58 46 1 Roll of inked paper ink ribbon useless Width 58 mm 0 5 mm Outer Diameter 46 mm Length 17 m 10 MDE 250 N Black Ink ribb...

Page 34: ...HER FONTS Different kind of fonts are available on our internet site You must download these files to the printer These new fonts replace one of the two embedded fonts and allow the modification of th...

Page 35: ...35 UP PN II v0 8 doc_uppnII_0807_e08...

Page 36: ...al MEGATRON ALLINGES Potentiom tres de pr cision R sistances de pr cision Servo Syst mes Capteurs Interfa age Syst mes d impression Claviers Techniques d affichage Centre de production et Bureaux Comm...

Reviews: