U N I ² C O M P, Inc.  
UNI*COMP(tm) - Leaders in Office Automation Since 1983
[Home]   [Year 2000 Compliance]


Real°Pac On-Line Support
Category:    Printing Issues/Word-Microsoft Automation

Title: Configure previously installed Word '97 or 2002 for Integration with Real°Pac
Keywords: Microsoft Word, Word 97, Word 2000, Word 2002, Macros, Keyboard Assignments, WinBatch, Printing, Word Setup, REALPAC2.DOT
Scope: All Sites running Microsoft Office 97 or higher, installed or updated after Real°Pac's installation, and/or sites requiring different keyboard assignments for Real°Pac's Word macros.
Release: 2.BA0a and higher
Description: Word is launched and runs ok, but either the keyboard assignments for the Real°Pac Print or Open-RTF macro need to be modified, reassigned, or verified.
Resolution: By default, Real°Pac uses the following two keyboard macro assignments in order to both send documents to print (and/or preview/edit them before printing), and to open RTF master templates within Doc°Finder:

     Keyboard Assignment                        Realpac2.Dot Macro Name
     ALT + u                                             RealPacPrintJob
     ALT + CTRL + SHIFT + o                OpenRTFDoc 

It is possible to modify these assignments to other keystrokes, if necessary.  To accomplish this, edit your site configuration file.  This file is named after your Real°Pac/Uni*Comp site id.  For example, if your site id is "12345", then this file will be named 12345.INI.  It will be stored in your Real°Pac system folder, which on a typical small LAN configuration defaults (at installation) to something like "J:\RP_W\SYSTEM", with the "J" being the actual drive letter where the Real°Pac server components are installed.  If you need to verify this folder's name, you may do so, within Real°Pac itself, by pulling down the Help menu, and choosing "About Real°Pac ...".  All folder and site information (including your site id) are shown in this "About" dialog.

Once in this INI file, search for the string "[WPPrint]" (without the quotation marks).  Then, within this section, see if you find two lines that represent configuration file "keys", as follows:

     RealPacKeyBuffer.PrintJob=
     DocFinderKeyBuffer.OpenRTF=

If you find these, you will simply edit what is in these lines to the right of the equal sign.  If you do not find these, then you need to type them in, exactly as shown above.  In either case, you will be next working on assigning new values to these lines.

The default assignments, matching the keyboard assignments shown above, are as follows:

     RealPacKeyBuffer.PrintJob=!u
     DocFinderKeyBuffer.OpenRTF=!^+o

Notice the "shorthand" or "symbols" used to designate the usage of a personal computer's modifier keys:  ALT, CONTROL (CTRL), and SHIFT.  These are as follows:

      Keyboard Modifier                Shorthand or Symbol Notation
      ALT                                       !
      CTRL                                    ^
      SHIFT                                   +

Using this table, assign the new desired keyboard assignments to one or both of these macros, by editing these two .INI file keys.  When ready, choose File | Save to permanently store your changes.

The next and final step involves "synchronizing" these changes with both your NORMAL.DOT Word Template file (if necessary), and with your own copy(ies) of your REALPAC2.DOT.

When Word is loaded, the computer's NORMAL.DOT is automatically loaded.  If REALPAC2.DOT, in addition, has been placed in the pre-designated startup folder for Word, then this latter Template is also loaded.  You can tell if REALPAC2.DOT is "live" or loaded by checking to see, when Word is first run, whether Word's menu bar includes a pull-down item titled "Real°Pac."  If it does, then we need to temporarily detach the Template, so we can then open it for editing.  Proceed to the next paragraph.  If it does not, then skip the next paragraph.

In Word, pull down Tools, and click on "Templates and Add Ins".  In the dialog box, you should see Realpac2 inside a list box, with a checked checkbox next to it.  Simply uncheck the checkbox and CLOSE this dialog.  The Real°Pac menu item at the top of Word's window (on its menubar) should no longer appear.

Next, choose File | Open, change the "file type" pull-down selection at the bottom of the Open dialog to "Word Templates (*.dot)", and navigate to Word's startup folder, which is typically "c:\Program Files\Microsoft Office\Office\Startup".  Select and open the REALPAC2.DOT file (depending on your Windows Explorer's folder View options, you may or may not see the "DOT" extension).  Now, Word will look just like as if the Real°Pac's template was attached or loaded "normally".  Pull down Tools, then choose Customize.  Now, find and choose the KEYBOARD command button at the very bottom of the Customize dialog.  Next, on the left-hand list box, scroll down until you find Macros, and single click.  Once doing this, the content of the right-hand list box should be updated automatically; scroll down until you come to the macro entitled RealPacPrintJob.  Note what the keyboard assignment is.  If it is not what you want (it does not match what you set in the .INI file beforehand) then click so you are inside the "keyboard shortcut to assign" textbox, and then, as it tells you to, actually press the keyboard combination you wish to have Word "memorize" (e.g., "ALT + SHIFT + U" or whatever).  Take care to make sure the keyboard combination you want to use is either not already assigned to another system function or macro (e.g., "CTRL + P" for Printing), or that the system function or macro the keyboard combination currently points to is deemed dispensable.  Then, when ready, make sure the "store in" drop down listbox situated on the lower right-hand corner of this dialog points to "Realpac2".  Choose the ASSIGN command button on the right-hand side.  Repeat this step now, if necessary, for the next macro entitled OpenRTFDoc.  Find this macro on the right-hand list, and again assign the newly desired keyboard assignment. Finally, CLOSE out of this dialog box.  Choose File | Save to update your copy of the REALPAC2.DOT.  Then File | Close to close this template.

Now, exit from Word.  If you have a single-user setup for Real°Pac, then you are all done.  Otherwise, you will need to copy your newly revised version of REALPAC2.DOT and place it on the other users' Word startup folder.  However, since you've already saved the modified keyboard assignments within this template, you should not have to repeat this process on the other computers.  

Notes: The softcoded storage of the keyboard assignments used to launch Real°Pac's Word macros requires Real°Pac version 2.BA0a or higher.
Date Submitted: 2001-02-07
See Also/Resources:  

 


Copyright © 1998-2003 Uni Comp, Inc.
Last modified: May 24, 2003