Preview only show first 10 pages with watermark. For full document please download

Slm804 Printer Emulator Emulation Of Diablo 630 Printer

   EMBED


Share

Transcript

Every effort has been made to ensure the accuracy of the product documentation in this manual. However, because it is constantly improving and updating its computer hardware and software, Atari Corporation is unable to guarantee the accuracy of printed material after the date of publication and disclaims liability for changes, errors, or omissions. .. JllATARr SLM804 Printer Emulator AT ARI, the AT ARIIogo, MEGA, SH, SLMC804, SLM804, ST, and 520ST are trademarks or registered trademarks of Atari Corporation. GEM and GEM Desktop are trademarks or registered trademarks of Digital Research Inc. 1st Word is a trademark of GST Holdings Ltd. Diablo is a registered trademark of Xerox Corporation; Emulation of Diablo 630 Printer For Atari MEGA and ST computers and the Atari SLM804 laser printer SLM804 Printer Emulator by Dave Staugas. Setup630 program by Dave Staugas and Craig Suko. Reproduction of this document or any portion of its contents is not allowed without the specific written consent of Atari Corporation. )1\..ATARr Copyright@ 1987, Atari Corporation Sunnyvale, CA 94086 All rights reserved. User's Manual TABLE OF CONTENTS INTRODUCTION ......... ...... ....... .. ... .. ........ ..... ..... ... .. ....... ..... ... 1 Welcome to the Atari SLM804 Printer Emulator .. .... .... ........ ..1 System Components ....... ....... .. ..... ........... ... ...... ....... ..... ...... .. 2 Using This Manual. .. ............. ..... .... ....... ....... .. ... ... ........... ....... 2 ~ CHAPTER 1: GETTING STARTED ... ..... ........ ...... ..... ....... ..5 Making a Working Copy of the Program Disk ....... ..... .. .. .... ....5 Program Disk Contents ..... ............. .. .... ......... .. .... ......... ... .......5 The AUTO Folder ..... ..... .... ... .. ..... .. ..... ...... ..... ... ...... ... ...... .. .6 SETUP630.PRG .. ........ .... ... .... ........ ...... .. ......... .. ..... .... .. ... .. .6 SETUP630.RSC ... ....... ... ... ...... .... ...... ....... ... ..... ....... ........ .. .6 SETUP630.ACC ...... ...... .... ... ...... ........ ...... .... ... .. ........ .... .... .7 TYPE10LS .FNT ... .. .. .. ....... .... .... ............ ........ .......... .. ..... ... ..7 RAZR10LS .FNT ......... .. .. .. ... .. .... ........ ... ... .... ........ .. ... .... ...... 7 LIST06LS.FNT .............. .... ... ....... .. .... .... .... ....... ... ...... ........ . 7 TEST.PRG ..... ... ....... .. .... ...... ....... ..... ....... ...... .. .. ..... .... ........ .8 SDUMP.PRG .. .. .... ... .... ... .. .. ..... .. .......... ........ .. .. .. .. ... .... ........8 1ST_PRNT.DOT .. ... ... .... ...... ..... .. .. ... .... ... .... ...... .. ,......... .... . 8 SLM804 .HEX ... ... ........... ....... ..... ........ .. ..... .... ..... ..... ..... .. .. .. .8 README.DOC .... .... ........ .......... ... .. .... ...... .. ....... ....... .. ..... ... 9 Running the Test Program .. ........ ... .. .... ........ .. ... ... .. ...... ......... 9 Loading the Emulator ... ... ..... .. ... ..... .. .... ........ ...... .............. ... 10 Running Your Word Processor. ..... .... .. ....... ...... .. .... ... ..... ... .. 11 Styling and Formatting Text. ...... ......... .. ............. .. ... .. ....... .11 Fonts and Font Files ... ...... .... .... .. .. .............. ........... ..... .. 11 Pitch ........................ ... ... ....... ... ..... ..... .. ... .. .. .... ....... ........12 Font Style .............. ..... .... .. ....... .... ... ..... .. ..... ..... ..... ..... ... 12 Margins .......... ......... ... .......... ........ .... ...... ... .. ..... ......... .:\ .12 Using the Screen Dump Program ... .. .... .... ........ ...... .. .. ... .... .. 13 CHAPTER 2: CUSTOMIZING THE EMULATOR ......... .. .15 The Setup630 Program .... ........ ....... ;................................ .. . 15 Desk ............................................................................ ..... 16 About Setup630 .... ........ ....................... .. ....... .... ... .. ... .... .16 Setup630 ......... ............................................ ...... .. ...... .... 17 Options ................ .... .. ............................... ....... .. ...... ... .. ... . 18 Printer Settings .. ..... ..... ... .. .. .................. ..... ... .... ... .... ... ... 19 Install Fonts ........ .......... ... .... .. ............... .. ...... ........ ......... 22 Examine Font. ....... ..... .. .......... .. ..... ... ......... .....................26 Error Report. ...... .... ............................................... ..... ....27 Output. ......... .... .. .. ......... ... ... .................. .. .. .... ...... ... ..... ...29 Save Emulator ..... ... ............. ............. ...... ...... ......... ....... .29 Ouit. ............. ............ ... .. .......... ...... .... ... ... ..... ...... .. ... .... ...30 Style .... ....... ..... ...... ... ... .. .... ....... ....... ............. ... ....... .. ... ..... .30 Loading the Customized Emulator .. ...... .. .. .............. .. ...........31 APPENDIX A: CONTROL CODES. ESCAPESEQUENCES.AND ESCAPE SEQUENCE SYNONYMS .... .......... .... .. .... ...... .. ..33 INDEX ........... ... .... .... ...... ..... .... .. ... ............... ... .... .......... .... .... ..47 CUSTOMER SUPPORT ... ..... ... ....... ................. ..... .... .... ..... 51 INTRODUCTION WELCOME TO THE AT ARI SLM804 PRINTER EMULATOR The SLM804 Printer Emulator is a program that drives your Atari SLM804 laser printer. The emulator serves as an intermediary intelligence between your MEGA or ST computer and the SLM804 laser printer and SLMC804TM controller. The SLM804 Printer Emulator is designed to emulate the Diabio 630 daisy-wheel printer. The emulator accepts Diablo 630 commands (standard ASCII printer control codes and Diablo 630 escape sequences) from a word-processing or text-based program's printer driver, then processes that information for output to the laser printer . The emulator also includes enhancements to the Diablo 630 command set, which are possible because of the quality and versatility of the SLM804 laser printer. The emulator can be used with all Atari MEGA and sl' computers and any MEGA- or ST-compatible word processor or text-based program that can print to a Diablo 630 or compatible printer. When you load or auto-boot the emulator, it remains resident in memory (RAM) while you run your word processor or other text-based program and print to your laser printer . SYSTEM COMPONENTS In order to use the SLM804 Printer Emulator, you'll first need to set up your computer system and laser printer . You should have the following components in your system: • • • • Atari MEGA or ST computer Atari floppy disk drive and formatted floppy disks Atari SH ... hard disk drive (optional) Atari monitor (or television, if your compu,er has an RF modulator) • Atari SLM804 laser printer and SLMC804 controller Set up your computer system and laser printer. following the instructions in your owner's manuals. Before using the SLM804 Printer Emulator . it's recommended that you have a good working knowledge of your Atari computer system and laser printer and read the owner's manuals supplied with the equipment. USING THIS MANUAL The information, examples. and illustrations in this manual tell you how to take full advantage of the SLMS04 Printer Emulator and your laser printer's capabilities. For best results , work through the manual from beginning to end. proceeding with it step by step from loading the emulator to performing advanced procedures. Once you're familiar with using the emulator, this manual can serve as a reference guide to individual procedures and specific information. running. The chapter includes brief explanations of all information on the emulator's program disk. Chapter 2: Customizing the Emulator explains how to use the emulator, customize it to your special printing needs, and install additional fonts . Appendix A: Control Codes, Escape Sequences, and Escape Sequence Synonyms lists the standard ASCII control codes and the Diablo 630 and non-Diablo escape codes supported by the emulator. The Index helps you locate terms and procedures used or explained in the manual. Customer Support tells where to find further information about the SLM804 Printer Emulator and all Atari computer products. Paragraphs marked Note or Warning appear throughout the manual. Notes contain useful hints and information relevant to the topic being discussed. Warnings alert you to potential problems and suggest ways to avoid them . ) A summary of each manual section follows: Chapter 1: Getting Started explains how to make a working copy of the emulator. load the emulator into memory. run the test program. and get your laser printing system up and 2 3 CHAPTER 1 GETTING STARTED MAKING A WORKING COPY OF THE PROGRAM DISK It is essential that you make a backup , working copy of the .. SLM804 Printer Emulator program disk befor~ beginning to work with it routinely. A backup copy protects you from losing the original disk or damaging its contents. Write-protect the original disk by moving the write-protect tab so that you can see through the notch. Then copy the disk from GEM® Desktop TM. following the instructions given in your Atari computer owner's manual. You can copy the disk to a formatted floppy or hard disk. (If copying to a hard disk, you should initially copy all files to the main directory of drive C.) Always use the backup copy as your working disk. Store the original disk in a safe place protected from dust, moisture. direct sunlight, and sources of electric power or magnetism . PROGRAM DISK CONTENTS The SLM804 Printer Emulator program pisk contains programs and other data that your computer uses to emulate a Diablo 630 printer and send graphics data to your SLM804 laser printer for near-typeset, letter-quality printing . 4 5 - From the desktop, display a directory window for your working program disk. The directory looks like this: D Q FlU T O D Q UP6 3 0 . AC C D ~ SETUP630 .PRG SETU P 63 0 .RSC ~ ¢ SETUP630.ACC SETUP630.ACC is the Setup630 desk accessory, which lets you change certain characteristics of the emulator, read the laser printer's error condition, and perform certain output functions without having to run the Setup630 program . SETUP630.ACC must be in the main directory of your boot disk in order to load during booting . (For more information , see Chapter 2.) [<>lr: TYPE10LS .FNT The AUTO Folder The AUTO folder contains the SLM804 Printer Emulator program (DIAB630.PRG) . During booting, the emulator program loads automatically from this folder. then calls for the designated font files to load from the main directory of your boot disk. (For complete information, see Loading the Emulator later in this chapter.) SETUP630.PRG SETUP630.PRG is the Setup630 program , which lets you install and style fonts, customize the emulator, and write your customized emulator to disk. This file should be in the main directory of the boot disk if you intend to auto-boot the emulator; otherwise it should be in the same directory as the font files . (For complete information, see Chapter 2.) SETUP630.RSC SETUP630.RSC is the Setup630 program's GEM resource file. In order to run the SETUP630 program. the program file and the resource file must be in the same directory on disk. 6 TYPE 1OLS.FNT is the Type 10 font file which produces 10-pitch characters, and is used by the emulator as the default main font. It is an abridged version of ATTP10LS.FNT supplied on SLM804 font disk 1. TYPE10LS.FNT contains all characters in the MEGA and ST character set up to the first Hebrew character ( 193 decimal or C 1 hexadecimal). Note: In order to be used, a .FNT file must be in the main directory of the boot disk if you intend to auto-boot the emulator; otherwise, it must be in the same directory as DIAB630.PRG. For more information. see Chapter 2 . RAZR 1OLS.FNT RAZR 1OLS.FNT is the Razor 10 font file which produces 12-pitch characters. (For information on using RAZR10LS.FNT, see the Note under TYPE 1OLS.FNT.) LIST06LS.FNT LIST06LS.FNT is a font file based on the MEGA and ST systems' monochrome screen font. The List06 font features small ( 18.75-pitch), easily readable characters that allow for 150 7 columns x 99 rows on an 8.5 x 11-inch page. List06 is a good font to use for program listings and footnotes. (For information on using LIST06LS.FNT, see the Note under TYPE10LS.FNT.) TEST.PRG TEST.PRG is a program that tests the SLM804 laser printer. When you run TEST.PRG, the laser printer prints a test page. (For complete information, see Running the Test Program later in this chapter.) SDUMP.PRG SDUMP.PRG is the program used to print screen displays. (For complete information, see Using the Screen Dump Program later in this chapter.) 1ST_PANT .DOT README.DOC From time to time production changes may be made to the file s or filenames on the SLMB04 Printer Emulator program disk which are not described in this manual. The README.DOC file explains those changes. If README.DOC is present on your disk, be sure to read it before using the emulator. RUNNING THE TEST PROGRAM Running the test program TEST.PRG gives you a chance to make sure your laser printer is in good working order before using the SLM804 Printer Emulator. It's a good idea to run TEST.PRG at the start of every work session with your laser printer . To run TEST.PRG, follow these steps: 1. Make sure your SLM804 laser printer and SLMC804 controller are properly and securely connected, and that the printer is loaded with paper . 1ST_PANT .DOT is a 1st WordTM printer driver specially customized for use with the SLM804 Printer Emulator. If used, this file must be in the same directory as 1ST_WORD.PRG. (For more information, see your 1st Word user's manual.) on all peripherals, including the printer. first ; finally, switch on the computer . SLM804.HEX 3. Display a directory for the SLM804 Printer Emulator program disk and select TEST.PRG . In a moment. the laser printer begins 2. Switch on all components in your computer system. Switch working and prints the program's test page . SLM804.HEX is the text file used to make 1ST_PRNT.DOT. (See your 1st Word user's manual for information about printer driver .HEX files.) 8 Examine the test page for consistent print quality and spacing between characters and lines. If you find inconsistencies, make sure the toner and drum are installed correctly in the printer 9 and the paper is loaded properly (or see Appendix A of the SLM804 laser printer owner's manual for specific troubleshooting techniques). Then run the test program again. If a problem persists, contact your Atari dealer or an authorized Atari service center . RUNNING YOUR WORD PROCESSOR With the emulator resident in RAM, you can run your word processor or other text-based application and print your documents on the SLM804 laser printer. The only requirement is that your application be designed to print to a Diablo 630 or Diablo 630-compatible letter-quality printer. LOADING THE EMULATOR The AUTO folder on your program disk contains the file DIAB630.PRG, which is a general-purpose version of the SLM804 Printer Emulator. This version should meet your initial printing needs. It's a good idea to experiment with DIAB630.PRG and your word processor first before going on to customizing your own version of the emulator. To auto-boot DIAB630.PRG, use your working program disk as your boot disk. When you switch on your system. DIAB630.PRG will load automatically. As your system boots, a message appears telling you that the emulator and its default main font file TYPElOLS.FNT are loading. Then the desktop appears. The emulator is now resident in your computer's RAM. Format documents for the laser printer the same way you would format them for the Diablo 630 or compatible printer. Before printing, you must configure your application to print to · a Diablo 630 printer via the computer's printer (parallel) port. If the application does not have a Diablo 630 or compatible printer driver, see the manual supplied with the application for instructions on creating a custom printer driver. A 1st Word printer driver (1ST_PRNT.DOT) is supplied on the SLM804 Printer Emulator program disk. Stying and Formatting Text FONTS AND FONT FILES sion, If you do not auto-boot the emulator, you can load it later by selecting it from a disk directory. A font is the size and style of the characters in which text is printed. Type 10 and Razor 10 (supplied on the SLM804 Printer Emulator program disk) are fonts designed to look like standard typewriter type. Type 10 is a 10-pitch font; Razor 10 is a 12-pitch font. The font files (TYPE10LS.FNT and RAZR10LS.FNT) contain information the emulator needs to print characters in Type 10 and Razor 10. 10 11 Note: The emulator will not load unless the laser printer is connected and switched on . Yau only need to load the emulator once during a work ses- PITCH USING THE SCREEN DUMP PROGRAM Pitch is the number of characters printed horizontally per inch of paper. Typewriters typically use 10-pitch ( 10 characters per inch) or 12-pitch ( 12 characters per inch) fonts. Type 10 is a 10-pitch font; Razor 10 is a 12-pitch font. When using either font, be sure to format documents in your word processor for the correct pitch printing. For example. when using Type 10, format for 10-pitch printing. SDUMP.PRG (supplied on the emulator's program disk) is a program that lets you print screen displays to the SLM804 laser printer. Monochrome screens are printed on a scale of four laser printer pixels to one screen pixel. Color screens are printed by using the luminance of the displayed colors to produce a corresponding grey scale on the laser printer. FONT STYLE The SLM804 Printer Emulator can print a font in several styles (bold, italic. outline. and light) as well as combinations of styles. However, the emulator is initially set to use th~ default main font. Type 10, as plain text free of styling . You can install styled fonts by using the Setup630 program. (For information, see Chapter 2.) MARGINS The laser printing process takes up a quarter-inch margin on all four edges of a sheet of paper. This means that for the laser printer, any margins you set in the word processor will begin a quarter inch from the physical edge of the paper. Note: Applications that do not use the stan'dard GEM system call to perform the screen dump function may prevent SDUMP.PRG from working properly. To print a screen. display a directory window for the emulator's program disk and double-click on SDUMP.PRG. The program loads and remains in memory until you reset or switch off the computer. Once the program is resident in RAM, press [Alternate] [Help] (or select Print Screen from the Options menu on the desktop) to print any current screen display. Warning: Do not perform a screen dump while your system is reading from or writing to disk. SDUMP.PRG works correctly only when no drive in the system is busy. You'll want to account for the quarter-inch laser printing margin when setting margins in your word processor . For example. if you want a 1.25-inch left margin. set your margin for one inch to account for the quarter-inch margin added by the laser printing process. Note: Test pages printed by TEST.PRG and the Self Test option in the Setup630 desk accessory show the laser printing border. 12 13 CHAPTER2 CUSTOMIZING THE EMULATOR This chapter explains how to use the Setup630 program to customize the SLM804 Printer Emulator to your special needs and preferences. The Setup630 program lets you reconfigure certain printing parameters (normally set with DIP switches on a Diablo 630 printer) and install and restyle fonts (usually accomplished on a Diablo 630 by changing the print wheel) . THE SETUP630 PROGRAM To run the Setup630 program, select SETUP630.PRG from the directory of your working SLM804 Printer Emulator program disk. In a moment. the Setup630 program's desktop and the printer settings dialog box appear. For now, select Cancel. (The dialog box is explained in Printer Settings later in this chapter.) PRINT PAGES: lii!JII ~ !Ia 14 15 AUTO LINE FEED: [JU[J DOUBLE LINE FEED: [JU[J UPPERCASE ONLY: [JU[J INIT 8 COL TABS: mtl STRIP BIT 7: [ill] []]_ill []IT] The program's three menu-bar headings, Desk, Options, and Style, include drop-down menus containing the options you'll use when working with the program. Move the mouse pointer to a heading to display its menu. Desk The Desk menu contains the About Setup630 option and the Setup630 desk accessory, plus any other desk accessories that were loaded during booting. SETUP630 The Setup630 desk accessory lets you alter printer settings, execute the output features. and obtain an error report display without having to exit your word processor. In order to use the Setup630 desk accessory, you must have the emulator loaded into RAM (see loading the Emulator in Chapter 1). As with any desk accessory, the Setup630 desk accessory must be on your boot disk in order to load when you switch on your system. Select Setup630 to display its dialog box: I FORM FEED I I SELF TEST I I RESET I STATUS: PRINTER READY PAPER FEED: IIJm I MANUAL I PRINT PAGES: I1!JI (]Q[] [illKJ AUTO llillJI []ffJ UPPER CASE ONLY: ~ 11[111 !NIT 8 COL TABS ~ [JU[] ABOUT SETUP630 L DDifEl When you select About Setup630, a dialog box appears: SLM804 Printer Enulator by Dave Staugas Setup6l0 by Dave Staugas and Craig Suko CDK I Select OK to exit. 16 The paper feed option lets you switch between tray and manual feed . When the option is set to Tray, paper feeds automatically from the SLM804's paper tray. Select Manual to feed paper manually into the printer one sheet at a time through the manual-feed opening. The side of the paper to be printed on should face up as you insert the paper. and the top of the page is the edge inserted into the printer first. Select Done to exit. Then print your document from your word processor. 17 Note: When using the Manual option. you do not have to force a paper out condition. as described in your SLM804 owner's manual. However. laser printing software other than the SLM804 Printer Emulator may require you to force the paper out condition. PRINTER SETTINGS Select the Printer Settings option to display the printer settings dialog box (the same dialog box that appears when you initially run the Setup630 program): The other options in the dialog box include printer settings, output features. and error report display. all of which are explained later in this chapter. lt:ma:mw I SERIAL I PITCH: MQauM rn::J [llJ [ill PRINT PA6ES: lll:m []![] I EUEN I AUTO lllllll OOJ Options AUTO LINE FEED: []U DOUBLE LINE FEED: []U UPPERCASE ONLY: []U ID ID ID INIT 8 COL TABS: lml [M] STRIP BIT 7: [ill] liD DATA SOURCE: The Options menu contains features that let you reconfigure the emulator and install and restyle fonts. LJIK I LtiiNCELI The options in the dialog box let you set certain important printing parameters. After selecting your parameters. select OK to exit. Data Source Select Internal to send data from your computer to the printer. Select Serial to receive data from a remote computer for output to the laser printer via your computer's serial port. The Serial option must use the Xon/Xoff protocol, which you can activate with the Set RS232 Configuration desk accessory. 18 19 Pitch The Pitch option lists four character pitch choices. Usually you'll want to select Prop (Proportional), so that the character pitch of your printed work will match the character pitch of your font. no matter which font you use. The fixed-pitch options. 10, 12, and 15, when selected, force a font into a character pitch . Select one of these options when you want to maintain a consistent character pitch or force a fixed-pitch font into a different character pitch. Note: If bold characters appear in your document. you may want to select 10 when using the Type 10 font or 12 when using the Razor 10 font to maintain a fixed pitch . Bold characters are slightly thicker than plain characters in the same font. which may result in misalignment of columns qr tab spaces in your printed document unless you force the pitch. Print Pages The Atari SLMB04 laser printer can print both single-sided and double-sided documents. When using tray feed. the side of the paper to be printed faces down in the tray. and the top of the page is at the front of the tray. When using manual feed, the side to be printed faces up as you insert the paper. and the top of the page is the edge inserted into the printer first. Warning: You must select Odd before returning the paper to the paper tray. If you remove the paper tray. be sure to reinsert it correctly and firmly into place. Printing speed decreases slightly when printing with the Odd and Even options. Note: You can conveniently access the Print Pages option from the Setup630 desk accessory while your word processor is open on screen. Auto With On selected. Auto automatically wraps extra characters to the next line when your word processor sends more characters per line than the current right margin allows. (On is the default.) With Off selected, characters exceeding the current right margin are not printed. Auto Line Feed With On selected, Auto Line Feed feeds a line on receipt of a carriage return. Normally you'll want to select Off. because most word processors send both a carriage return and a line feed at the end of a printed line. (Off is the default.) Double Line Feed Select All if you want single-sided printing of all pages of your document. (All is the default.) Use the Odd/Even options to print on both sides of each page, printing the even-numbered pages first. then the odd-numbered pages. First select Even. then print the document. Once the even-numbered pages have been printed. select Odd (depending on the document. the emulator may now print the last even-numbered page). Take the stack of paper just printed, turn it face up, and reload it into the paper tray. Finally, print the document again. 20 With On selected, Double Line Feed feeds two lines on receipt of a line feed. Normally you'll want to select Off because most word processors let you format for double line feeds within the program itself. (Off is the default.) 21 Uppercase Only With On selected, Uppercase Only prints all letters in your document as uppercase characters, regardless of how they appear on screen. With Off selected, characters are printed the way they appear on screen. (Off is the default.) lnit 8 Col Tabs Note: The emulator is compatible with all GEM-form'at fonts up to .4 inches in height (128 pixels). For instance, the fonts supplied on the SLM804 font disks may be used with the emulator . However, use of proportional fonts may require special software or modification of printer drivers associated with various software packages. Select the Install Fonts option to display its dialog box: With Yes selected, lnit 8 Col Tabs (Initialize Eight Column Tabs) sets a tab stop at every eighth character space. Normally you'll want No selected. (No is the default.) Most word processors use spaces instead of the ASCII horizontal tab code (HT) to set tabs in a document. sending the tab settings (in spaces) to the printer during printing. Use the lnit 8 Col Tabs option to print program listings or other material that includes embedded ASCII HT characters to implement tab stops. Available Installed ~ LISTB6LS.FNT f-RAZRlBLS.FNT TYPElBLS.FNT TYPElBLS.FNT fo() Strip Bit 7 The Strip Bit 7 option determines whether the transmitted characters' eighth bits are stripped (set to zero). If your system works correctly with eight-bit characters, select No. (No is the default.) INSTALL FONTS The SLM804 Printer Emulator is initially configured to use the Type10 font (TYPE10LS.FNT) unadorned. With the Install Fonts option, you can change the default font, add other fonts, or restyle the current font. !INSTALL I [}EHP ORDER I I REHifVf] I DONE I IRESTORE I The Available box lists the fonts available on disk (all files in the current directory with the .FNT extension) . The Installed box lists the fonts the emulator will use to print your document. The Installed box has eight lines. or slots, referred to as slots 1 through 8 starting from the top. Font Slot 1 Font slot 1 lists the main font, which the emulator uses when no other style is specifically called for. Usually the main font is installed as a plain text font because it will be used to print the 22 23 bulk of your document. If you were to restyle the main font as bold. the emulator would use bold type for printing your document except in those places where another style was specifically requested. Note: The font in slot 1 can be replaced or restyled but it cannot be removed. Font Slot 2 Normally you should install a bold font in font slot 2 because the slot is tied to the Diablo 630 escape code for bold print. When bold characters are requested in your document. this font will print. regardless of how it is styled. For example, the 1st Word printer driver (1ST_PRNT.DOT) supplied on the program disk prints the font installed here when you use bold characters in a 1st Word document. 1sr_PRNT.DOT, the 1st Word printer driver. has been modified to use the font installed in slot 4 whenever subscript or superscript characters are requested in the document. Because of this. you may want to install LIST06LS.FNT (the "footnote" font file) in slot 4. Install/Remove To install a font. select its filename in the Available box. Next. select the slot in the Installed box where you want that font to reside. Finally, select Install. Available LIST06LS.FNT :t:t4:111!J111:U TVPE10LS.FNT Installed Q ~ TVPE1DLS.FNT Font Slot 3 Normally you should install an italic font in font slot 3. The slot is tied .to the Diablo 630 escape code for shadow print. To use this font. you must modify your word processor's printer driver to send ESC w when printing italic characters. (For more information. see Appendix A.) The 1st Word printer driver ( 1ST_PRNT.DOT) supplied on disk has already been modified. Font Slots 4 through 8 Font slots 4 through 8 are empty and are tied to non-Diablo escape codes added to the emulator for increased flexibility and printing power. To use fonts installed in these slots you must modify your word processor's printer driver to send the appropriate escape codes. (For more information. see f--- • I TEtiP ORDER I 0 I REHifVf] I DONE I IRESTORE I To remove an installed font. select its filename in the Installed box. then select Remove. Temp Order Appendix A.) The Temp Order option lets you reorder the installed fonts in memory without writing a new emulator to disk. To do that. install any fonts in memory in the new order you want. Then select Temp Order. The new font arrangement is stored in memory and is effective immediately. Font arrangements 24 25 executed with Temp Order are erased from memory when you reset or switch off your system. Done Select Done after making all changes to the Installed box. Restore Select Restore to return the Installed box to its initial configuration at the time you ran the Setup630 program. EXAMINE FONT The Examine Font option lets you display a font sample. To use the Examine Font option, the emulator must be loaded into RAM . To examine a font, first select the Install Fonts option, then select a font in either the Available or Installed box. Next, select the Examine Font option. A dialog box displaying the font appears: TVPE18LS .FNT 162 Chars Size: 38k 66 lines/page AaBbCc DdEeFf GgHhii The dialog box shows the font's styling, how many printed lines o·f that font fill a page, and the size of the font in bytes. This information will help you properly format your document in your word processor. When you select Examine Font, the program checks the laser printer's paper tray to obtain the current paper size. Then it uses that information to calculate the current maximum lines per page. A page can be either letter or legal size (USA) or A4 or 85 (international). For example, the Examine Font dialog box will report that the maximum number of lines per letter-size page for the Type 10 font is 66 ( 11 inches high x 6 lines per inch= 66). Letter-size paper is 11 inches in height. But the laser printer sees it as 10.6 inches, owing to the laser printing border on the top and bottom edges of the paper (see Margins in Chapter 1). In order to fit the standard 66 lines per page into 10.6 inches. the emulator will print 6.25 lines per inch . (If you have trouble getting your requested number of lines per page during printing, try changing either the lines per page or the page height in your word processor.) ERROR REPORT The Error Report option monitors the printer's current status, duplicating the four error indicators (Wait, Add Paper, Replace Toner, and Check Paper Path) on the SLM804 laser printer's front panel. \ Looks MAHUELDUS! \ 26 27 Select Error Report to see its dialog box: STATUS: The Output option lets you perform a form feed, reset the printer. or do a printer self-test. When you select Output from the menu. a dialog box appears: PRINTER READY ~ § I ADD PAPER I ICHECK ~.. PAPER PATH I I FORM I I WAIT FEED I [2] [l!Ilf[jjCE -IOfffiO I RESET I SELF TEST I I DONE PRINTER I I I IlK ] A highlighted icon indicates that error condition is present. Select OK to exit. If the paper tray runs out of paper during printing, the Add Paper indicator on the printer's front panel lights up, the SLMC804 controller's busy light flashes. and the Error Report's Add Paper icon is highlighted. To resume printing, add paper to the tray . (Be sure to reinsert the paper tray completely and firmly into the printer.) If the paper jams during printing, the Check Paper Path indicator on the printer's front panel lights up, the SLMCS04 controller's busy light flashes. and the Error Report's Check Paper Path icon is highlighted. To resume printing , clear the paper path by following the instructions in your SLM804 owner's manual. After you've cleared the jam. the emulator continues printing starting with the page that was in process at the time of the jam. 28 OUTPUT Selecting Form Feed prints a page with whatever remains in the print buffer . Selecting Reset Printer clears the printer's buffer and returns the printer to its default condition. Selecting Self Test prints a test page . Select Done to exit. Note: The emulator must be loaded into memory in order to use the Output option . SAVE EMULATOR Whenever you customize the emulator by making changes to it with the Setup630 program. you must write the new emulator to disk in order to save it. The Save Emulator option lets you do that. Select the Save Emulator option. A dialog box appears: Save DIA8630.PRG to ,,, I I &1;\IMW Save front panel changes also? 29 In YES I OK ] I •:u• I CANCEL I Select Current to save the SLM804 Printer Emulator program file (DIAB630.PRG) to the current directory or path (the directory you loaded the Setup630 program from). Select Auto to write an AUTO folder containing the emulator to the main boot directory (floppy drive A or hard disk drive C) . Select Yes if you made changes to the printer settings that you want to save with the new emulator ; if not, select No. Finally, select OK to save the emulator. Installed TVPE19LS.FNT ••~~UI!Ii:tu:u Note: In order to use the customized emulator, you must reboot your system . [iiitWijfJ !INSTALL! QUIT !TEMP Select Quit to exit the Setup630 program and return to the desktop . Style The Style menu lets you change the styling of an installed font. To change a style, first select the Install Fonts option in the Options menu. Next. select the font you want to restyle . Move the mouse pointer to the Style menu and select the style you want (bold, light, italic, outline . or a combination of styles) . Drop down the Style menu again and select Install Style. The font name now appears in that style in the Installed box. ORDER I I DONE I IRESTORE I Because the emulator constructs a separate version of the font for each style installed, you may run into memory constraints (especially if using a 520STThl computer) when you have many font styles installed. If that happens, you won't be able to both load the emulator and its font styles and run your word processor. To correct the problem. remove some of the installed fonts. LOADING THE CUSTOMIZED EMULATOR You must reboot your system in order to load the customized version of the emulator you saved with the Save Emu.lator option. The version of the emulator loaded during booting remains in memory until you reset or switch off the system. 30 31 APPENDIX. A CONTROL CODES, ESCAPESEQUENCES,AND ESCAPE SEQUENCE SYNONYMS This appendix lists the standard ASCII printer control codes, the Diablo escape sequences, and the non-Diablo SLM804 extensions of the standard Diablo escape sequence set supported by the SLM804 Printer Emulator.· Note: Non-essential Diablo escape sequences are not supported. Synonyms are also listed with some of the escape sequences. Escape sequence synonyms let you embed directly in a document those escape sequences in which a control character follows the escape character. In the 1st Word driver 1ST_PRNT.DOT , the escape character is mapped to the up arrow ( {ia ). For example, you would embed the synonym "Esc a" as "{iaa" in your document. The following notational conventions are used in the listing of escape sequences: The variable b requires a binary va lue . The var iable c requires an ASCII character . The variable d requires an ASCII representation of a decimal digit. The variable h requires an ASCII representation of a hexadecimal digit. The notation (x) following an escape sequence's name indicates that the escape sequence is an extension of the standard Diablo 630 set. 32 33 STANDARD ASCII PRINTER CONTROL CODES SPACE ASCII: Decimal: Hex: SP 32 20 Spaces forward one character width. BACKSPACE ASCII: Decimal: Hex: S 8 08 Backspaces one character width. CARRIAGE RETURN ASCII: Decimal: Hex: CR 13 OD Returns the print position to the left margin. HORIZONTAL TAB ASCII: Decimal: Hex: HT 9 09 Advances the print position to the next preset horizontal tab stop. VE RTICAL TAB ASCII : Decimal: Hex: VT 11 OB Advances the print position to the next preset vertical tab stop. LINE FEED ASCII: Decimal: Hex: LF 10 OA Feeds the paper one line. FORM FEED ASCII : Decimal: Hex: FF 12 OC Advances the paper to the next top margin. SUPPORTED DIABLO 630 ESCAPE SEQUENCES AND SLM804 EXTENSIONS Margins and Paper Formatting SET TOP MARGIN ASCII: Decimal: Hex: ESC T 27, 84 18, 54 Sets the top margin at the current print position. 34 35 SET BOTTOM MARGIN SET HORIZONTAL TAB ASCII: Decimal: Hex: ASCII: Decimal: Hex: ESC L 27, 76 18, 4C Sets the bottom margin at the current print position. ESC 1 27, 49 18, 31 Sets a horizontal tab stop at the current print position ( 16 tab stops maximum). CLEAR TOP AND BOTTOM MARGINS CLEAR HORIZONTAL TAB ASCII: Decimal: Hex: ESC C 27, 67 18, 43 ASCII: Decimal: Hex: ESC 8 27, 56 18, 38 Clears top and bottom margins. Clears a horizontal tab stop at the current print position. SET LEFT MARGIN SET VERTICAL TAB ASCII: Decimal: Hex: ESC 9 27, 57 18, 39 ASCII: Decimal: Hex: ESC27, 45 18, 2D Sets the left margin at the current print position. Sets a vertical tab stop at the current paper position ( 16 tab stops maximum). SET RIGHT MARGIN ASCII: Decimal: Hex: ESC 0 27, 48 18, 30 Sets the right margin at the current print position. CLEAR ALL TABS ASCII: Decimal: Hex: ESC 2 27, 50 18, 32 Clears all horizontal and vertical tab stops. 36 37 SET LINES PER PAGE AUTO CARRIAGE RETURN ASCII: Decimal: Hex: Synonym: ASCII: Decimal: Hex: ESC FF b 27, 12 b 18, oc b ESCeb ESC? 27, 63 18, 3F Enables auto carriage return mode. Sets the lines per page to b, where b is a value from 1 to 126. The command is ignored if current page is unable to accommodate b in the current font. Carriage Movement CANCEL AUTO CARRIAGE RETURN ASCII: Decimal: Hex: ESC ! 27, 33 18, 21 SET HORIZONTAL MOTION INDEX Cancels auto carriage return mode. ASCII: Decimal: Hex: Synonym: ESC US b 27, 31 b 18, 1F b ESChb Sets the horizontal motion index (HMI) to b -1 , where b is a value from 1 to 126 and represents units of 1/120 inch. BACKWARD PRINTING ASCII: Decimal: Hex: ESC 6 27, 54 18, 36 Starts backward printing. Cleared with a carriage return. CLEAR HORIZONTAL MOTION INDEX ASCII: Decimal: Hex: ESC S 27, 83 18, 53 Returns HMI control to the spacing switch. FORWARD PRINTING ASCII: Decimal: Hex: ESC 5 27, 53 18, 35 Starts forward printing. ABSOLUTE HORIZONTAL TAB ASCII: Decimal: Hex: Synonym: ESC HT b 27, 9 b 18, 09 b ESCbb Initiates an absolute horizontal tab at print position b. 38 39 Paper Platen Movement REVERSE LINE FEED SET VERTICAL MOTION INDEX ASCII: ESCLF Decimal: 27, 10 Hex: 1B,OA Synonym: ESCc ESC RS b ASCII: Decimal: 27, 30 b 18, 1E b Hex: Synonym: ESCjb Reverses the paper one full line. Sets the vertical motion index (VMI) to b -1, where b is a value from 1 to 126 and represents units of 1/48 inch. Word-Processing Commands SET OFFSET ABSOLUTE VERTICAL TAB ASCII: Decimal: Hex: Synonym: ESC VT b 27, 11 b 18, 08 b ESC db ASCII: Decimal: Hex: Synonym: ESC DC1 b 27, 17 b 18, 11 b ESCib Initiates an absolute vertical tab to line b. Adds b 11120-inch units to each normal character space. Cleared by a carriage return . HALF LINE FEED UNDERLINE ASCII: Decimal: Hex: ASCII: Decimal: Hex: ESC U 27, 85 18, 55 ESC E 27, 69 18, 45 Feeds the paper one half line. Enables auto underlining mode. REVERSE HALF LINE FEED CANCEL UNDERLINE ASCII: Decimal: Hex: ASCII: Decimal: Hex: ESC D 27, 68 18, 44 ESCR 27, 82 18, 52 Feeds the paper backward one half line. Disables auto underlining mode. 40 41 ENGAGE FONT 2 (Bold Print) ASCII: Decimal: Hex: ESCO 27, 79 18,4F RIGHT JUSTIFICATION ASCII: Decimal: Hex: ESCM 27, 77 18, 4D Engages font in slot 2. Cleared by a carriage return. Enables auto justify mode. ENGAGE FONT 3 (Shadow Print) CENTER TEXT ASCII: Decimal : Hex: ASCII: Decimal: Hex: ESC W 27, 87 18, 57 ESC= 27, 61 18, 3D Engages font in slot 3. Cleared by a carriage return. Enables auto center mode. Cleared by a carriage return. ENGAGE MAIN FONT (Disable Bold/Shadow Print) BACKSPACE 11120 INCH ASCII: Decimal: Hex: ASCII: ESCBS Decimal: 27, 8 Hex: 18, 08 Synonym: ESC a ESC& 27, 38 18, 26 Engages the main font (usually in slot 1), disabling all others. Backspaces 11120 inch. SET MAIN FONT TO FONT d (x) PRINT PAGES (All, Even, Odd) (x) ESC SOd ASCII: 27, 14 d Decimal: 18, OE d Hex: Synonym: ESC I d ASCII: Decimal: Hex: ESC# c 27, 35 c 18, 23 c Engages font d as the main font, where d is the number of the font slot from 1 through 8. Sets pagination mode to c, where c is A (all), E (even), or 0 (odd). 42 43 CANCEL ALL WORD-PROCESSING MODES ASCII: Decimal: Hex: ESCX 27, 88 18, 58 Cancels all word-processing modes except proportional spacing and returns to the main font (normally the font in slot 1). Graphics BOX DRAW (x) ASCII: ESC DC2 B ddddx, ddddy, ddddw, ddddh , ddddt SP Decimal: 27, 18, 66 ddddx, ddddy, ddddw, ddddh , ddddt 32 18, 12, 42 ddddx, ddddy, ddddw, ddddh, ddddt 20 Hex: Synonym: ESC g B ddddx, ddddy, ddddw, ddddh , ddddt Creates a box based on the parameters given, where x is the top left corner horizontally, y is the top left corner vertically, w is the box width, his the box height, and tis the line thickness. Parameters W, h, and tare measured in laser pixels ( 11300 inch). II the line thickness exceeds one half of either the width or height, the box - ENTER GRAPHICS MODE ASCII : Decimal: Hex: ESC 3 27, 51 18, 33 will be filled. If portions of the box exceed the right or bottom edge of the page, the box will be clipped (it will not wrap). Box Draw is independent of Diablo margins, spacings, current print positions, and so on. Enters graphics mode . Cleared by a carriage return. PRINT AN IMAGE FROM A FORM (x) EXIT GRAPHICS MODE ASCII: Decimal: Hex: ESC 4 27, 52 18 , 34 ASCII: Decimal: Hex: Synonym: ESC DC2 G $hhhhhhhh SP 27' 18, 71 $hhhhhhhh 32 18, 12, 47 $hhhhhhhh 20 ESC g G $hhhhhhhh Exits graphics mode. Points to a structure in memory defined in the following table. The $ is optional. The eight hex digits are normally used to represent a 32-bit memory pointer. PRINT GRAPHIC CHARACTER (x) Name Size Explanation ASCII: Decimal: Hex: s_form s_xmin s_ymin s_nxln b_width b_height d_xmin d_ymin scale factor long word word word word word word word word even base address of form source x in pixels source y in scan lines source form width in bytes source width in pixels source height in scan lines destination x in pixels destination y in scan lines scale image ESC " ddd SP 27, 34 ddd 32 1B, 22 ddd 20 Prints the character found at ddd, where ddd is an ASCII representation of decimal digits. 44 45 Miscellaneous INDEX REMOTE RESET A ASCII: Decimal: Hex: Synonym: ESCCRP 27, 13, 80 18, 00, 50 ESCkP Initiates a remote reset. About Setup630 option, 16 [Alternate] (Help], 13 ATTP10LS.FNT, 7 Auto option, 21 AUTO folder, 6, 10, 30 Auto Line Feed option, 21 Auto option, 30 auto-booting, 6, 7, 10 Avail able box, 23, 25, 26 8 bold style, 12, 20, 24, 30 boot disk, 6, 7, 10, 17, 30 booting, 6, 7, 16, 30-31 c character set, 7 configuring an application, 11 copying the program disk, 5 Current option, 30 customizing the emulator, 6, 7, 10, 15-31 0 Data Source option, 19 Desk menu, 16 DIAB630.PRG, 6, 7, 10, 30 Diablo 630 printer, 5, 11, 15 Double Line Feed option, 21 drive A, 30 drive C, 5, 30 46 Error Report option, 27-28 Examine Font option, 26-27 examining fonts, 26-27 F 1st Worp, 8, 11, 24, 25 1ST_PRNT.DOT, 8, 11, 24, 25 1ST_WORD.PRG, 8 fixed pitch, 20 floppy disk drive, 5, 30 .FNT files, 7, 23 font files, 6, 11 font slots, 23-25 slot 1, 23-24 slot 2, 24 slot 3, 24 slots 4 through 8, 24-25 font style, 12, 30, 31 fonts, 6, 11, 22-26, 30-31 examining, 26-27 installing, 6, 12, 15, 18, 25, 30-31 main font, 7, 10, 12, 23-24 pitch, 12, 20 proportional, 20, 23 removing, 25 reordering, 25-26 styling, 6, 12, 15, 18, 22, 24, 30-31 footnotes, 8 Form Feed option, 29 formatting text, 11-12, 27 G GEM Desktop, 5, 6, 10, 13, 30 E H error condition, 7, 27-28 error indicators, 27-28 error report display, 17, 18 hard disk drive, 5, 30 .HEX files, 8 47