UBI EasyCoder 101, EasyCoder 201II, EasyCoder 401, Shell 4.0 Standard Startup Manual

Page 1
1
UBI Shell 4.0 Standard – Startup Manual
CONTENTS
Introduction Contents .................................................................................. 1
Copyrights and Trade Marks ................................................... 2
Startup Files ............................................................................ 3
Using the Print Key and Headlift Handle ................................. 4
Using UBI Shell Starting Up with UBI Shell ...................................................... 5
Options in UBI Shell................................................................ 6
Overview ................................................................................ 9
Setup Mode Step-by-Step Instructions....................................................... 10
Setup Overview..................................................................... 14
Terminal Setup Starting Terminal Setup ......................................................... 15
Solving Communication Problems ........................................ 15
Using Terminal Setup ............................................................ 16
Selecting an Application........................................................ 17
Changing the Setup ............................................................... 18
Setup Parameters................................................................... 20
Line Analyzer Description............................................................................ 21
UBI Shell 4.0 Standard Startup Manual Edition 2, June 1995 Art. No. 1-960372-01
Page 2
2
UBI Shell 4.0 Standard – Startup Manual
Information in this manual is subject to change without prior notice and does not represent a commitment on the part of UBI Printer AB.
© Copyright UBI Printer AB, 1995. All rights reserved. Published in Sweden. EasyCoder and LabelShop are trademarks of United Barcode Industries (UBI).
Apple and Macintosh are registered trademarks of Apple Computer Inc. Centronics is a registered trademark of Centronics Data Computer Corp. Windows is a trademark of Microsoft Corporation.
Page 3
3
UBI Shell 4.0 Standard – Startup Manual
UBI Shell is a so called startup program (also called “autoexec­file”), i.e. a program that automatically starts running when the printer is turned on. UBI Shell helps the operator to choose between a number of standard or custom-made application programs and to start certain useful facilities, as listed below.
Application Programs
UBI LabelShop (WYSIWYG label design program)
UBI Windows Driver (for printing from Windows programs)
UBI Macintosh Driver (for printing from Macintosh programs)
UBI Fingerprint (for writing your own programs)
UBI Direct Protocol (easy-to-use slave protocol)
Line Analyzer (prints all characters received by printer)
• Other application programs in the printer's memory
Other Facilities
• Terminal Setup (remote setup and UBI Shell control)
• Setup Mode (manual setup w. limited options)
• Print Setup (printing setup on label)
• Testfeed (formfeed + auto-adjust of the LSS)
• Test Label (printing of test labels)
• Ser-Com Reset (resetting communication to default )
• Clear RAM Memory (erasing the printer's RAM memory)
• Reboot (restarting the printer) There can be one startup file stored in each of the following parts of
the printer's memory: RAM, ROM, and memory cards. If there are startup files stored in more than one place, they will be used with the following priority:
1. Dos-formatted memory cards (SRAM).
2. Printer's RAM memory.
3. Non DOS-formatted memory cards (SRAM or OTPROM).
4. Printer's ROM memory, e.g. the configuration EPROM's.
This implies that if you e.g. have UBI Shell stored in the printer's configuration EPROM's and insert a memory card with another startup file before you turn on the printer, the startup file of the memory card will be used.
INTRODUCTION
Startup Files
EPROM =Erasable Programmable
Read-Only Memory
OTPROM = One-Time
Programmable Read-
Only Memory RAM = Random Access Memory ROM = Read-Only Memory SRAM = Static Random Access
Memory
Page 4
4
UBI Shell 4.0 Standard – Startup Manual
Load
Print
UP
DOWN
PULL/TIREZ
UBI
UBI
EasyCoder 101
Power
Ready
Error
Using the Print Key and Headlift Handle
INTRODUCTION, cont'd.
In EasyCoder printers without keyboard, the Print key has been given dual functions in UBI Shell by combining it with the printhead lift handle. This is used for navigating between the menus in UBI Shell and for selecting various options.
EasyCoder 401 and EasyCoder 501
EasyCoder 201 II
EasyCoder 101
Headlift Handle
Headlift Handle
Print Key
Print Key
Print Key
Power
Ready
Error
Headlift Handle
Page 5
5
UBI Shell 4.0 Standard – Startup Manual
USING UBI SHELL
Starting Up with UBI Shell
A few seconds after you have turned on the power to the printer, the countdown menu of the UBI Shell program will be displayed:
PRINT=UBI SHELL 5 sec. v.4.0
Now you have 5 seconds to enter UBI Shell by pressing the < Print > key with the printhead lowered (the printhead should always be lowered at startup).
Provided you have a working two-way communication with a terminal program in a host computer, you may – as an alternative – enter the Terminal Setup by transmitting “TTT” or “ttt” to the printer. The Terminal Setup is described in a separate chapter later on.
The lower line keeps you informed how much time you have left. Should the time run out before you have taken any action to enter
UBI Shell or the Terminal Setup, the last selected application in UBI Shell will be opened. This implies that if you use the same
application all the time, you will only need to turn on the power, once the application has been selected.
If no other application has been selected yet, the default choice will be displayed when the countdown is completed, e.g.:
UBI FINGERPRINT
6.0
This message means that you have entered the immediate mode of
UBI Fingerprint with "uart1:" selected as std I/O channel (see UBI Fingerprint manuals).
If you want to enter another application, just turn off and on the power and enter UBI Shell before the countdown is completed.
If you enter the UBI Shell from the countdown menus (Head Down/ Press Print), the Select Application menu will be displayed:
UBI SHELL SEL. APPLICATION
In this menu, you can choose between three options:
• Go to a stack of menus, where you can select an application
program, by pressing < Print > without lifting the printhead.
• Go to the Facilities part of UBI Shell by lifting the printhead and
pressing < Print >.
• Start the Terminal Setup program by transmitting “ TTT” or “ttt
from the host.
Continued!
Page 6
6
UBI Shell 4.0 Standard – Startup Manual
Options in UBI Shell
Continued!
USING UBI SHELL, cont'd.
1
/. A prerequisite is that the program is
provided with the extension “.PRG”. However, some original UBI utility programs are excluded from the list: ERRHAND.PRG ERRH910.PRG FILELIST.PRG MKAUTO.PRG TEST910.PRG
In UBI Shell, the options are presented in stacks of menus, organ- ized as infinite loops, where you can move around and select the desired option, as illustrated by the diagram at the end of this chapter.
Select Application
The Select application option allows you to enter a stack of menus showing the different application programs in the printer's memory
1
.
Note that after having selected an application, you must wait for the printer to restart and perform the 5 seconds countdown before the selected application is opened.
As standard, EasyCoder printers fitted with UBI Shell will contain the following application programs:
UBI LabelShop selects the standard serial interface "uart1:" as
standard
IN/OUT channel and sets up the printer for the UBI
LabelShop label design program, which you can run on a personal computer with Microsoft Windows 3.1.
Refer to the UBI LabelShop User's Manual.
UBI Windows Driver selects the optional parallel interface
"centronics:" as standard IN/OUT channel and sets up the printer for the UBI Windows Driver, which you can use on a personal computer to produce printouts from almost any standard pro­gram run under Microsoft Windows 3.1, e.g. word processors, spreadsheet programs, drawing programs etc.
Refer to the UBI Windows Driver Installation Instructions.
UBI Macintosh Driver makes it possible to connect an Apple
Macintosh computer to any RS 232C communication port on
the printer. The program automatically detects which port is used and resets its communication parameters. In case of "uart1:", the baudrate is set to 19,200 and in case of "uart2:" or "uart3:" to 38,400. The UBI Macintosh Driver is installed in the System folder of the Macintosh computer and can be selected by means of the Chooser. Then you can print from almost any standard program, e.g. word processors, spreadsheets, drawing programs, etc.
Refer to the UBI Macintosh Driver Installation Instructions.
Page 7
7
UBI Shell 4.0 Standard – Startup Manual
Continued!
USING UBI SHELL, cont'd.
Options in UBI Shell, cont'd.
UBI Fingerprint is used to create or modify programs written
in the UBI Fingerprint programming language. This option requires that you also select a standard
IN/OUT channel, i.e. the
channel you want to use for communication between the printer and the computer or terminal on which you will write your program. Normally, select "uart1:" (default). For programming, do not use the parallel "centronics:" channel (one-way commu­nication only).
Refer to the UBI Fingerprint Reference Manual and the UBI Fingerprint Programmer's Guide.
UBI Direct Protocol is an easy-to-use printer protocol for
downloading label layouts and variable input data to a printer from a host computer. This option requires that you also select a standard
IN/OUT channel, i.e. the channel you want to use for
communication between the printer and the computer or termi­nal. Normally, select "uart1:" (default).
Refer to the UBI Direct Protocol Programmer's Guide.
Line Analyzer is a UBI Fingerprint programs that captures all
characters received by the printer on a specified communication channel and prints them on labels.
Refer to the chapter “Line Analyzer” later in this manual.
Other Application Programs
If the printer contains any other application programs – standard or custom-made – these will presented as additional options.
When you have selected an application, the printer beeps and the error lamps comes on. Then the display goes blank as the printer is restarted. After a short moment, the printer starts up and the UBI
Shell countdown menus are shown again. You can either enter UBI Shell or ignore the countdown menus and just wait 5 seconds for the
selected application to be started. As long as you do not select another application in UBI Shell, the
same application will be automatically selected at each power-up, unless you enter UBI Shell in the countdown menus.
Page 8
8
UBI Shell 4.0 Standard – Startup Manual
USING UBI SHELL, cont'd.
Default Communication Setup :
Baudrate: 9600 Parity: none Char. length: 7 bits Stopbits: 2 Flow control: XON/XOFF to/from host New line: CR/LF
As an alternative to selecting an application, you can step through a number of useful facilities:
Setup Mode
The Setup Mode allows you to adjust the Label Stop Sensor (LSS) and to read the printer's present setup in its display window. In EasyCoder 101, you can also set up the printhead resistance, whereas all other models have automatic resistance detection. For information on the various setup parameters, please refer to the Technical Manual for the printer model in question. The Setup Mode is further described in a separate chapter later on.
Print Setup
The Print Setup option allows you to produce a printout of the printer's current setup values.
Testfeed
The Testfeed option allows you to feed out one label, ticket, tag or piece of strip while the printer auto-adjusts its paper feed and label stop sensor or black mark sensor. It is recommended to perform at least two Testfeed operations.
Test Label
The Test Label option allows you to print a series of four test labels in order to test the printout quality and printhead alignment. The labels are presented in an infinite loop, so you can print the series
over and over again.
Ser-Com Reset
The Ser-Com Reset option allows you to reset the serial communi- cation setup parameters for all serial communication channels to their respective default values.
Clear RAM Memory
memory space, if necessary. Only use the Clear Memory option when you experience problems with printing via any of the drivers and when you are sure that you do not have any irreplaceable files in the RAM memory!
Reboot
The Reboot option has the same effect as turning off and on the power to the printer. To exit UBI Shell without having selected any application program, use Reboot or restart the printer. Then wait for the 5 seconds countdown without taking any action, and the last selected application will be opened.
Options in UBI Shell, cont'd.
Continued!
Page 9
9
UBI Shell 4.0 Standard – Startup Manual
USING UBI SHELL, cont'd.
ARE YOU SURE ? Y=H DOWN/ N=H UP
RAM MEMORY CLEARED
HD/PP HD/PP HD/PP
HU/PP
ARE YOU SURE ? Y=H DOWN/ N=H UP
SER-COM RESET PERFORMED
Enter
UBI SHELL SER-COM RESET 
UBI SHELL CLEAR RAM MEMORY 
UBI SHELL REBOOT
Exit UBI Shell and enter last selected application!
STD I/O CHANNEL UART1
STD I/O CHANNEL UART2
STD I/O CHANNEL UART3
STD I/O CHANNEL CENTRONICS
LSS ADJUST 
CONTRAST 5
SEL. APPLICATION
optional applic. 
SEL. APPLICATION Fingerprint 6.0
UBI SHELL SETUP
See Technical  Manual
SEL. APPLICATION WINDOWS DRIVER
SEL. APPLICATION MACINTOSH DRIVER 
PRINT=UBI SHELL 5 sec. v.4.0
PRINT=UBI SHELL 4 sec. v.4.0
PRINT=UBI SHELL 3 sec. v.4.0
PRINT=UBI SHELL 2 sec. v.4.0
PRINT=UBI SHELL 1 sec. v.4.0
Last selected
application is started
Default: 
UBI Fingerprint
w. std I/O= "uart1:"
No action taken
POWER ON
Printhead Up/
Press Print key:
Proceed to next menu
Legend:
UBI SHELL SEL. APPLICATION 
SEL. APPLICATION Direct Protocol
SEL. APPLICATION
optional applic. 
SEL.APPL rom: LINE_ALY.PRG
HU/PP: SET HD/PP: VIEW
UBI Shell for EasyCoder Printers w/o Keyboard
SEL. APPLICATION LABELSHOP
Enter Terminal Setup 
by transmitting T T T
to printer, when menus 
marked with grey 
are displayed!
HU/PP
Printhead Down/
Press Print key:
Accept displayed
option and proceed
HD/PP
UBI SHELL TEST LABEL
UBI SHELL TESTFEED
Perform a Testfeed, i.e. feed out a blank copy and autoadjust the label stop sensor.
Print a series of test labels in a loop.  Press Print for each new label.
Print a list of current setup values.
Resets comm. setup to default values on all serial channels.
Clears printer's RAM memory.
UBI SHELL PRINT SETUP
HD/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HD/PP
HD/PP
HD/PP
HD/PP HD/PP HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HU/PP
HU/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
HU/PP
Page 10
10
UBI Shell 4.0 Standard – Startup Manual
Continued!
The Setup Mode can only be used to manually change the adjust­ment of the label stop sensor/black mark sensor, to read the present setup values and – in case of EasyCoder 101 – to change the printhead resistance setup. To change any other setup parameters, use the Terminal Setup in UBI Shell or a setup file (see
SETUP
statement in the UBI Fingerprint manual).
Turn on the power. After a few seconds, the display shows:
PRINT=UBI SHELL X sec. v.4.0
Press < Print > with the printhead down. The display shows:
UBI SHELL SEL. APPLICATION
Lift the printhead and press < Print >. The display shows:
UBI SHELL SETUP
With the printhead down, press < Print >:
HU/PP: SET HD/PP: VIEW
There are two alternative ways to go on:
1. Pressing < Print > with the printhead lifted allows you to
change the printhead resistance (EasyCoder 101 only) and the LSS setup.
2. Pressing < Print > with the printhead lowered lets you
view the current values of all setup parameters.
EasyCoder 101 only:
Assuming you have pressed < Print > with the printhead
lifted, the display will show:
HEAD RESISTANCE 680
The printhead resistance controls the amount of energy trans­mitted to the printhead resistors (“dots”) and must be adjusted according to the marking on the printhead, whenever a print­head is replaced. An incorrect resistance value may rapidly damage the printhead beyond repair.
SETUP MODE
Step-by-Step Instructions
Page 11
11
UBI Shell 4.0 Standard – Startup Manual
Continued!
EasyCoder 101 only, cont'd.:
To change the resistance, proceed as follows:
• With the printhead lifted, press < Print >. The value on the
lower line will change to 552.
• Press < Print > once and the value will change to 560.
• Press < Print > again and the value will be increased by 10, i.e.
to 570.
• Each time you press < Print >, the value will be increased by
10 until the highest possible value (748) is obtained. Then the loop will start all over again at 552.
• Press < Print > repeatedly until the displayed value comes as
close as possible to the value written or labelled on the printhead.
• Finally lower the printhead and press < Print > to set up the
printer according to the displayed resistance value.
All Printers:
The display shows:
LSS ADJUST
Lift the printhead and press < Print >, and the display changes
to show the LSS indicator menu, e.g.:
LABEL <103> GAP
Often it will suffice just to perform a couple of TESTFEED
operations, which allows the printer to auto-adjust itself. With­out pressing < Print >, lower and lift the printhead. A blank label (or the equivalent) will be fed out. When the paper feed operates as expected, you can exit the LSS adjustment by lowering the printhead and pressing < Print >, which will take you to the part of the program where you can check all setup parameters.
If you cannot make the paper feed operate properly by means of
TESTFEEDs, you will have to adjust the LSS as described below.
Before the LSS is adjusted, the printer must be set up for the type
of paper web you intend to use, i.e. “Label (w gaps)”, “Ticket (w mark)”, “Ticket (w gaps)”, “Fix length strip”, or “Var. length strip”. “Tickets (w mark)” is not available in all models.
Step-by-Step Instructions, cont'd.
SETUP MODE, cont'd.
Page 12
12
UBI Shell 4.0 Standard – Startup Manual
Continued!
Label (w gaps):
Put a piece of paper with backing paper into the sensor. The cursor should appear at the left side of the menu:
LABEL <103> GAP
Put a piece of backing paper without any label into the sensor. The cursor should move to the centre of the menu:
LABEL <103> GAP
Finally remove all paper web from the sensor. The cursor should move to the right side of the menu:
LABEL <103> GAP
Ticket (w mark), certain models only:
Put the paper into the sensor so there is no black mark close to the LSS. The cursor should appear at the right side of the menu:
MARK <103>TICKET
Move the paper so the black mark becomes situated between the two parts of the sensor. The cursor should move to the left side of the menu (the same applies when no paper is fitted):
MARK <103>TICKET
Ticket (w gaps), Fix Length Strip and Var. Length Strip:
Put the paper into the sensor, making sure there is no gap close to the LSS. The cursor should appear at the left side of the menu:
LABEL <103> GAP
In case of tickets, move the paper so the gap becomes situated above the sensor. In case of strip, remove the paper completely. In both cases, the cursor should move to the left side of the menu:
LABEL <103> GAP
If the cursor does not behave as described, the LSS must be
adjusted.
Step-by-Step Instructions, cont'd.
SETUP MODE, cont'd.
Page 13
13
UBI Shell 4.0 Standard – Startup Manual
Step-by-Step Instructions, cont'd.
SETUP MODE, cont'd.
The value in the centre of the upper line shows the level of the
LSS. Select another level by pressing < Print > with the print­head lifted.
EasyCoder 101 and EasyCoder 201 II:
Each time you press < Print >, the level will increase one step in a loop of four levels (000-001-002-003-000-001-002-003-
000....).
EasyCoder 401 and EasyCoder 501:
Each time you press < Print >, the level will increase 8 steps in
a loop between 0 and 127 (0-7-15-23-31-........-119-127-0–7....).
Keep trying until you find a level, that places the cursor as described.
When the adjustment looks right, lower and lift the printhead.
This will produce a
TESTFEED, i.e. it will allow the printer feed
out one label, ticket, tag or piece of strip in order to adjust itself and to allow you to check that the paper feed works correctly. At least two
TESTFEEDs should be produced before you go on.
If you cannot make the LSS work correctly by following the
instructions above, you may – as a last resort – need to adjust the potentiometer on the CPU board, see the Technical Manual of the printer model in question.
Try different combinations of potentiometer settings and LSS
levels until the cursor is positioned correctly.
When you are satisfied that the LSS is set up correctly, lower the
printhead and press < Print >. That will set the LSS and take
you to the part of the Setup Mode, where you can view all setup parameters, i.e. to the same part as if you had entered the Setup Mode with the printhead lowered:
CONTRAST 5
Now you can check all current setup values (except the LSS
adjustment and the printhead resistance), one after the other, by pressing < Print > with the printhead lowered. The para­meters are organized in a loop so you can step through them over and over again (see the overview on next page).
If you want to change any of these setup parameters, you must use a setup file (see
SETUP statement in the UBI Fingerprint
manual) or use the Terminal Setup in UBI Shell.
To leave, lift the printhead and press < Print >. This will take
you back to the UBI Shell program.
Page 14
14
UBI Shell 4.0 Standard – Startup Manual
SETUP MODE, cont'd.
HEAD RESISTANCE 748
UBI SHELL SETUP
HU/PP: SET HD/PP: VIEW
HEAD RESISTANCE ...
HEAD RESISTANCE ...
HEAD RESISTANCE 580
HEAD RESISTANCE 570
HEAD RESISTANCE 560
HEAD RESISTANCE 680
HEAD RESISTANCE 552
HU/PP
LSS ADJUST LABEL <103> GAP
HD/PP
HU/PP to scroll
TESTFEED
TESTFEED
HD + HU
HD + HU
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HD/PP
HU/PP to change level (000-001-002-003-000-001-002-003-000 ... or
0-7-15-23-31-39-47-55.....-119-127-0-7...)
UART1,BAUDRATE 9600
UART1,PARITY NONE
UART1,CHAR-LEN 7
UART1,STOPBITS 2
UART1,RTS/CTS DISABLE
UART1,ENQ/ACK DISABLE
U1,XO,FROM HOST ENABLE
U1,XO,TO HOST ENABLE
CONTRAST 5
UART1,NEW LINE CR/LF
XSTART 0
WIDTH 832
LENGTH 1200
MEDIA TYPE LABEL (w GAPS)
PAPER TYPE UBI HP 20
STOPADJ 0
START ADJ 0
REC BUF UART1 300
TRANS BUF UART1 300
PERFORMANCE NORMAL
IMAGE BUFF SIZE 48
HD/PP
HD/PP HU/PP
Menus in this example show default setup for an EasyCoder 501 with an 8 dots/mm printhead.
Legend: HU/PP= Press Print with Printhead Up HD/PP = Press Print with Printhead Down HD = Lower Printhead HU = Lift Printhead
HU/PP
HU/PP
Setup Overview
HD/PP
EasyCoder 101 only
All others
HD/PP
Page 15
15
UBI Shell 4.0 Standard – Startup Manual
TERMINAL SETUP
The Terminal Setup program in UBI Shell allows the operator to control the whole UBI Shell program remotely from a host compu­ter or terminal and also to read and change the printer's setup. Obvious prerequisite are that there must be a working two-way (serial) communication between printer and host, and that the host runs a suitable communication program (e.g. MS Windows Termi- nal) that can transmit and receive data in ASCII format, i.e. printable characters.
You can enter Terminal Setup by transmitting three uppercase or lowercase T characters (TTT or ttt) while the printer either shows the UBI Shell countdown menus or the Select Application menu.
If this does not work, the communication protocols of the printer and the host probably do not match, or there is some other communication error, e.g. a defect communication cable, wrong port selected on the host, or cable connected to some other port than "uart1:" on the printer
1
.
You can check the printer's communication setup by entering UBI Shell and go to the “Facilities” part. There, you will find a number of options that allow you to read or change the communication setup of the printer:
Setup
This option allows you to read the communication setup.
Print Setup
Here you can print the current setup on one or more labels.
Ser-Com Reset
This option allows you to reset the communication parameters for all serial communication channels on the printer to default values.
After having read the present communication setup for "uart1:" on the printer, change the communication setup of the host according to the printer's setup.
If this for some reason is impossible, reset the printer's serial communication setup to default by means of the “Ser-Com Reset” option, then change the setup of the host accordingly.
Once printer and host has been set up with the same communication parameters, go to the “Select Application” menu and use the triple T (TTT) to start Terminal Setup. There you can change the printer's setup to the desired protocol. Turn off the printer, change the setup of the host to the desired protocol, and start up the printer again. Now the communication should work.
1
/. By default, "uart1:" is standard IN/OUT
channel and should be used for communi­cation between printer and host, e.g. for running Terminal Setup or for program­ming. However, other ports could be appointed standard IN and/or OUT chan­nel by means of the UBI Fingerprint state­ment SETSTDIO. Refer to the UBI Finger­print manuals for further information.
Starting Terminal Setup
Solving Communication Problems
Page 16
16
UBI Shell 4.0 Standard – Startup Manual
TERMINAL SETUP, cont'd.
Using Terminal Setup
The Terminal Setup program is self-instructing by means of prompts. You can move around in UBI Shell in the same manner as when you control UBI Shell manually by means of the printer's display, < Print > key and Headlift.
The Setup part of Terminal Setup follows the same structure as setup files, see later in this chapter. Comprehensive explanations of the various setup parameters can be found in the Technical Manual for the printer model in question.
When you transmit the triple T (TTT) to the printer, the following message will appear on printer's display:
SETUP FROM TERMINAL
On the screen of the host, another message will appear:
----------------------------------------------­Welcome to UBI SHELL v.4.0 in terminal mode
----------------------------------------------­Answer Y <CR> for Yes, <CR> for No.
---------------­UBI SHELL SEL. APPLICATION
---------------­(Y / N):
From here on, you can move around in UBI Shell according to the diagram in the chapter “Using UBI Shell” by answering Y (=Yes) or N (=No) to the prompts that successively appear on the screen.
Note that the program also accepts the corresponding lowercase characters, e.g. y and n.
Page 17
17
UBI Shell 4.0 Standard – Startup Manual
TERMINAL SETUP, cont'd.
This example shows how you for example can select the UBI Fingerprint application:
---------------­UBI SHELL SEL. APPLICATION
---------------­(Y / N):Y
---------------­SEL. APPLICATION LABELSHOP
---------------­(Y / N):N
---------------­SEL. APPLICATION WINDOWS DRIVER
---------------­(Y / N):N
---------------­SEL. APPLICATION MACINTOSH DRIVER
---------------­(Y / N):N
---------------­SEL. APPLICATION UBI Fingerprint 6.0
---------------­(Y / N):Y
---------------­STD I/O CHANNEL UART1
---------------­(Y / N):Y
When you have answered the final prompt, the printer will exit Terminal Setup, reboot and start the selected application.
Selecting an Application
Page 18
18
UBI Shell 4.0 Standard – Startup Manual
If you want to set up the printer or use any other of the facilities, you should answer N (=No) to the “Select Application” prompt. The following example illustrates how to change the printer's commu­nication setup from 19,200 baud to 9,600 baud:
---------------­UBI SHELL SEL. APPLICATION
---------------­(Y / N):N
---------------­UBI SHELL SETUP
---------------­(Y / N):Y
---------------­SETUP FROM TERMINAL
---------------­Reading printer setup, please wait.
If no change, press ENTER To end terminal setup: enter QUIT (Q), or QUIT and SAVE (S)
CONTRAST,5 New value: (0-10) :
UART1,BAUDRATE,19200 New value: (1:300 2:600 3:1200 4:2400 5:4800 6:9600 7:19200) :6
Comment: You must specify the baudrate by a digit (1–7) according to the displayed list of options and then press enter.
UART1,PARITY,NONE New value: (1:NONE 2:EVEN 3:ODD 4:MARK 5:SPACE) :S
Comment: Enter Q to quit without saving, or S to save the new setup and quit the Terminal Setup.
Are you sure? (Y / N):Y
Comment: As a safety measure, you must acknowledge your command.
xf~xxff`xx~f`ffffffffffffffffffffxxxf`ff`ffffffffffffffffffffffffxx~fx
Comment: Since you have changed the communication para­meters, the messages from the printer will become garbled. Reset the communication setup in your terminal program according to the printer's setup and press Enter.
Changing the Setup
TERMINAL SETUP, cont'd.
Page 19
19
UBI Shell 4.0 Standard – Startup Manual
Exiting Terminal Setup
TERMINAL SETUP, cont'd.
To exit the Terminal Setup program, e.g. after having changed the setup, you must select the Reboot option after having stepped through all the facility options, as illustrated below:
---------------­UBI SHELL PRINT SETUP
---------------­(Y / N):N
---------------­UBI SHELL TESTFEED
---------------­(Y / N):N
---------------­UBI SHELL TEST LABEL
---------------­(Y / N):N
---------------­UBI SHELL SER-COM RESET
---------------­(Y / N):N
---------------­UBI SHELL CLEAR RAM MEMORY
---------------­(Y / N):N
---------------­UBI SHELL REBOOT
---------------­(Y / N):Y
If you answer N (=No) here, you will return to the “Select Application” option, but if you answer Y (=Yes) the printer will
start up again and begin the UBI Shell countdown. Then you can enter Terminal Setup once more by transmitting a triple T, enter the UBI Shell manually by pressing the < Print > key with the print- head down, or return to the last selected application by waiting for the countdown to be completed without taking any action.
Page 20
20
UBI Shell 4.0 Standard – Startup Manual
TERMINAL SETUP, cont'd.
Setup Parameters
The displayed values refer to the default setup of a UBI EasyCoder 501 with one communication port and 8 dots/mm print­head density.
---------------­SETUP FROM TERMINAL
---------------­Reading printer setup, please wait. If no change, press ENTER To end terminal setup: enter QUIT (Q), or QUIT and SAVE (S)
CONTRAST,5 New value: (0-10) :
UART1,BAUDRATE,9600 New value: (1:300 2:600 3:1200 4:2400 5:4800 6:9600 7:19200) :
UART1,PARITY,NONE New value: (1:NONE 2:EVEN 3:ODD 4:MARK 5:SPACE) :
UART1,CHAR LENGTH,7 New value: (1:7 2:8) :
UART1,STOPBITS,2 New value: (1:1 2:2) :
UART1,FLOWCONTROL,RTS/CTS,DISABLE New value: (1:ENABLE 2:DISABLE) :
UART1,FLOWCONTROL,ENQ/ACK,DISABLE New value: (1:ENABLE 2:DISABLE) :
UART1,FLOWCONTROL,XON/XOFF,DATA FROM HOST,ENABLE New value: (1:ENABLE 2:DISABLE) :
UART1,FLOWCONTROL,XON/XOFF,DATA TO HOST,ENABLE New value: (1:ENABLE 2:DISABLE) :
UART1,NEW LINE,CR/LF New value: (1:CR/LF 2:LF 3:CR) :
DETECTION,LSS ADJUST,80 New value: (0-127) Press F <CR> for testfeed. Press <CR> when OK :
DETECTION,FEEDADJ,STARTADJ,0 New value: (-9999 thru +9999) :
DETECTION,FEEDADJ,STOPADJ,0 New value: (-9999 thru +9999) :
MEDIA SIZE,XSTART,0 New value: (0-999) :
MEDIA SIZE,WIDTH,832 New value: (0-9999) :
MEDIA SIZE,LENGTH,1200 New value: (0-9999) :
MEDIA TYPE,LABEL (w GAPS) New value: (1:LABEL (w GAPS) 2:TICKET (w MARK) 3:TICKET (w GAPS)) (4:FIX LENGTH STRIP 5:VAR LENGTH STRIP) :
PRINT DEFS,HEAD RESIST,519 New value: measured
PRINT DEFS,PAPER TYPE,UBI HP 20 New value:
0:RICOH 130LAB/LAM 1:KANZAKI 86S 2:UBI DT 110++ 3:UBI DT 110+ 4:UBI DT 110 5:UBI DT 120 6:UBI GP 10 7:UBI GP 11 8:UBI HP 20 9:UBI HP 21 10:UBI HR 31 11:UBI HR 30
Select paper type, (0-11): PRINT DEFS,NEW SUPPLIES
New value: PERFORMANCE,NORMAL
New value: (1:NORMAL 2:HIGH 3:ULTRA HIGH) : MEMORY ALLOC,IMAGE BUFF SIZE,48
New value: (0-9999) : MEMORY ALLOC,REC BUF UART1,300
New value: (0-99999) : MEMORY ALLOC,TRANS BUF UART1,300
New value: (0-99999) : End of setup, enter QUIT (Q), or QUIT and SAVE (S)
Note: After you have pressed CR, a series of additional prompts will appear where you can adjust the LSS following the same principles as described in the chapter “Setup Mode”.
Page 21
21
UBI Shell 4.0 Standard – Startup Manual
LINE ANALYZER
The Line Analyzer (LINE–ALY.PRG) is a program written in the UBI Fingerprint programming language and intended to help solving possible communication problems. As the name implies, the Line Analyzer captures all incoming characters on a specified commu-
nication channel and prints them on one or several labels. Printable characters are printed in black-on-white, whereas control
While the printer is receiving data, the “Ready” control lamp blinks. There is a 0.5 sec timeout. If no more character has been received after 0.5 seconds, the program considers the transmission termi­nated and prints out a label.
As long as a continuous string of characters is being received, the program wraps the lines until the label is full and then starts to print another label. At the bottom of each label, the following informa­tion is printed:
• Page number
• Number of characters printed on the label
• Total of characters received so far If the whole label is not filled, before the printer starts printing
another one, the image buffer is too small. We recommend to increase the image buffer before starting the Line Analyzer.
The Line Analyzer is displayed as the option
“LINE_ALY.PRG"
under the “SEL. APPLICATION” menu. After the Line Analyzer has been selected and the printer has started up again, the printer feeds out two labels and the following menu is displayed:
Line Analyzer Sel.port(1-4) 1
The communication port are numbered as follows: 1 = "uart1:" 2 = "uart2:" 3 = "uart3:" 4 = "centronics:" You can scroll between the ports, which are organized as a
continuous loop (1-2-3-4-1....) by pressing the < Print > key with
the printhead lifted. If the printer is not fitted with a port, an error message appears in the display:
Line Analyzer Error:56
Go on pressing the < Print > key until the number of the desired port is displayed, then lower the printhead.
Description
Page 22
22
UBI Shell 4.0 Standard – Startup Manual
NOTES
Loading...