Atrieve Finance

Appendix M - Expanded Print Queues

SOURCE CODE REQUIREMENTS

SHAREABLE IMAGE FILE:

PROFILE New, so need SRB_VECTOR.MAR and SCREEN.BAS

Also needed for this is SRB_OPTIONS.OPT FQUEUES Changes are symbol driven for compatibility. UTUT04 Changes are symbol driven for compatibility.

GLB CODE:

XXMP0L        Master print device set-up program.

XXSP0P        Sub-set print device setup for privileged users.

XX0011         Changes are symbol driven for compatibility calls. New modules called XX001A and XXSPP0.

 

The following code for these products had to be changed due to their checking of old print device profile

e.g. on-line cheques



BAS:                            WIS:                        POM           

BA0011                         WI0011                     PORQ0X.X6

BAIE0A.A9                    WICP0B

BAIE0C.C3                    WICPA4

BAIE0F.F9                    WISIA5 BAPO0A.A6

BAPO0D.D6 BAPO0D.D6 BAPO0L.L6


FOR SYSTEM MANAGERS:

Each LOGICALS.COM file now needs a unique identity so that our system knows what account is being used. This is set up by a symbol called SRB$IDENTITY. This symbol will also be used for other profiles in the future and is very important.


BE CAREFUL:

It is possible to have multiple LOGICALS.COM files all pointing to the same account (not necessarily the cleanest way, but possible). These should have the same SRB$IDENTITY symbols set up.

This symbol can be a length of 20 characters. Set it up to be something like:

SRB$IDENTITY:==SUBTEACHER'S ACCT

SETTING UP DEFAULT PRINT DEVICES


FOR SYSTEM MANAGER:

Modify SRB$LOGIN:TSTLOGIN.COM and/or SRB$LOGIN:PRDLOGIN.COM to point to the newest version of GLB and to point to the newest version of the shareable image file. This will not change anything until you set up a symbol telling the system you want the new queues later.

Run SRB$GLBEXE:XXMP0L to set up all your master print devices.

 

  • Disks still must have a colon in the fifth position

  • The screen and slave printer device names must be TT: and their descriptions must have the word SLAVE or SCREEN in

 

If you plan on removing the print device temporarily, use the soft delete feature so as not to lose the unique number attached (not seen) to the print device. When you want to enable it, remove the soft  delete flag and it is instantly back for everyone who originally had it.

 

If you need to re-organize your printers, do not remove and insert them or you will lose the unique  number (not seen) again. Use the 'relocate from to' command which is R###-###.

 

The 'relocate from/to' command will move a device from a position on your device list and place it immediately before the 'relocate to' number entered on your device list.

 

If you need to make a change to the description or any of the flags, just change it and it will be changed for everyone automatically. You can change the print device name in the same way if you like.

Now run            SRB$GLBEXE:XXSP0P

 

There are two types of profiles that can be created at this stage:

  1. GROUPS - These are the unique identities set up with the symbol SRB$IDENTITY

  2. USERS - A specific user-name. These override the group if set

 

First, set up all groups. That is, all the unique identities set up with the symbol SRB$IDENTITY. When this is done, the new queue system will emulate the old system.

If you want a specific user-name to have their own print devices or just defaults, then you can set up users. There are two ways of doing this. You can have the user pick from any of the print devices (master list) or allow them to pick from only a sub-set (groups).

 

You can have the same user name set up in both, but the one under the group will override the other (if you are in that group, of course).


TO CREATE A USER UNDER A GROUP:

Go on top of the group (groups are identified by '==') and press the right arrow. This will pull up another window listing all the users set up for this group. Press 'A' to add another user-name.

 

When set up, modify SRB$LOGIN:TSTLOGIN.COM and/or SRB$LOGIN:PRDLOGIN.COM and add the symbol:

SRB$NEWQUE:==ON

 

When users log out and back in, they will be using the new expanded print devices.