home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- FontLoader(C)
-
- Intelligent Systems Inc.
- 701 E. Campbell
- Gilbert, Az 85234
- Voice
- (602) 892-3102
- Data
- Computer Warehouse BBS
- (602) 468-1439
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Fontloader(C)
- Preface
-
- I wasn't too happy with the fontloaders that HP and others had written
- for the HP Laserjet printer, so I took it upon myself to learn to
- program in Turbo Pascal 5.0, as a challenge, and FontLoader is the
- result of this effort. I have taken many pains to make the program bug
- free, and work properly. Regardless of the many hours I have put in,
- there will inevitably be some weird things happen. So, please be
- patient, and send me your suggestions and advice in making this program
- a better product. Please participate, and help this become the program
- that others have failed to create.
-
- I have used many routines picked up off of bulletin boards, so
- consequently I cannot take all the credit. I also will not take too much
- time to name them (mainly cause I am not sure of some of them), but one
- should be mentioned. The most significant contributor is also by far the
- heaviest contributor, TechnoJock Software, and their Toolbox: TTT5. In
- this kit is nearly every routine needed to make programming in Turbo
- Pascal 5.0 a snap. I highly recommend downloading it and registering it.
- You can get it from our bulletin board (Computer Warehouse BBS (602)
- 468-1439), or GEnie, CompuServe, or any other BBS which supports Turbo
- Pascal Programming.
-
- Page 1
-
- FontLoader(C)
- Index
-
-
-
- Chapter 1. Purpose of FontLoader ................. Page 3
-
- Chapter 2. Requirements of FontLoader ............ Page 4
-
- Chapter 3. Using the Utility Package ............. Page 6
-
-
-
- Page 2
-
- FontLoader(C)
- Chapter 1: The Purpose of Fontloader(C)
-
- If you are like me, you probably think there is no easy way to
- download softfonts to a HP Laser Jet or compatible printer. Well in
- comes FontLoader(C). I was under the impression that HP or some printer
- manufacturer who makes compatibles would make it possible to quickly
- download some fonts, but I was WRONG! The problem is that all of the
- programs I have seen are limited to one font, or don't allow you to save
- font lists, and the like. I have spent the last few months seeking ways
- to accomplish this, and I decided that writing my own would be the
- answer. I am also in the process of refining it, and hope to add more
- features including a memory resident option, among others. This is where
- the user can be helpful. I am like most authors of Shareware, trying to
- write useful programs, and hoping for a little in return. Therefore, if
- you wish to have assistance, and the latest version of FontLoader(C),
- you will be asked to register your version. This is painless. A
- contribution of $10 would go a long way to encourage refinements of the
- type I speak of. Please consider (after evaluating the product)
- registering your copy of it. FontLoader(C) allows functions I have not
- seen in any other product including commercially written programs such
- as HP's own SoftFont Loader package. However nice these packages are,
- they don't allow you to see what is going on. FontLoader(C) does this by
- allowing you to see which fonts (by filename) are currently being
- downloaded. You can save the Font list, assign a name, and come back
- later, retrieve, then download 10 fonts (ID 0 to 9) in a snap. In this
- way you don't have to keep returning to the Select Fonts command to
- select the fonts you want to download time and time again. This is the
- power of FontLoader(C).
-
- Page 3
-
- FontLoader(C)
- Chapter 2: Requirements of Fontloader
-
- Obviously there are a few simple but important requirements to
- make FontLoader(C) work for you:
-
- 1. You need Soft Fonts!
- a. HP Soft Fonts are fully?* supported.
- b. BitStream Fonts are also supported.
- c. SWFTE fonts supported.
- d. Other fonts may work, but have not been tested
- with this program. However they should work, the
- only thing not possible is to address ALL the
- names of fonts available. This is too
- comprehensive for the scope of this project.
-
- 2. An IBM or Compatible (obviously).
- This program was developed on an 8 mhz IBM AT and
- Clone XT (i.e. 286 speedup). Also tested on a 100%
- compatible IBM PC XT.
-
- 3. A hard drive is necessary.
- I have NOT tried to use a floppy disk. I think it
- would be a mistake to attempt to make the program
- work on a floppy, as swapping disks would be a no-no.
- However, some files need to be itemized.
-
- a. A list of the files on the disk. Depending on the
- number of fonts available, this could vary in size.
- the maximum number of fonts supported in one
- subdirectory is 200.
-
- b. If you intend to save configuration files for
- quick retrieval of lists, you will need enough space
- to save these on the disk also. This file list
- contains the filename of the fonts (up to 10 fonts).
- The file name you supply with an extension of .SFN
- is added automatically. Note: You can create this
- file outside of FontLoader(C) with a text editor if
- you wish, but is easier to make inside as you will
- quickly find out.
-
- 4. 256k of free memory.
-
- 5. A HP Laser Jet or compatible printer with enough
- memory to handle a maximum of 10 downloaded fonts.
- You could obviously get by with less memory, but you
- may not be able to download all 10 fonts. This
- probably means that if you have the base Laser Jet
- with minimum memory, (not the Plus), then you will
-
- * (If there are some releases since our issue of this
- set of softfonts from HP, this may not be accurate.)
-
- Page 4
-
- FontLoader(C)
- Chapter 2: Requirements of Fontloader (cont.)
-
- not be able to use all 10 fonts, especially fonts of
- a large point size. It should still work in those
- cases though, just limit the number of downloaded
- fonts to 5 of so.
-
- Page 6
-
- Chapter 3 Utilities
-
- PURPOSE
-
- To facilitate the setup and manipulation of the Hewlett-Packard
- LaserJet printer.
-
- REQUIREMENTS
-
- The HP LaserJet, optional font cartridges, Fontldr(C).
-
- To access fonts other than those built into the ROM of the
- LaserJet (that is, Courier 10 portrait (vertical) and Courier 10
- landscape) you must have one of the following optional Font
- Cartridges:
-
- 92286A - Roman-8
- Bold and Italic for Courier 10
- Line Printer (16.6 cpi) landscape
-
- 92286B - TMS Proportional USACII:
- Times Roman 10 point normal, bold, italic
- Times Roman 8 point (no bold or italic)
- Helvetica 14.4 point (bold only);
- Line Printer (landscape) 16.6 cpi
-
- 92286D - Prestige Elite
- This cartridge overrides Courier 10 as the default for the
- LaserJet. Resetting the printer invokes Prestige Elite 10
- point, 12 cpi with the Roman-8 character set.
- USACII is available from the Font menu.
- Bold and Italic.
-
- 92286E - Letter Gothic
- Bold and Italic 12 point, 12 cpi
-
-
- USAGE
- All commands can be accessed by typing the letter of the
- command. Alternately, you can move the highlight to the desired
- command and press <enter>.
-
- The highlight is moved using the following keys:
- spacebar, right-arrow - highlight next command
- backspace, left-arrow - highlight previous command
- Home - goto first command
- End - goto last command
-
- LOADING:
-
- Simply by entering Fontldr at the Dos Prompt.
-
- OPTIONS:
-
- The Main Menu has the following commands:
-
- QUIT - returns to the operating system
-
- PRIMARY - invokes the Font Menu to set the primary font
-
- SECONDARY - invokes the Font Menu to set the secondary font
- possible fonts on Font Menu:
-
- Prop - 92286B
-
- Courier - Roman-8 10cpi
-
- Elite - USACII Prestige Elite 92286D 10 point 12 cpi
- [note: Roman-8 Prestige Elite overrides Courier as the default
- font. However, if you wish to access USASCII, you must select
- Elite on the menu.
-
- Gothic - 92286E
-
- Line - line printer - landscape mode
- [pitch dependant on active cartridge]
- If there is no cartridge installed, the default pitch
- is Courier 10 in landscape;
- You are prompted to select portrait on landscape
- orientation. The later requires that you have one
- of the p/l cartridges which allow Line Printer (16.66 cpi)
- in either landscape or portrait.
-
- Helv - Helvetica 14.4 point
-
- TinyPro - Times Roman 8 point
-
- Bold - bold of current font, if available
-
- Italic - Italic of current font, if available
-
- IN - Primary font active
- OUT - Secondary font active
-
- [note: the LaserJet allows two Fonts to be selected at a
- time. This enables you to switch (either from
- Fontldr or from your application) the active font.
-
- For example:
- if you have the proportional space font loaded.
- Set Primary to Prop. Set Secondary to Italic.
- If you are using WordStar (or some other patchable
- editor), you can now specify, through WordStar's
- intallation program, a printer format command that will
- switch to Italic by sending ^O at the beginning of the
- words to be italicized and ^N when you wish to return
- to primary (normal) printing.
- Or, in other editors, you can actually embed the ^O/^N
- pair manually into the text.
- Or, if you are printing a straight ascii file from
- within Fontldr, you can select Out before List and
- the entire file will be printed in the secondary font
- (italics in this example). You could also set Primary
- as Proportional and Secondary as Courier or Line
- Printer.]
-
- RESET - Resets to powerup defaults. If the loaded font cartridge
- does not override the ROM font, this will default to
- Courier 10 portrait. This clears all line settings and
- margin settings.
-
-
- FORMAT - invokes a submenu that allows you to specify
-
- Offset - the number of spaces to offset the left
- margin. This is useful if printing an ascii file from
- within Fontldr.
-
- Right Margin (that is the number of spaces to allow
- for each line, at the currently specified font - with
- TinyRmn you can have a larger line than Courier; or in
- Line Printer;
-
- Top Margin - the number of spaced to skip at the top of
- each page (in addition to the default .5 inch); uses the
- current lines per inch to determine distance.
-
- Clear - clear all margin settings to default. Top margin
- must be reset to 5; a full reset does this automatically.
-
- 66 - allows the LaserJet, which usually prints only
- 62 lines per page, to print 66 lines per page. This
- enables you to use many page printer, WordStar and other
- programs that expect to print 66 lines per page
-
- 51 - sets the page length appropriate to landscape
- printing.
-
- 86 - sets the page length appropriate to legal sized
- sheets.
-
- Lines - set the number of lines per inch. Allowable
- entries are: 1,2,3,4,6,8,16,24,58. A setting of four
- would print at one-and-a-half spacing.
-
- Size - Page Length :the total number of lines that will
- print. This is calculated by taking the number of lines
- per inch multiplying by ten (the printable surface of
- a regular sheet of paper) and subtracting any extra
- space allocated to the Top Margin.
-
- Pitch - this option allows you to change the number of
- characters per inch the LaserJet will print; This would
- allow you to customize your document (much in the way
- the .cw dot command does in WordStar);
-
- You can force the selected Font (Font must be selected FIRST) to
- print in a pitch other than its normal pitch. A 10 pitch font
- (Courier) can print at 12; or Elite (12 pitch) at 10.
-
- NOTE: when using proportional space fonts, only the SPACE
- character is affected by the Pitch commnad. The result is
- that the characters are no closer together (or further apart),
- but the words are.
-
- NOTE: Each time you select a Font, or switch from Primary to
- secondary font, the PITCH is reset to the selected font's default.
- So, select the font you wish to use FIRST.
- This part of Fontldr uses the Horizontal Cursor Spacing
- command. See page 4-37 in the manual.
-
- Number - the number of copies the LaserJet should print. This remains
- in effect until changed manually or a Reset is performed.
-
-
- ENVELOPE - sets the margins and orientation for manual
- feeding of a business-sized envelope. Prompts for
- addresses, allows editing, requires confirmation before
- printing begins.
-
- | NOTE: Version 3.0 has five lines each for return address and addresee
- | NOTE: Version 3.0 will allow you to save and load labels.
- NOTE: a complete reset is performed upon exitting the
- Envelope option.
-
-
- LIST - prints an ASCII file to the LaserJet in either portrait (55 lines
- per page) or landscape (47 lines per page), with page number and
- optional header (consisting of filename). At this time, Fontldr
- will NOT print WordStar files.
-
- Note: The Landscape option of the List commad sets the right hand
- margin (line length) to 160. This enables you to take advantage of
- the Line Printer Font (16.6 cpi) on cartrige 92286B. If, however,
- you are only using the in ROM landscape Font (Courier 10 cpi), be
- aware that any characters beyond 80 (minus left margin) will not be
- printed.
-
- The left margin is left at 0 for both portrait and landscape under
- the List command. You can set it manually using the Offset command.
-
- There is now an option to print at either 6 lines per inche or
- 8 lines per inch. In portrait mode, 6 lines per inch will print
- 58 textlines; 8 lines per inch will print 78 textlines. In
- landscape mode, 6 lpi will print 46 textlines; 8 lpi will print 58.
-
- NOTA BENE:
- A complete RESET will be performed if List was activated in
- Landscape mode; Otherwise Font selections will remain as selected
- before entering List and lines per page will remain as selected
- for printing.
-
-
- TYPE - a typewriter emulator that allows you to type and edit a page of text
- (a full 66 lines) before sending it to the printer.
- The bottom line of the display shows the Function Key commands
- active within the TypeWriter.
-
- 1-Undo last change in current line
- 2-Help Screen
- 3-Set Tabs
- 4-Enable Envelope Feed
- 5-Set LaserJet Margins
- 6-Print (line spacing 1,2,or 3)
- | 7-Save memo to disk
- | 8-Load memo from disk
- 9-Reset printer
- 10-Return to Main Menu
-
- |NOTE: Version 3.0 allows the loading and saving of memos. If you try
- to load an ascii file larger than 66 lines LaserJet will read
- the first 66 lines and then stop. Avoid this.
-
- NOTE: Nothing will be sent to the LaserJet until you select Print (F6);
- If you have not exited or erased the page with ESC, you can
- print the page any number of times.
-
-
- OTHER ACTIVE KEYS
- ESC - erases the current page and starts over
- PgUp - up a screen
- PgDn - down a screen
- Home - moves to beginning of current line
- End - moves to end of current line
- Ctrl-Home - top line of current screen
- Ctrl-End - bottom line of current screen
- Ctrl-PgUp - goes to first line of page
- Ctrl-PgDn - goes to last line of page
- Ctrl-RightArrow - moves forward to next word
- Ctrl-LeftArrow - moves back to previous word
- Alt-F7 - erase from cursor to the end of current line
- Tab - moves forward to next tab stop (see F3)
- Shift-Tab - move backward to previous tab stop
- |Alt-D - deletes current line
- |Alt-N - inserts a new line at the cursor
- |Alt-E - erases the current line, positions cursor at column one
-
- FORMATTING:
- Alt-I - begins and ends Italics
- Alt-B - begins and ends Bold
- Alt-U - begins and ends Underline
- These codes must be entered a second time in order to
- turned off formatting. (e.g. <alt-u>anyword<alt-u>)
-
- Alt-S - makes Secondary font active for the words that follow until
- Alt-P is encountered.
- Alt-P - makes Primary font active again after an Alt-S
- (e.g. <alt-s>This would be secondary font <alt-p>and this in primary).
-
- Alt-L - activates Landscape Orientation
- Alt-M - activates Manual Feed
-
- Landscape (Alt-L or F4) orientation will be reset to portrait
- upon exiting the TypeWriter.
-
- NOTE: With a little fiddling, you can use the TypeWriter to print labels.
- Test the spacing using autofeed, compare to your labels, adjust, then
- print (number of copies also adjustable);
-
- Also, if you need to print many copies of the same Envelope (or just the
- return address) the TypeWriter might be easier than the line by line
- editor under Envelope.
-