XYWRITE PRINTER NOTES The following paragraphs describe XyWrite printer notes that are not reflected in the documentation. Topics include the following: o Using Signature Printer Files with XyWrite 4.0 o Using the IBM 4216-020 Personal Pageprinter Model 20 o Printing Graphics in Image Mode on Page Printers o Connecting a Printer via the Parallel and Serial Ports o Using 1 vs. LPT1 in the Printer Configuration o Using Hewlett-Packard Scalable Soft Fonts o Adding Support for Hewlett-Packard Cartridges Using Signature Printer Files with XyWrite 4.0 To use a Signature printer file with XyWrite, you must perform one of the following procedures: o Change the LA default setting to 850. (Refer to the Customization Guide for information about changing defaults.) o Call the Signature printer file and embed the command LA850 in the file label. In expanded view, the file label should look like this: ;PR<>; Using the IBM 4216-020 Personal Pageprinter Model 20 To use the IBM 4216-020 Personal Pageprinter Model 20 with XyWrite, first configure and load the IBM Personal Pageprinter Adapter Program Version 1.3.1: 1. From the DOS prompt, type PPCTL and press Enter. 2. Select Special. 3. Select Printer Settings. 4. Select Settings saved on disk. 5. Select DEFAULT.PRF. If you use another profile, select it from the list of profiles. 6. Select Emulator and Printing Modes. 7. Set the Standard Interface Mode to PostScript. 8. Save these settings to disk. 9. Exit PPCTL. 10. Modify AUTOEXEC.BAT to execute PPSTART.BAT with the /L parameter. 11. Press Ctrl+Alt+Del to restart the system and make these changes effective. To print a XyWrite document on the IBM 4216-020 Personal Pageprinter Model 20, first print the document to a file. Then print the file using the PPPRINT program supplied with the IBM Page Printer Adapter Program Version 1.3.1. Notes: 1. Refer to the IBM Personal Pageprinter Adapter Program "User's Reference" for more information. 2. The IBM Personal Pageprinter Adapter Program requires approximately 45KB of RAM in addition to RAM used by other programs. Printing in Image-Mode on Page Printers For all page printers supported with XyWrite (such as the IBM 4019 and Hewlett-Packard LaserJet printers), 1.5MB memory may be required in the printer for: o Printing documents with graphics in character mode o Printing documents in Image-mode. Connecting a Printer via the Parallel and Serial Ports If a printer is attached to a computer through a parallel port, it is recommended that you issue the following DOS command to set infinite retry before starting XyWrite: MODE LPTn:,,P where n is the LPT port to which the printer is attached. Setting infinite retry ensures that XyWrite does not cancel a print job when the printer is off-line, not ready, or processing a complicated document with many styles and/or many font changes (for example, when a printer is out of paper, has a paper jam, or is processing one page or a range of pages of a complicated document). Note: This is most common with laser printers. If a printer is attached to a computer through a serial (asynchronous) port, issue the following DOS command to set up correct communications with the printer before starting XyWrite: Example: MODE COMn:baud,N,8,1,P where n is the COM port to which the printer is attached; baud is the baud rate of the printer, usually 9600. Note: If a document is sent to a printer that is ready to print (lights blinking on the printer, etc.) but does not print, serial (asynchronous) communications may not be set up correctly. See your DOS manual for a more detailed description of these commands. Using 1 vs. LPT1 in the Printer Configuration XyWrite Install sets up to print to a device (such as LPT1, LPT2, or COM1) by default. However, if you are using XyWrite and printing on a parallel interface printer attached directly to the computer, you can edit the Printer File Selection Table to have "1" instead of "LPT1." The advantage in doing this is to allow XyWrite to immediately detect when the printer is not ready to print (for example, the printer is off-line or out of paper) and display a message. This also may improve print speed performance. Follow these steps to edit the Printer File Selection Table: 1. Select Printer Setup from the File menu (F10,F,R). 2. In the Printer Setup dialog box, choose Select printer file and press Enter or activate OK. 3. In the Select Printer File dialog box, activate Edit (Alt+E). 4. Edit the Select Printer File Table. a. Edit "LPT1" by deleting "LPT" so that "1" remains. Do this for any parallel printers that are directly attached to the computer. b. If a printer is configured as LPT2 or LPT3, you can delete the "LPT" so that "2" or "3" remains. Example: 1 C:\XY4\IBM5204.PRN IBM 5204 QuickWriter LPT1 C:\XY4\IBM4019.PRN IBM 4019 (Native Mode) 5. When you finish, press F9 to close the file. The Select Printer File dialog box is displayed again with the changes. Notes: 1. This procedure only applies to parallel interface printers attached directly to the computer. This procedure cannot be used if: o You are printing to a serial (asynchronous) interface printer. You cannot change COM1, COM2, or COM3 to 1, 2, or 3, respectively. o You are printing to a network printer. o XyWrite is installed under OS/2. o You are using an external print spooler. 2. Do not include the colon (:) in the LPT port name (LPT1, LPT2, or LPT3). Using Hewlett-Packard Scalable Soft Fonts Following are steps for using Hewlett-Packard Scalable soft fonts with XyWrite: 1. Install Hewlett-Packard's Type Director font management utility on a fixed disk. Follow the instructions that come with the scalable soft font package and the instructions in Type Director to "install" and "make" the specific fonts, along with the desired character sets you want to use in documents. You will then be required to specify point sizes for each font you create. To make printer and screen fonts for use with XyWrite, choose XyWrite IV from the "Environments" section of Type Director. NOTE: During the install or when modifying the "Environments" section of Type Director, do not choose "Autofont Application." XyWrite is not an Autofont Application. 2. Exit Type Director and start XyWrite. 3. Select Printer Setup from the File menu. 4. In the Printer Setup dialog box, select Manage Printer Soft Fonts. 5. Select New from the Manage Printer Soft Fonts dialog box. The Printer Soft Fonts dialog box prompts for a path where the soft fonts are located. 6. Enter the path where Type Director stored the fonts you created in Step 1 above. Note: Type Director's default is d:\TD\FONTS, where d is the drive where Type Director is installed. A list of all the fonts you created in Step 1 above appears. 7. Scroll through the list and select a font by typing a letter from one of the options listed at the top of the menu (for example, P=Permanent or T=Temporary). 8. After selecting the fonts, press Enter. The Save Soft Font List menu appears. 9. Type a file name and press Enter. An extension of .SFL is added automatically. You return to the Manage Printer Soft Fonts dialog box. 10. In the Manage Printer Soft Fonts dialog box, select the file you just created and press Enter. If you have chosen to load the fonts as P (Permanent), XyWrite asks if you want the soft fonts downloaded to the printer. 11. Specify Yes. The fonts are downloaded directly to the printer. If you chose the B (Build) or T (Temporary) option for the soft fonts, XyWrite will load the font metric information into memory. 12. To use these fonts in a document, select Typeface from the Format menu (F10,M,F). Remember: Soft fonts are only selectable from the Typeface menu after the fonts have been set up and downloaded to a printer. Adding Support for Hewlett-Packard Cartridges XyWrite provides support for over 40 Hewlett-Packard (or compatible) cartridges. The required information about these cartridges is stored in a binary font file. There are three such binary files: LJ.BIN Used with all Hewlett-Packard LaserJet printers and compatibles, except the LaserJet III and compatibles and the LaserJet IV. LJ3.BIN Used with the Hewlett-Packard LaserJet III series and compatibles. LJ4.BIN Used with the Hewlett-Packard LaserJet IV. XyWrite uses the information in the font files to create the cartridge and typeface menus; more importantly, XyWrite uses this information when it lays out the pages of documents. Because font manufacturers are continually creating new font cartridges, XyWrite provides a program that extracts font information from Tagged Font Metric (TFM) files and appends this information to the binary font files shipped XyWrite. Once you complete this process, XyWrite provides full support for the new cartridge. Most manufacturers supply .TFM files with the cartridges. These files specify the character width, symbol set, weight, orientation, pitch, and other font-related information for all typefaces on a cartridge. To extract the information and append it to XyWrite's binary font files, use the TFMADD command. The format of this command is: TFMADD d1:\path1\*.TFM,d2:\path\file.BIN,nn name where d1: is the drive and \path1 is the subdirectory that contains the files you want to append (the standard convention for \path1 is AUTOFONT); d2 is the drive and \path2 is the location of the XyWrite binary font file; file is either LJ, LJ3, or LJ4; nn is the 1-, 2-, or 3- character cartridge identifier; and name is the cartridge name (up to 16 characters). To use the TFMADD command to append a cartridge: 1. Verify that the cartridge package includes .TFM files. 2. Exit XyWrite. 3. Install the TFM files according to the manufacturer's instructions. 4. Change to the main XyWrite directory (the default is XY4). 5. Issue the TFMADD command. For example, to append the "Distinctive Documents I/Compelling Publications I" cartridge to LJ3.BIN, type the following command at the DOS prompt: tfmadd c:\autofont\*.tfm,c:\xy4\lj3.bin,dp Docs I/Pubs I The program reads all the .TFM files in the AUTOFONT directory. When finished, the program displays the message "Insert another disk and press Enter, or press Esc to exit." 6. Press Esc to exit.