[Navigation]

Customisation: Hardware

Hardware settings

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
Reference
The letter to which Premvet refers to this printer as.
Location
A description of where the printer is located.
Command
What command should be used to print to this printer. With Unix it will take to form of lpr -s -c -dlaser and with DOS/Windows it will be cat %% > LPT1:. Adjust this to suit.
Need FF
Does this printer need an extra Form Feed to eject the paper.
IBM Graphics
Will the printer 'understand' the IBM character set to allow the heading to be printed - if not hyphens instead.
Currency symbol
What symbol is the pound sign.
Paper Length
How many lines of text can be printed on a single sheet of paper.
Paper Width
How wide is the paper, for label printers this is the 'offset', that is allows you to adjust the left margin.

The prompt line will be:

Edit
Change any of the details
Test
Generate a test page to ensure the codes are correct
Codes
Print out all the codes for font etc.
Page
Counts the number of lines on a page
Symbols
Print the symbol set for this printer
Codes
Permits entering of codes
Utilities
Sets some printer specific options,
currenltly applies to the TSP700 label printer only.
  1. Switches TSP700 to label mode
  2. Switches back to Receipt mode
  3. Makes the print darker.
  4. Download a logo
    New
    Prompts for the printer model to automatically use pre-set codes


Entering Printer codes

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:

  1. The ASCII equivalent as three decimal characters.
  2. An 'E', which is used to mean the escape character (ASCII 027 decimal).
  3. A two character hex code followed by an h.
  4. The control character required (but not E, as this means Escape, not Control-E).
e.g.
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
This will ensure the system processes the function keys correctly.

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.

Line settings 'device'

(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:

Terminal type
The type of terminal connected to the line,a list of the available terminal type will be displayed.
Default printer
This is the printer this terminal will default to.
Label printer
The printer the terminal will print labels to by default.
Point of Sale printer
The printer the terminal will print today and POS bills/receipts to by default.
Tree View
This option controls whether the terminal will default to the tree view whenever a client record card is accessed and which menu style will be used.
Location
This is used to indicate where the terminal is physically located.
Surgery/branch
If the terminal is located in a remote surgery this option can be set to indicate the branch number. If set to zero then you will be asked on start-up the surgery number to be used.
Show VAT
If this is set then the clinical record screen will default to showing the VAT content of the line rather than the user id.
Till device
If a till is to be used by this terminal then the device used by the till should be entered here.
Ask for Vet ID
You may want specific terminals to always ask which User is entering the work. If so set this to Yes.
Start up Logo
Alters the appearance of the start up screen - options are 0, 1 or 2.
Emulator
If you are accessing the system with a terminal emulator you should specify the emulator here so the system can take advantage of the Windows Integration options built into it. The screen will show the possible emulators.
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

Branch
If a screen is set as 'R' reception then the following options will be set: It is possible to configure these option by other means and has been added to help the PracticeMaster users.

List all devices

This option will display all current devices on the system.

Edit 'Master.dev'

master.dev is the main control file for the terminals. Normally you will not need to change this as the 'Modify' options above will do this for you. This option is included to handle some special case situations.

Edit 'Location'

Location is the control file for the terminal locations. You will not normally need to edit this.

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

(System Management -> Setup -> General Apps -> Parameters -> Hardware -> Events)

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:

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.


Setting up an event

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.


Using Colour Events

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.

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 - 169New 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
190Reverse Video
191Uses to flag 'Hidden Sheet' on MR
194ID Field on Management and Clinical.
195Where ever there is a list of options, display text will be this colour.
196Headings (if not already allocated an event).
197Text/cash box colours.
198Warning boxes 'Not seen for xx weeks'.
199Management field colour.
200Normal fore ground and background.
201 Lines
202 Headings that appear at the top of the screen.
203Characters 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


Hiding text

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

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.


File locations


The two large files used within Premvet 5 can be located in different parts of the hard disk. This option is used to tell the software where these files are located.


Top Classic New-Style Chapters Sections Index Search