Here you can set the options for printer terminal codes and the default settings used on each terminal. You will not normally need to change any of the settings on this menu:
Codes (Printer)
(System Management -> Setup -> General Apps -> Parameters -> Hardware -> Codes (Printer)
This option is used to set up which printers are available, the codes used for the printers to change print style, fonts etc.
You can have up-to 26 different printers on the system, referenced
by a letter A to Z. Select the printer you wish to configure and
the current settings will be displayed:
Reference A Location Main Laser Printer Command lpr -s -c -dlaser Need FF No IBM Graphics Yes Currency symbol 156 Paper Length 66 Paper Width/Offset 0
lpr -s -c -dlaser
and with DOS/Windows it will be cat %% > LPT1:. Adjust this
to suit.
The prompt line will be:
Every printer needs codes sent to it to tell the printer to take a new page, print in smaller/larger writing etc. The vet system will already have been set up to send the basic codes.
You can add/change these codes to improve the look of the documents that you can send to clients e.g. shadowing, outline, LQ etc.
Note: These settings all depend on the printer that is being used and the functions that are available. Because of the wide variety of possibilities no further guidance is given here and you should refer to the relevant printer manual for details of the options available to you.
Select the printer, then the 'Codes' option:
Condensed off \018
Condensed on \015
Normal \018\020
Enlarged on \014
Enlarged off \020
Form feed \012
Font 1 on \027\120\049
Font 1 off \027\120\048
Spare \007
Reset \027\064
Bold on
Bold off
Underline on
Underline off
Initialise
When setting printer codes , you have to enter the actual character, e.g. for a capital 'A', you would enter 'A' (without the inverted commas). Editing is done with the highlight bar.
For characters that cannot be displayed and are unprintable (e.g. Control-T, Escape, etc.) you can:
Enter a slash (\) followed by one of the following methods:
| Escape can be entered as: | \027 or \1bh or \E
|
| Control 'T' as: | \020 or \14h or \T
|
So for the sequence of printer control characters to turn bold printing on for an Oki printer, you could enter '\027(s3B'.
New lines and spaces
If a % sign is included in the code this will be taken as a
new line. e.g. .PA% will be the code .PA followed by a new line.
An underscore ( _ ) will be treated as a space.
These codes will be given in the manual supplied with the printer and you should enter the codes in pairs e.g. the code to turn on bold printing and the code to turn off bold printing.
Note: If you are using local printers be careful that the codes do not clash with those that control terminal switching.
Printer code 15 is sent to the printer whenever headings are printed you can now use this to initialise the printer e.g. IBM graphic set, LQ, different fonts etc. without have to play around with dip switches and buttons. You can also use this to set the paper size if you are using 24 line paper.
Terminal database
(System Management -> Setup -> General Apps -> Parameters -> Hardware -> Terminal Database)
This contains the terminal settings for each type of terminal that can be used on the system.
When setting up terminals the system should automatically detect the correct type if the OS is setup to use them. If you need to make any changes most of the screens are obvious. The only point to make is the 'Function Key' option on the main screen. This should be set as follows:
| Fkey | Terminal Type |
|---|---|
| 0 | Main console, Axel terminals e.g. Ansi, ScoAnsi |
| 1 | Wyse Terminals |
| 2 | VT100/VT220, Graphical Xterms, Kconsole etc. |
| 3 | Unixware, Open Unix 8 e.g. AT386-ie |
Keep in mind not all terminal types support the 'Shifted' function keys. If you are planning on using them keep the 'important' utilities on SH1 to SF4 as these are supported by most.
(System Management -> Setup -> General Apps -> Parameters -> Hardware -> Device Settings)
Each terminal on the system can be set up to default to a different printer, open till drawers etc. Using these options is is possible to alter the behaviour of each screen.
The menu will be:
Modify a the terminal defaults
Single-user system users will be taken to the edit screen. On multi- user systems you will be asked to enter either the terminal device or node name, alternatively you can enter the terminal number. This can be found by entering a question mark at the main menu.
If you are wanting to change the screen you are currently using select 'Modify THIS terminal.
Once entered the screen will display:
Terminal Type Ansi (Colour) Default printer A : Main Laser Printer Label printer B : Cons 1 label Printer Point of sale printer D : Reception POS Tree View Default Location Office Surgery/branch 2 Show VAT on CR No Till device Ask for Vet ID No Start up Logo Type: 0 Emulator Anita Branch Option
You will be asked to enter the option to change (1 - 13). When entering the terminal type, if a '?' is entered the available terminal types will be displayed. The options listed are:
| Type | Name | Details |
|---|---|---|
| K | Linix Desktop | |
| T | SCO Termvision | http://www.sco.com/vision |
| N | Anita (Version 4) | http://www.april.se |
| I | Anita (Version 5) | |
| E | Esker TUN | http://www.esker.com |
| P | Powerterm | http://ericom.com |
| Z | AnzioWin | http://www.anzio.com |
| B | AnzioLite |
Terminal Names
All devices have a name (or tag) associated with them, normally under
Unix this will be the tty device e.g. tty01, tty1a02, tty003 etc. To
find out the tty device you are on either type a '?' at the main menu and
look for the enter 'Device' or at the O.S. prompt type tty.
If you are on a network device e.g. a PC or Terminal server then the
device returned will be ttypxx. These devices are allocated
on a first-come first-served basis so the software cannot always
assume the device settings. To get round this you can use the
network name rather then the tty device.
To determine your network name, exit to the O.S. prompt and type
tty to find you tty number, then type who -x
and look for your tty number in the second field - go along the line
untill you find the 6th entry - that is you network name. e.g.
[bdsedin:ttyp11] root # tty
/dev/ttyp0
[bdsedin:ttyp11] root # who -x
root ttyp11 Sep 29 13:57 hannah.uucp.com
root ttyp14 Sep 29 11:35 hannah.uucp.com
lee ttyp2 Oct 26 16:03 lee.uucp.com
tom ttyp3 Oct 26 08:34 hannah.uucp.com
heather ttyp6 Oct 26 08:57 heather.uucp.com
tom ttyp0 Oct 26 09:21 hannah.uucp.com
lee ttyp8 Oct 26 15:40 lee.uucp.com
andy ttyp9 Oct 26 09:53 andy.uucp.com
andy ttyp10 Oct 26 13:42 andy.uucp.com
So in the above example, you are on ttyp0 and network name is
hannah.uucp.com.
Note: You may find rather than a name as in the above example, a 4 octet number e.g. 192.168.1.3, this is also a valid network name.
Once you have either the tty device or the network name you can customise your settings.
Colour events allow you to assign different colours to specific events. You can set a colour event:
Colour events are supported on the main console, Dec VT525 terminals, PC terminals using SCOansi emulation and to a lesser extent Wyse 325 terminals (see the separate guide re 325's for details).
Events are based on user name and terminal type. Initially this guide will show you how to set up a global set of events.
Individuals can change their own colour events via the User-Info option on the main menu.
Setting up the events are done via the menu:
System Management
Setup/Validation/Change
General Applications
Parameters
Hardware
Events
Which has the options :
| Description | Shows you the currently selected events. The top 50 events are reserved for how the screen look. Events 1 to 199 can be allocated to anything you want. |
| Show events | List all possible colours you can select from. |
| Use personal file | Switch to use a personal file. This will allow you to have your own set of colours. It may be that reception want events setup on payments, credit, discounts etc. where the vet is more interested in POM medicines, operations, clinical signs etc. |
Work out a list of the area's you want to associate e.g.
Payments, discounts and surcharges
Credit control
POM meditation
Major operations
Allergic Reactions
etc.
Allocate each an event (it is a good idea to leave gaps, don't use 1, 2, 3 etc. but rather go 10, 20, 30 etc. allowing you to add related topics later on.).
Use the 'Descriptions and Events' option, add the description, you will be prompted with the available colours - select as required.
When setting events, you should have a list of the available events. This is because when allocating events you enter the event number and not the event description.
You can set a colour event to specific analysis codes, e.g. payments.
Use Automatic Pricing, Utilities, Mileage/Analysis,
Edit - select the analysis code you want to allocate an event for
and enter the event number. In the case of payments, this is analysis code
255, select it and enter the colour event.
The status code description that can be displayed on the management
record.
Use Utilities, Codes (Status), Add/Edit details, select
the status code to change, and add the event you want.
Use the Edit option to set the event.
Using the " symbol which is event 96
The extended meta character ^8= can by used on the AP card or within a macro to set the event e.g. code ^8=22 will set event 22.
The top 50 colour events are used for setting what colours different parts of the vet system will use for displaying screens, boxes, lines etc. The following table summarises the possible screen events as of March 1997:
| 130 | Dead animals in 'Treeview' |
| 131 - 139 | Alows status codes to affect the colour of lines on the treeview. See Tree View section or details. |
| 140 - 169 | New Style menus. (See New Style Menus |
| 175 | Payment Routines to show converted currency |
| 176 | Payment Routines to show base currency |
| 177 | Colour for Classification on Management Screen |
| 178 | Date on the clinical screen. |
| 180 | Diary: User ID / Personnel |
| 181 | Diary: Top line and Times |
| 182 | Diary: Block Booking lines |
| 183 | Diary: Client Name lines |
| 184 | Diary: Separator (:::) lines |
| 185 | Diary: Help text |
| 186 | Diary: Overview Diary Name |
| 190 | Reverse Video |
| 191 | Uses to flag 'Hidden Sheet' on MR |
| 194 | ID Field on Management and Clinical. |
| 195 | Where ever there is a list of options, display text will be this colour. |
| 196 | Headings (if not already allocated an event). |
| 197 | Text/cash box colours. |
| 198 | Warning boxes 'Not seen for xx weeks'. |
| 199 | Management field colour. |
| 200 | Normal fore ground and background. |
| 201 | Lines |
| 202 | Headings that appear at the top of the screen. |
| 203 | Characters typed as an answer. |
| 204 | Prompts, when a prompt is issued, this colour will be used. |
| 205 | Breed Box (CR), the box on the clinical record screen that displays the breed/sex information. |
| 206 | AP Selection - When selecting items from a selection box e.g. Automatic pricing items. This is the colour of the text within the box. |
| 207 | Selection Character: On menus and prompt lines, this is the colour of the 1st character of each option e.g. the character used to select the item. |
| 208 | Menu Text, as with 207 above, this is the colour the rest of the menu item or word will appear in. |
| 209 | Highlite: When an item is to be highlite this colour will be used. |
| 210 | Ana Code Zero: On the clinical record card, any clinical lines with analysis code zero (0) will be shown in this colour. |
| 211 | Pick Screen Selection: When on a screen that saves option e.g. client lists. This is the colour of the selected items. |
| 212 | Scroll box text |
| 213 | The prompt: Press Any Key |
| 214 | Time (F10) |
| 215 | Stock Field Names - Used only in stock control for the colour of the fields. |
| 216 | AP Field names - Used in Automatic pricing for the names of the fields. |
| 218 | Print Spooler - Display marked files |
| 220 | Balance Due, if there is a balance due on the management record. |
| 221 | Recall: Due |
| 222 | Recall: OverDue |
| 223 | Recall: No Details |
| 224 | Recall Screen Headings |
| 227 | Help Prompt line |
| 230 | Graphs (Current) |
| 231 | Graphs (previous 1) |
| 232 | Graphs (previous 2) |
| 233 | Emergency Case (waiting room) |
| 234 | Waiting to pay (waiting room) |
| 235 | Expected (waiting room) |
| 236 | Being seen (waiting room) |
| 237 | Client Due to appear (waiting room) |
| 238 | In Waiting room |
| 239 | In Waiting room for more than 10 mins |
| 240 - 247 | Wyse Tokens |
Some record cards may contain information you would rather the client does not see e.g. Bad Payer etc.
In this case you could, allocate the 'visible' terminals a unique number, set up colour events as normal BUT for text you don't want to be seen set up say black on black, red on red etc. This will render the text invisible.
Alternatively, have two user I.D.'s, one for consulting which you have set up a personal file with red on red, green on green etc. and another login for general use with valid colours.
Personal events are configured in exactly the same way as above and will take priority over the global events.
The third option on the event menu will allow you to switch to/from personal events.
| Top | Classic | New-Style | Chapters | Sections | Index | Search |