@CHAPTER HEAD = Performance and Memory Enhancements This document contains a compilation of all the performance enhancements listed in the Xerox Ventura Publisher, Professional Extension, and Network Server Reference Guides. Although some of the information is repeated, it puts everything we know about Xerox Ventura Publisher performance and memory enhancements into one document. @HEADING 1 = Xerox Ventura Publisher Reference Guide @HEADING 2 = Post installation <$IMOUSE.COM>To assure best performance, use the ASCII text function of your word processor to modify the file in your computer called CONFIG.SYS <$ICONFIG.SYS>to contain the lines: BUFFERS=20FILES=20 Any number greater than 20 also works but reduces the amount of memory available for Xerox Ventura Publisher. @KEY NOTE TEXT = Failure to add the BUFFERS statement to your CONFIG.SYS file and specify at least BUFFERS=20 results in slower performance. Failure to add the FILES statement and specify at least FILES=20 will cause the Multi-Chapter operations to malfunction and reduce the number of bit images which may be printed on certain printers. @HEADING 3 = Improve performance<$IPerformance> If your computer contains more than 640K RAM, you can improve performance when creating long documents. To do this, follow these steps: @INSTRUCTION = Use the software supplied with your memory card to create a RAM disk using the RAM above 640K. @INSTRUCTION = Use the ASCII function in your word processor to add /O=n: to the last line of the VP.BAT file, where n is the letter of your RAM disk drive. For instance, to use a RAM disk configured as drive D, the last line of the VP.BAT file should read: DRVRMRGR VP %1 /S=SD_X6655.EGA/M=32/O=D: The /S and /M options may differ depending on the screen and mouse installed. <$IEMS memory>You can also improve performance if your computer contains EMS memory. Xerox Ventura Publisher automatically places up to 90K of system software in EMS memory, if this memory is available. The amount used is shown in the Desk menu. This makes additional memory available for your document, thus dramatically improving performance. (The Professional Extension to Xerox Ventura Publisher places the entire document in EMS memory and can utilize up to 32M bytes of EMS memory.) @HEADING 1 = VP.BAT file<$IVP.BAT><$IInstallation;Modify existing, shortcut> The advanced user can edit the VP.BAT file to quickly modify certain installation parameters without running VPPREP. You can also modify how Xerox Ventura Publisher is loaded into memory. The following is a VP.BAT file which shows all the possible options: @TABLE 2 = CD C:\VENTURADRVRMRGR VP %1 /S=SD_WY705.EGA/M=01/X=D:/X=E:/O=C:/I=C:\MINE/E=256/A=32/F=92 /S= Specifies the screen driver used. The extension for the screen driver determines the screen fonts which will initially be loaded. This can be overridden using the Set Printer Info option in the Options menu. /M= Specifies the mouse port and the type of mouse. The first number specifies the port. 0=COM1, 1=COM2, 2 or 3 = any connection other than COM ports. The second number specifies the mouse type. 0=No mouse, 1=Mouse Systems or PC Mouse, 2=any mouse that used MOUSE.COM or MOUSE.SYS, 3=Microsoft Serial mouse, := IBM PS/2 mouse. /X= <$IItem selector;Drive names, adding>Specifies additional drives toj include in the Item Selector. These will appear when you use the Backup button to move to the top level of the Item Selector. You can specify more than one additional drive, as shown in the example. /O= Specifies a different drive for overflow files. This allows you to direct temporary files to a RAM drive for increased performance. The Professional Extension to Xerox Ventura Publisher uses EMS memory, eliminating the need for this option if you have EMS memory in your computer. You can also improve performance in some network installations by directing temporary files to your local workstation's hard disk. /I= <$IINF files>Specifies a different directory for the INF files, which are stored at the end of each session when you Quit from Xerox Ventura Publisher. The INF files store the following types of information between sessions: @LIST 2 = The measurement system (i.e, inches, centimeters, etc.) used in each dialog box. @LIST 2 = View menu settings @LIST 2 = Option menu settings @LIST 2 = Mode (Frame, Text, etc.) settings @LIST 2 = The most recent style sheet used. If more than one person uses the same computer, each can have his or her own BAT file. Each BAT file can specify a different directory for the INF files. /E=<$IEMS memory> Specifies the maximum amount of EMS memory that the Professional Extension of Xerox Ventura Publisher will consume for the document. You must set /E=0 for Jlaser when running the Professional Extension (or set the Jlaser driver in CONFIG.SYS to pre-allocated EMS). The /E switch is not used with the non-professional version. The 90K of system software mentioned earlier in this document is still loaded into EMS memory, even if /E=0. To completely eliminate EMS usage, you must delete or rename the GEM.EMS file in the VENTURA directory. /A= <$IMemory;Increasing>Specifies amount of memory to take from the screen graphic buffer (which is used to display images) and screen font buffer, and add to the text area. This effectively increases the memory available for your document and therefore may improve performance. Any integer between 1 and 32 can be specified. The number represents K-bytes of memory. If you specify /A=0, 16K bytes of memory is taken from the screen font buffer, but none from the screen graphic buffer. Xerox Ventura Publisher will not be able to load as many screen font files, however. Note that certain printers and some of the graphics converters contained in LOD files may not work if any number greater than 0 is used. In general, /A should be used with PostScript printers only. /F= <$IFont memory;Increasing>Specifies the amount of memory (in K bytes) to allocate to screen font memory. If /F is not specified, 68K bytes is allocated. Use this switch if you use a large number of screen fonts. Use of this switch can increase screen drawing speed when using many fonts on the same page. Since only conventional memory is used, you must specify relatively small numbers (the maximum is somewhere in the range of 128K to 192K bytes). This switch works best when EMS memory is available and you are using the Professional Extension, because less conventional memory is then required for proper operation. Do not use both the /F switch and the /A switch. @HEADING 2 = Other performance improvements tips<$ISpeed;Printing><$IPrinting;Speed, improving><$IFonts;Downloading to printer><$IPerformance;Improvements> For advanced users, the following changes can dramatically improve Xeroxj Ventura Publisher's performance. @HEADING 3 = Downloading fonts If you own a LaserJet Plus, LaserJet Series II, or compatible printer, Xerox Ventura Publisher automatically copies fonts from the computer to the printer as needed during the To Print operation (File menu). This feature makes Xerox Ventura Publisher simple to use, but it can result in long print times if each page in your document uses different fonts than the previous page. In addition, the first page will always take longer to print because all the fonts for that page must first be copied to the printer at the start of every print job. If your printer contains at least one megabyte of memory, you can improve performance dramatically by copying fonts to the printer before running Xerox Ventura Publisher. The HPDOWN utility will automatically copy fonts to the printer. For complete instructions on downloading fonts using this utility, see Appendix K under the heading Downloading Fonts in the section on the HP LaserJet printer. If you use downloadable fonts for your PostScript printer, the time savings is even more dramatic if you predownload fonts. @HEADING 3 = Memory @HEADING 4 = Manage conventional memory usage Remove as many device drivers and co<196>resident programs (such as Sidekick) as possible. Xerox Ventura Publisher is a large program that requires as much memory as possible. After you load Ventura Publisher, approximately 100<196>150K bytes of conventional memory remain. If you use 60-100K bytes of this for other programs or device drivers, very little space remains for your document. This in turn dramatically reduces performance by forcing Xerox Ventura Publisher to store part of the document on the computer hard disk rather than placing it entirely in RAM. You will begin to notice delays as you go from one page to the next if no conventional memory is still available. If your computer contains more than 640K bytes of memory, you can utilize this extra memory to improve performance by using it to create a disk cache or RAM disk. (If you have a choice, create a disk cache.) @HEADING 4 = Disk Cache<$IDisk cache> If your computer contains EMS or extended memory, you can use a disk cache program to improve performance greatly. The disk cache must be installed into EMS or extended memory, not conventional (640K byte) memory. The performance improvement is particularly noticeable in the following situations: @LIST 2 = Documents such as the SCOOP.CHP chapter in the TYPESET directory which use many fonts on a page. @LIST 2 = Long documents which do not completely fit in RAM memory (typically those which contain over 100K bytes of text). @LIST 2 = Network workstations and other systems in which background utilities reduce the amount of conventional RAM memory left for Xerox Ventura Publisher documents. @LIST 2 = Systems which have been enhanced by the addition of many new screen fonts. Consult your dealer or RAM card manufacturer for recommendations on disk caches which will work with your system. When using a disk cache, you can often eliminate the BUFFERS = statement in the CONFIG.SYS file. Taking this step makes more conventional memory available, thus further improving performance. @HEADING 4 = EMS memory<$IEMS memory> EMS memory can be utilized through a disk cache, as explained in thej previous section. The Professional Extension to Xerox Ventura Publisher can address EMS memory directly, resulting in dramatic performance improvements, especially for long documents. However, you can improve performance with EMS memory even without the Professional Extension, by making sure at least 128K bytes of EMS memory is available (i.e., not used by a disk cache or other program) before you run Xerox Ventura Publisher. Although only the Professional Extension uses EMS memory for storing the document itself, Xerox Ventura Publisher is able to place up to 108K bytes of system software in EMS memory. This makes additional conventional memory available for the document, thus improving performance. The actual amount of EMS consumed for the system software, plus any EMS already allocated prior to running Xerox Ventura Publisher, is shown in the Desk menu as SYS memory. @HEADING 4 = RAM disk<$IRAM disk> If your computer contains more than 640K bytes or memory, but you cannot use this memory for a disk cache, and you can't configure this memory as EMS (or you don't own the Professional Extension), you can still improve performance by creating a RAM disk as follows: @INSTRUCTION = Use the DOS VDISK command or other utility to create a RAM disk. This RAM disk must not reside in conventional memory (i.e., the 640K memory). It must reside in either expanded (EMS) or extended memory. @INSTRUCTION = Use the ASCII function of your word processor to edit the VP.BAT file and add the command/O=n:to the end of the last line in this file, where n is replaced by the drive letter of your RAM disk. As explained in Appendix A, the /O command directs all overflow files, created while Xerox Ventura Publisher is running, to another disk drive. If you have created a disk cache, you do not need a separate RAM disk. @HEADING 3 = File management<$IFile;Management> If you create documents which contain many text and picture files, you can accumulate a large number of files quickly. If more than 128 files are placed in a subdirectory, you may begin to notice delays in accessing the files contained in this directory. For this reason, as well as to make files easier to find, you should place the files contained in a Xerox Ventura Publisher chapter in different subdirectories. The Multi-Chapter Copy option allows you to place the following file types in different directories: @LIST 2 = Publications and chapters @LIST 2 = Style sheet and width tables @LIST 2 = Text files @LIST 2 = Graphic (line art) files @LIST 2 = Image files @HEADING 2 = Change Screen Fonts If you installed a full page display (e.g., Wyse 700, MDS Genius), Xerox Ventura Publisher automatically installed high resolution (VGA) screen fonts. These fonts look much better on your display, but because they contain more dots per inch, they take 40-60% longer to draw. If you want your screen to draw faster, you can switch to EGA resolution fonts. To do this follow these directions. @INSTRUCTION = Change to the root directory of your hard disk (CD\). @INSTRUCTION = Rename the VP.BAT file to VP.OLDRENAME VP.BAT VP.OLD @INSTRUCTION = Run the VPPREP installation program. @INSTRUCTION = When VPPREP asks <169>Are you installing for the firstj time?<170> answer, N. This is very important. If you answer Y, you will re-install everything. @INSTRUCTION = For screen display, select any one of the IBM EGA options. It doesn't matter which one you choose. @INSTRUCTION = Choose the same mouse and same printer you have already installed. (If you installed more than one printer, you only need to specify one of them<197>any one of them will do.) @INSTRUCTION = Follow the directions provided by VPPREP. When VPPREP is finished, copy VP.OLD to VP.BAT:COPY VP.OLD VP.BAT @INSTRUCTION = Run Xerox Ventura Publisher. @INSTRUCTION = Select the Set Printer Info option in the Options menu. On the Screen Fonts line, replace the letters VGA with EGA. You can now switch between EGA and VGA fonts as needed simply by typing the appropriate three letter name on the Screen Fonts line in the Set Printer Info option. Use the VGA fonts when you want a high quality display. Use the EGA fonts when you want the screen to re-draw faster. The magnification of the screen will change slightly as you switch from one font resolution to another. This is normal. @HEADING 3 = Remove screen fonts Xerox Ventura Publisher allows you to add up to 700 screen fonts at one time. However, all screen fonts are loaded each time you run the program, which can significantly increase the time you must wait for the program to start when you type VP. You may also notice a slight hesitation as the page redraws when you press the ESC key. It is good practice, therefore, to remove any fonts you do not regularly use. As an alternative, group fonts together that you use for a given job and give all these fonts the same file extension. When you need these fonts, type this extension on the Screen Fonts line in the Set Printer Info option. Only the fonts specified on this line are actually loaded, and therefore screen redraw and program loading time are both significantly improved. @HEADING 2 = Menu option settings for speed @HEADING 3 = Kerning Show kerning on the screen reduces drawing and editing speed. Since the computer screen has insufficient resolution to show kerning for small sizes, select 18 for On-Screen Kerning in the Set Preferences menu. In addition, if your work does not require that Body Text be kerned automatically, turn Automatic Pair Kerning for Body Text Off in the Paragraph Typography option (Paragraph menu). @HEADING 3 = Mouse speed Set Double Click Speed to Fast in the Set Preferences option if you don't normally use the <169>double-click<170> shortcut to select files in the Item Selector. The slower this setting, the longer Xerox Ventura Publisher must wait after your press the mouse button before it recognizes the selection. @HEADING 3 = Hide pictures Use the Hide/Show All Pictures option in the Options menu to hide pictures when you do not need to look at them. This decreases the time you must wait for the screen to re-draw when you go to a new page or tag a paragraph. @HEADING 3 = Column balance Column Balance (Chapter Typography option, Chapter menu) should be temporarily turned Off if you plan to edit a document extensively. @HEADING 2 = Math Coprocessor<$IMath coprocessor> A math coprocessor will make no difference whatsoever in the performance of Xerox Ventura Publisher. @HEADING 2 = Print buffer<$IPrintj buffer><$IBuffer;Print><$ISpooler;Print><$IPrint spooler> The letterspacing, kerning, tracking, and other Xerox Ventura Publisher features provide total control over the horizontal and vertical position of each character. This positioning information when combined with font files and graphics results in the transfer of large blocks of information between the computer and printer, even if you pre-downloaded the fonts as described under Downloading Fonts. One solution is to print the document to a file and then, at a later time, copy this file to the printer as described in the Set Printer Info section. The total time required to print to a file and then copy this file to the printer is about the same as printing directly to the printer. However, the time to print to a file is only 20-50% of this total time, thus letting you resume your working session must faster. You can set up a small batch file that will copy all the print files and then delete them during lunch or overnight. Print buffer programs can provide almost this same time savings without needing to manually copy the print file at a later time. These programs cause the printing to be temporarily stored in disk or RAM memory and then printed in the background while you continue to work with Xerox Ventura Publisher. The one drawback is that these programs are always loaded in the background and therefore reduce the space for your document which may result in somewhat slower response when moving from page to page in longer documents. @HEADING 2 = Performance degradation<$IProblem;Performance degrades><$IPerformance;Degrades suddenly> If performance degrades at any time, check to ensure that the CONFIG.SYS and AUTOEXEC.BAT files have not been changed by some other program which you installed after Xerox Ventura Publisher. @HEADING 2 = Permanent fonts You can choose to download fonts to the HP LaserJet Plus prior to running Xerox Ventura Publisher. This reduces printing time by eliminating the need to transfer font files to the printer during the print operation. However, it does increase the chance of getting an out of memory error message. To make fonts reside permanently in the HP LaserJet Plus follow the instructions given for the LaserJet in Appendix K. @HEADING 2 = LaserJet CNF file<$ICNF file><$IHPLJPLUS.CNF> The HPLJPLUS.CNF file located in the VENTURA directory lets you customize font management for the HP LaserJet printers in the following ways: @LIST 2 = You can place printer fonts in a directory other than VENTURA. @LIST 2 = You can specify which fonts are to be downloaded by the HPDOWN utility (see Appendix K). @LIST 2 = You can specify which fonts to use when using the LaserJet as a draft printer. A typical CNF file looks like this: downpath(D:\HPFONTS\) permfont(1 HLVB3024.SFP) permfont(2 TMSB3012.SFP) permfont(3 TMSB3014.SFP) permfont(4 TMSB3018.SFP) fontspec(HELVTINY,2,2,0,0) fontspec(HLVN3006,2,6,0,0) fontspec(HLVN3008,2,8,0,0) fontspec(HLVB3008,2,8,1,0) fontspec(HLVN3010,2,10,0,0) fontspec(HLVB3010,2,10,1,0) fontspec(HLVI3010,2,10,4,0) Do not place any spaces within the CNF file. @HEADING 3 = Fonts in other directories The downpath command lets you place all fonts for your printer in any directory. The example above shows the syntax you should use to place fonts in the D:\HPFONTS directory. All fonts must be placed in thej directory you specify (any fonts in the VENTURA directory are ignored). @HEADING 3 = Download fonts You can <169>permanently<170> download fonts (until the printer is turned off) to improve printing speed. The fonts which you download must be placed in the CNF file following the permfont command. This procedure is described in more detail in Appendix K under the Adding New Fonts to the HP LaserJet heading. If you own a LaserJet Plus, LaserJet Series II, HP 2000 or compatible printer, Xerox Ventura Publisher automatically copies fonts from the computer to the printer as needed during the To Print operation. This feature makes Xerox Ventura Publisher simple to use, but it can result in long print times if each page in your document uses different fonts than the pervious page. If your printer contains at least 1 megabyte of memory, you can improve performance dramatically by copying fonts to the printer before running Xerox Ventura Publisher. The HPDOWN program contained on the Utilities disk automatically copies fonts to the printer. The following directions show you how to download fonts before running Xerox Ventura Publisher and how to then stop the automatic downloading of these fonts during printing. @INSTRUCTION = Use your word processor's ASCII text function to create a file called HPLJPLUS.CNF. Place this file in the VENTURA subdirectory. (See Appendix F for more information on the CNF file.) @INSTRUCTION = On the first line of this file, place the name of the disk drive and directory where all fonts are stored. Use the format shown in the example which follows. @INSTRUCTION = On each remaining line, place the font ID number and the file name of the font to be downloaded. The font ID number is a number which you provide. It gives Xerox Ventura Publisher the information necessary to select fonts within the printer. You must assign ID numbers in the order that fonts are downloaded. Thus, the first font downloaded must have ID number 1, the second ID number 2, and so on. For example, to download five HP LaserJet fonts, where all fonts are contained in the C:\FONTS directory, the HPLJPLUS.CNF file should contain the following: @TABLE 3 = DOWNPATH(C:\FONTS) @TABLE 3 = PERMFONT(1<~><~>TMSN3010.SFL) @TABLE 3 = PERMFONT(2<~><~>TMSN3012.SFL) @TABLE 3 = PERMFONT(3<~><~>TMSB3010.SFP) @TABLE 3 = PERMFONT(4<~><~>TMSB3012.SFP) @TABLE 3 = PERMFONT(5<~><~>TMSB3014.SFP) @KEY NOTE TEXT = The only spaces allowed in the above are between the font ID number and font file name. No spaces should be placed between the command (i.e., HPFONTS, PERMFONT) and the left parenthesis. All fonts must reside in the directory specified after the HPFONTS command. @INSTRUCTION = Once the HPLJPLUS.CNF file is saved, copy the HPDOWN.EXE utility from the Utilities disk to the VENTURA directory. @INSTRUCTION = Type: HPDOWN. The fonts will be copied permanently to the LaserJet printer connected to LPT1:. To copy fonts to LPT2: type:HPDOWN LPT2: To copy fonts to COM1: type HPDOWN COM1:, etc. @INSTRUCTION = Run Xerox Ventura Publisher. @INSTRUCTION = Select the Add/Remove Fonts option. For each font you have downloaded, select the Face, Size, and Style for that font and then selectj the word Download at the bottom of the Style menu. The word Download will change to Resident indicating that Xerox Ventura Publisher now knows that this font is resident in the printer and does not need to be downloaded. If you make a mistake, select the word Resident and it will change back to Download. @INSTRUCTION = Select Save As New Width Table at the bottom of the Add/Remove Fonts Dialog Box. Save the width table under the existing width table name if you are always going to download the fonts before running Xerox Ventura Publisher. Save under a different name if you will only be pre-downloading some of the time. If you always plan to download the fonts before running Xerox Ventura Publisher, then you should put the HPDOWN statement in the AUTOEXEC.BAT file. Font downloading takes 10-30 seconds per font depending on speed of your computer and speed of the connection to your computer. @HEADING 2 = Adding new PostScript fonts<$IFonts;PostScript><$ILaserWriter;New fonts for> To add new fonts for PostScript printers, copy the font files to the PSFONTS directory on your computer hard disk. (Create this directory, if necessary.) Re-name the font file name, so that it matches exactly one of those shown in the Typeface subsection which follows, and with the extension PFB (or PFA if your font files are ASCII). If you wish to save fonts in a different directory, use the ASCII text editing function of your word processor to edit the POSTSCPT.CNF file located in the VENTURA directory. For instance, if all fonts are saved in a directory called NEWFONTS, change the line in the POSTSCPT.CNF file which reads: psfonts(C:\PSFONTS\) to: psfonts(C:\NEWFONTS\) If the font is not contained in the PostScript width table, use the Add/Remove Font option in the Options menu to merge the width table for these new fonts into the existing PostScript width table. Then, for each font added, use the Add/Remove Font option to change the state of each new font to Download. @KEY NOTE TEXT = Remember to change the download/resident switch for each Face, Size, and Style combination. Because of the way PostScript operates, Xerox Ventura Publisher must download the entire font file each time the font on a page changes. Therefore, for best performance, you should copy the fonts to the printer before you run Xerox Ventura Publisher. Then set each font to resident using the Add/Remove Fonts option. Adobe Systems provides downloading utilities with their fonts. See Appendix F for more information on the POSTSCPT.CNF file and its use with downloadable fonts. @HEADING 1 = Professional Extension @HEADING 2 = Running the Professional Extension<$IRunning the program><$IStarting the program><$IInstallation;Running the Professional Extension> To run the Professional Extension, type VPPROF. If you do not use EMS memory, you may see the message: @COMPUTER TEXT = There wasn't enough space for all the requested font files. Some fonts may not display or print correctly.<$IFont files;Not enough space><$ISpace;Not enough for font files>j܌To eliminate this message you need to either add EMS memory, or delete the following large font files: @LIST 2 = DUTCV72N.VGA @LIST 2 = SWISV72N.VGA @LIST 2 = DUTCV48N.VGA @LIST 2 = SWISV48N.VGA The extension for these file names may be EGA depending on the graphics board you use. Deleting these files does not affect performance. The only difference is that the larger font sizes will appear somewhat more jagged on the screen because Xerox Ventura Publisher uses smaller fonts and then scales them to the larger sizes. @HEADING 2 = EMS memory<$IEMS memory> IBM PC computers can contain three types of memory: Conventional, extended, and expanded. All IBM PCs, including ATs, PS/2s, and 386 machines, contain conventional memory. Up to 640K bytes is allowed. All applications running under PC-DOS or MS-DOS must fit into conventional memory. Extended memory is used primarily for OS/2, Unix, and can be used for RAM disks. The IBM AT architecture allows extended memory from 1M byte to 16M bytes. Users who only run DOS applications do not typically install extended memory. The memory beyond 640K bytes in 386 computers is typically extended memory. For DOS applications, this extended memory is converted to expanded memory using a driver program which comes with your computer. Expanded memory (also called EMS) can be used by DOS applications to increase data space (e.g. the size of the document) if the application is specifically written to read and write from EMS memory. The application program itself must still fit in 640K bytes. The Professional Extension includes support for EMS memory. For Xerox Ventura Publisher this means faster access to large documents because portions of the document are not moved to disk. It means elimination of the <169>Frame Too Complex To Format<170> message. It means creation of huge documents, not just large documents. No special procedures are required to make Xerox Ventura Publisher use the EMS memory in your computer. All EMS memory (minus any amount taken by other resident programs) is automatically used. You may need to install an EMS driver in the CONFIG.SYS file to convert the memory in your computer to EMS memory. Consult the manual for your computer or memory board. If you want to restrict the amount of EMS memory used, use the ASCII function in your word processor to add the /E= statement to the end of the VPPROF.BAT file. For example: C:CD \VENTURADRVRMRGR VPPROF %1 /S=SD_WY700.VGA/M=01/E=256 reduces the amount of memory used to 256K. /E=0 causes no EMS memory to be used for the document. To stop all EMS usage<197>including the EMS memory used for system software<197> add the /E=0 statement to the VPPROF.BAT file and then delete the GEM.EMS file from the VENTURA directory. /E=1 through /E=144 causes 144K bytes of EMS memory to be used. Numbers greater than 144 but less than the EMS installed in your machine restricts EMS usage to the number of Kbytes specified. If you type a number larger than the amount of EMS memory available, then the portion of the document which cannot fit into memory will be placed on the hard disk. Performance will degrade, but you can produce larger documents without purchasing additional memory.j܌@HEADING 2 = HIMEM.SYS<$IHIMEM.SYS><$IWindows;HIMEM.SYS> If you own a version of Microsoft Windows which supports the HIMEM.SYS driver, and if you have installed that driver according to Microsoft's instructions, Xerox Ventura Publisher will use the extra 60K bytes of memory provided by this driver. @HEADING 2 = Desk menu<$IDesk menu> Xerox Ventura Publisher shows, in the Desk menu, the total amount of EMS memory available. The amount shown after SYS is the amount of EMS memory used by other applications, such as a disk cache, plus the amount of memory taken by Ventura Publisher's system software. The amount shown after APP is the total EMS memory available for all text files in a Ventura Publisher chapter. @HEADING 1 = Network Server @HEADING 2 = Workstation requirements<$IWorkstation requirements><$IHardware requirements> The workstation requirements are identical to those given in the Xerox Ventura Publisher Reference Guide, although a hard disk is not required. The most important consideration for each workstation is the amount of memory available. As a general rule of thumb, the DOS CHKDSK program should show at least 560,000 bytes of free memory prior to running Xerox Ventura Publisher, although more memory is required for high resolution displays such as VGA 16 color. If the workstation contains EMS memory, CHKDSK must show at least 430,000 bytes of free memory. Because network software reduces the amount of free memory, Xerox Ventura Publisher may not initially be able to run with certain network configurations. Therefore, running Xerox Ventura Publisher may require either special hardware, or one of the memory enhancement techniques described starting on page <$R[P#,3Com]21>. If Xerox Ventura Publisher displays one of the following error messages after you type VPPROF or VPNET, you should read the chapter on memory enhancement and make one or more of the changes suggested. @HEADING 2 = Out of memory messages @LIST 2 = Couldn't find overlay file. @LIST 2 = Fatal Error! The GEM VDI screen driver couldn't be loaded. @LIST 2 = Fatal Error! There wasn't enough memory for the screen graphics buffer. @LIST 2 = Fatal Error! The VPPROF.RSC and/or VPPROF.RS1 files couldn't be found or wouldn't fit in memory. @LIST 2 = Not enough memory to run the program. Either add EMS memory to your system or check your CONFIG.SYS and AUTOEXEC.BAT files for any drivers or resident applications that can be removed. @LIST 2 = There was not enough memory to begin the archive process. @LIST 2 = There wasn't enough space for all the requested font files. Some fonts may not display or print correctly. Try adding more EMS or deleting large screen font files. @LIST 2 = There isn't enough memory to merge these two width tables into one width table. @LIST 2 = There wasn't enough memory to load and hyphenate all of the text file you requested. You may have to split this chapter & file into two parts and try again. @LIST 2 = Using the /A= command line switch may allow you to run but could cause some printers not to work. Read more about the /A= switch in the manual. @HEADING 2 = Optimizing network performance<$IPerformance improvement>j܌@HEADING 2 = Printing The network version of Xerox Ventura Publisher appears to print much faster than the single user version. This is due to the fact that the information normally sent directly to the printer is instead sent to the network file server and stored in a spool file. Since the server can accept information 2-10 times faster than the printer, network users will not wait as long for the print operation. This increased performance comes with a price: large spool files. Because Xerox Ventura Publisher automatically sends all font files to the printer, the spool file contains the complete font files for every font used in the document. In fact, since most printers don't have enough memory to store all the fonts used in a document, Xerox Ventura Publisher sends fonts for each page, unless the fonts requested are the same as those used on the previous page. Thus, the same font file can be sent several times during one print job. @HEADING 3 = Pre-download fonts<$IFonts;Downloading> To reduce spool file size, the network administrator can download fonts into the printer and make them resident. The procedures for doing this for a LaserJet printer are contained in the Xerox Ventura Publisher Reference Guide in the Putting It Together chapter under the heading Downloading Fonts. If you use downloadable fonts with PostScript printers, use the PSDOWN utility provided by Adobe Systems to download the fonts. After these fonts are downloaded, you must change the Resident/Download setting for each font to Resident. The Add/Remove Fonts option on the Options menu contains this feature. Consult the Xerox Ventura Publisher Reference Guide for information on how to operate the Add/Remove Fonts option. To give you some idea of the reduction in file size, in one typical test, a fifteen page text-only file printed to a LaserJet printer created a 478K byte spool file. With the fonts pre-downloaded, the spool file was only 89K bytes. With PostScript printers, the reduction in size and increase in speed is even more dramatic. @HEADING 3 = Pre-download the PostScript prologue For PostScript printers, Xerox Ventura Publisher sends a prologue at the beginning of every print job. This is approximately 12K bytes of information. To reduce spool file size and increase print speed, this file can be loaded permanently in your printer. Follow the directions in Appendix F of the Xerox Ventura Publisher Reference Guide. @HEADING 3 = Compact images<$IImages;Reducing file size> For PostScript printers, Xerox Ventura Publisher provides an option which compresses bit image information into a smaller spool file. This compression comes at the expense of slower printing speed. However, if you print pages which contain images, and frequently encounter problems with spool files growing too big for your server, you can alter the POSTSCPT.CNF file to specify compact images. Do this by using the ASCII function in your word processor to change the line which reads: imgtype(FAST) to imgtype(COMPACT) @HEADING 3 = Network disk cache If you have created a disk cache on your local workstation, it will not cache the network drive. This means that you will experience no performance improvement when making multiple accesses to the same, unchanged files on the network. If you deleted the BUFFERS statement from the CONFIG.SYS file as part of thej disk cache installation, you may be able to improve performance over the network by putting BUFFERS=20 back into the CONFIG.SYS file. @HEADING 3 = Overflow files You can improve performance by redirecting all overflow files from the network server to your workstation's local hard disk. To do this, use the ASCII function in your word processor to add the /O switch to your VPNET.BAT or VPPROF.BAT. For instance: C:CD \VENTURADRVRMRGR VPPROF %1 /S=SD_WY700.VGA/M=01/O=C: @HEADING 3 = Network printing services<$IPrinting;Collated copies> If you print collated copies, Xerox Ventura Publisher creates huge spool files, because every page for each copy is printed. If you need more than a few copies of a document, and you want each copy collated, you should: @INSTRUCTION = Print one copy of the document to a file (use the Set Printer Info option in the Options menu to change the output to Filename). @INSTRUCTION = Quit from Xerox Ventura Publisher. @INSTRUCTION = Use the network facilities to temporarily make multiple copies of any file sent to the printer. @INSTRUCTION = Use the DOS copy function to copy the print file to the printer. @INSTRUCTION = Reset the network facilities to make only one copy of any future file sent to the printer. For example, to print five copies to a printer connected to a 3Com network, you should execute the following commands (assuming the printer is mapped to LPT1: on your local workstation): 3P SET LPT1: /COPIES=5COPY FILENAME LPT1: /B3P SET LPT1: /COPIES=1 @HEADING 2 = Memory enhancement<$M[3Com]><$IMemory;Out of memory> Xerox Ventura Publisher is a sophisticated application and therefore consumes a great deal of DOS memory. If your computer is not configured correctly, Xerox Ventura Publisher may not load correctly or, at the very least, performance may suffer. However, you can greatly increase the amount of memory available by using one or more of the following configuration hints. @HEADING 3 = Change the VP.BAT file The VP.BAT file can contain switches which alter the memory requirements of Xerox Ventura Publisher. If you experience memory problems, remove the /F switch, if used, and add the switch: /A=32 to the end of the last line of the VP.BAT file. If you receive a message stating that certain loadable modules cannot be found, decrease this to: /A=16. Only use the /A switch with PostScript printers. @HEADING 3 = HIMEM.SYS If you own Microsoft Windows, and your computer is a 286 or 386 which contains extended memory, you may be able to use a driver called HIMEM.SYS to add 64K to the normal 640K limit imposed by DOS. If you have this driver, copy the HIMEM.SYS file to the root directory of your computer and include this line in your CONFIG.SYS file: DEVICE = HIMEM.SYS If your CONFIG.SYS file contains an EMS driver, this driver may map all extended memory into expanded memory and HIMEM.SYS will not load. In this case, you will need to modify the CONFIG.SYS file so that at least 64K of extended memory remains for HIMEM.SYS. Consult the documentation for your EMS driver for information on how to leave a smallj amount of extended memory. You don't need to run Windows to use the HIMEM.SYS driver. Only relatively recent version of Microsoft Windows contain this driver. If you cannot find this driver on your Windows disks, contact Microsoft for their upgrade policy. @HEADING 3 = 386MAX<191><$I386 MAX> This program (available from Qualitas, Inc. of Bethesda Maryland) increases the amount of memory available on 386 computers in much the same manner as the HIMEM.SYS driver, but also uses certain other areas of memory between 640K and 1024K to load CONFIG.SYS drivers, TSR programs (terminate but stay resident programs), and portions of applications. This can increase the effective conventional memory area to over 800K in some situations. It can also let you use TSR programs<$ITSR programs> such as Norton Commander<190> or <$ISidekick>Sidekick<190> without running out of memory. You can use this product in several ways. The best way is to let 386MAX place all device drivers, network drivers, and TSR programs into <169>high memory.<170> For example, for the Novell network this is done by placing the following highlighted command in your CONFIG.SYS file: FILES=20BUFFERS=20DEVICE=C:\SYSTEM\386MAX.SYS and the following highlighted commands in your AUTOEXEC.BAT file: 386MAX LOADHIGHIPX.COMNET3386MAX LOADLOWF:LOGIN HEISKELL All program between the LOADHIGH and LOADLOW commands will be automatically loaded into high memory, if possible. If your 386 computer does not contain any device drivers, network drivers, or TSR programs, you can use 386MAX to load portions of Xerox Ventura Publisher into high memory. To do this, modify the VP.BAT file as follows: 386MAX OPENHIGHC:CD \VENTURADRVRMRGR VP %1 /S=SDFVGAH5.VGA/M=01386MAX CLOSEHIGH @HEADING 3 = Modify startup files If you cannot use any of the methods described on the previous pages, check your computer's CONFIG.SYS and AUTOEXEC.BAT files. If these files contain any un-needed drivers or TSR (terminate but stay resident) programs, remove them. @HEADING 3 = Add EMS memory You can also increase conventional memory available to run Xerox Ventura Publisher by adding EMS memory to your computer. Xerox Ventura Publisher automatically places approximately 90K bytes of system software in EMS memory if it senses that this memory is available. Check the Desk menu<$IDesk menu> for the exact amount of EMS memory used. The Xerox Ventura Publisher Professional Extension places the document itself in EMS memory, thus further reducing the amount of conventional memory required. Note that some EMS memory managers may consume as much as 45K of conventional memory in order to perform their functions. However, certain programs, such as Quarterdeck's Expanded Memory Manager 386<191>, provide EMS support <197> and more <197> while consuming only 1.5K of conventional memory. Therefore, if Xerox Ventura Publisher still will not load after you have tried all the techniques listed, you should consider using an expanded memory managers which consumes less conventional memory. @HEADING 3 = Ideal memory solution The ideal memory configuration is to use HIMEM.SYS,j 386MAX<191>, or a similar driver, combined with EMS memory. If your computer contains EMS memory, use a disk cache which uses EMS memory and configure it as follows: @LIST 2 = Configure the disk cache to leave at least 128K of EMS for Xerox Ventura Publisher. @LIST 2 = If you use the Professional Extension, configure the disk cache to leave enough EMS available to load GEM.EMS, and hold all the text from the largest document you plan to produce.