home *** CD-ROM | disk | FTP | other *** search
- Two Printer Drivers for the HP DeskJet 500 for SBase Pro 4
-
- By: Dominick J. Fontana
-
- October 25, 1993
-
-
- A) Contents
-
- This archive contains the following three files:
-
- 1) SB_DeskJet500_Draft.ini - A printer driver for the HP DeskJet
- 500 printer that will print in Draft mode.
- 2) SB_DeskJet500_LQ.ini - A printer driver for the HP DeskJet 500
- printer that will print in Letter Quality mode.
- 3) SB_DJ500.Doc - This file that you are reading, which contains
- the instructions for installing and using files #1 and #2 above.
-
- B) What is it?
-
- The two files with the ".ini" extensions are printer drivers for
- the Hewlett Packard DeskJet 500 printer for use with the SBase Pro 4
- database program. They take full advantage of the DeskJet 500's features as
- much as possible within the SBase Pro 4 (hereinafter SBase) environment.
- They are meant to be used with the DeskJet 500's Mode Function Switches in
- their default positions (all down).
-
- C) How to install and use the files
-
- First copy both the "SB_DeskJet500_Draft.ini" and the
- "SB_DeskJet500_LQ.ini" files to your S: directory. You may already have
- at least one ".ini" file there if you have previously been using SBase. (The
- one exception is if you have been using the PREFS driver, in which
- case no ".ini" file is necessary). The point is to install the two above
- files where they can be accessed by the SBase Printer Setup requester, and
- that requester looks for the files in the S: directory by default.
-
- From within SBase, open the Printer Setup requester from the Set
- Menu. The names of the printer drivers should appear as "DeskJet500_Draft"
- and "DeskJet500_LQ." Either double click on one of the file names or click
- on the name once and then click on OK. This will open the Page Setup
- requester. The two files are identical except the file ending with "Draft"
- will print in Draft mode and the file ending in "LQ" will print in Letter
- Quality mode.
-
- D) How to use the Page Setup Requester
-
- Everything has already been configured for optimum use of the
- DeskJet 500 with SBase. Simply click on the Up Arrow to cycle through the
- various fonts available. Make sure the text box is displaying the font you
- wish to use, then click OK. The next time you print with SBase, the DeskJet
- 500 will print with the font you have selected.
-
- E) Why these printer drivers were created
-
- SBase only came with three printer drivers. Two for Epson printers
- and one for the HP LaserJetIII. Although the SBase manual states that these
- drivers are compatible with most printers, they do not take full advantage
- of the various features and fonts of most printers. There is also the option
- of selecting PREFS from the Page Setup requester, in which case SBase will
- use the printer driver that you have selected with PREFS from the Amiga's
- WorkBench. I tried all three SBase drivers, as well as PREFS, and was not
- satisfied with the results. As such, I created my own specific drivers for
- use with the HP DeskJet 500 printer. The original HP DeskJet and the HP
- DeskJet Plus are similar to, but not identical to, the 500, so these
- drivers might be useful with those printers as well, but they haven't been
- tested with them.
-
- F) Notes about the Printer Drivers and the Page Setup Requester
-
- a) Width - The width was set at 8.50 inches, the standard width for
- U.S. letter and legal size paper.
-
- b) Height - The height was set at 9.88 inches for a reason and will
- work properly if you have Perforation Skip enabled on your printer.
- (NOTE: If you have Perforation Skip disabled on your printer, you can either
- enable it or set the Height parameter in the SBase Page Setup requester to
- the next lowest setting below 10.50 inches, for use with letter size paper).
-
- Standard U.S. letter size is 11 inches high. However, the DeskJet
- 500 can never print at the bottom 1/2 inch of the page, since it must hold
- the paper there in order to print correctly. This reduces the page size to
- 10-1/2 inches. Furthermore, if you have Perforation Skip enabled on the
- DeskJet 500, then the printer also will not print at the top 1/2 inch of
- the page. This reduces the page size to 10 inches. This is important since
- the DeskJet 500 also seems to have a problem with Form Feeds, as discussed
- below. Since Form Feed has not been selected in the Page Setup requester,
- SBase uses Line Feeds to advance the paper to the top of the next page.
- Through experimentation I found that a setting of 10.0 inches for the
- Height did not work correctly. Each successive page would print with the
- top margin one line lower than the previous page. SBase will not let you
- set any Height that you want. Instead, it will round off some of the
- numbers that you enter. Since a 10 inch Height did not work properly, I
- inserted 9.9 inches and SBase rounded that off to 9.88 inches for the
- Height and that's the number that should be used. The combination of 9.88
- inches for the Height with Form Feed turned off should work perfectly,
- giving you a uniform 1/2 inch margin at the top and bottom of every page.
-
- For use with U.S. legal size paper the height parameter should be
- set to the next lowest setting below 13 inches. The rule is to take the
- height of the paper and subtract 1 inch. (Only subtract 1/2 inch if
- Perforation Skip is disabled on your printer). Then set the Height for
- the next lowest setting below that and set Form Feed Off in the page Setup
- requester. These settings are for use with Text Scale Mode off on the
- DeskJet 500.
-
- c) Initialize - This sets the printer to its default state and also
- selects either Draft Mode or Letter Quality Mode. That's the only
- difference between the two supplied printer drivers. The Draft driver
- prints in Draft Mode and the LQ driver prints in Letter Quality Mode.
- Simply select the appropriate driver from the Printer Setup requester for
- printing with the desired mode.
-
- d) Font Select Box and Arrow - This will be discussed in detail in
- the next section.
-
- e) Left and Right Margins - These have both been set to 0, since
- the DeskJet 500 automatically gives you a 1/4 inch margin on the left and
- right in its default state. This means you can print 8 inches across on
- U.S. letter and legal size paper. It was felt the maximum width of the
- paper should be available for printing.
-
- f) Top and Bottom Margins - These have both been set to 0, since
- the DeskJet 500 automatically gives you a 1/2 inch margin on the top and
- bottom in its default state. This means you can print 10 inches down on
- U.S. letter size paper and 13 inches down on U.S. legal size paper. It
- was felt the maximum height of the paper should be available for printing.
-
- g) Form Feed - This has been turned off. The DeskJet 500 would send
- a blank page every other page, when this option was turned on. When it's
- off, SBase uses Line Feeds to advance to the top of the next page. That is
- why the Height parameter was set to 9.88 inches. That number gives you a
- uniform 1/2 inch margin at the top and bottom of every page.
-
- h) Single Sheet - This has been turned off since the DeskJet 500
- uses separate sheets, but prints continuously. There is no need to stop
- after printing each page.
-
- i) Inch/CM - Inch has been selected so that all numerical settings
- are in inches.
-
- G) Font Selection
-
- It is possible to select thirteen (13) different fonts with each
- printer driver. Again, the only difference between drivers is that one
- prints in Draft Mode and the other prints in Letter Quality Mode. Fonts
- have been labelled according to Typeface, Pitch, and Point Size.
-
- a) Typeface - The style of the font.
- b) Pitch - How many characters per inch (cpi) are printed across
- the page. The smaller the number, the wider the character. The larger the
- number, the less wide the character is.
- c) Point Size - How high each character is in 72nds of an inch. The
- higher the number, the higher the character. The smaller the number, the
- less high the character is.
-
- All fonts are in the Portrait Page Orientation and use the PC-8
- Character Set. They are all fixed space fonts, except for CG Times, which
- is proportional. All the font names in the Draft printer driver end with
- the word Draft. All the font names in the LQ printer driver end with
- the word LQ. Since Bold, Italics, and Underline can be selected from within
- SBase itself, these attributes can be used with any font, except Italics
- cannot be used with the Courier Typeface at the 16.67 Pitch, since the
- DeskJet 500 does not support Italics at that Pitch.
-
- The Standard DeskJet 500 printer has three internal Typefaces;
- Courier, CG Times, and Letter Gothic. Each Typeface can be used with
- different Pitches and Point Sizes. In the Portrait Page Orientation, there
- are fourteen (14) combinations of Typefaces, Pitches, and Point Sizes. It
- was determined that the Courier Typeface with a 5 Pitch and a 6 Point Size
- was unreadable, so that combination was omitted. As such, each printer
- driver contains thirteen (13) different fonts from which to choose, which
- represent, in effect, all the possible combinations that are available on a
- standard DeskJet 500 printer.
-
- The available fonts from which to choose are as follows:
-
- 1) Courier 5 Pitch, 12 Point
- 2) Courier 10 Pitch, 6 Point
- 3) Courier 10 Pitch, 12 Point
- 4) Courier 16.67 Pitch, 6 Point
- 5) Courier 16.67 Pitch, 12 Point
- 6) Courier 20 Pitch, 6 Point
- 7) Courier 20 Pitch, 12 Point
- 8) CG TImes Proportional Pitch, 6 Point
- 9) CG TImes Proportional Pitch, 12 Point
- 10) Letter Gothic 12 Pitch, 6 Point
- 11) Letter Gothic 12 Pitch, 12 Point
- 12) Letter Gothic 24 Pitch, 6 Point
- 13) Letter Gothic 24 Pitch, 12 Point
-
- Due to a problem with SBase, when using the Page Setup requester
- and selecting a font name with a shorter name than a previous font, the
- longer portion of the previous font name is still displayed. This does not
- affect the selection of the font, but makes the font name appear untidy due
- to the residue left over from a previous font name. As such, I have added
- spaces to the font names in the printer drivers, so that they will all
- display with the same length in the Page Setup requester, thereby
- overwriting all the characters of any previous font name that has been
- displayed. Since a proportional screen font was used when adding the spaces
- to the font names, the font names may display a little differently for you,
- if you are using a fixed space screen font. This will not cause any
- problems. The worst thing that can happen will be some font names may not
- completely overwrite a previously displayed font name in the SBase Page
- Setup requester and it may look a bit untidy. However, every font can always
- be selected and is completely usable. The untidiness is the fault of SBase
- and my insertion of spaces in the font names is an attempt to clean up the
- untidiness. Again, the spaces in the font names are only for display
- purposes and will have no effect on the performance of SBase or the printer
- drivers.
-
- In the Sbase Printer Setup requester, double click on either the
- Draft or the LQ printer driver. All Draft fonts will print in Draft Mode
- and all LQ fonts will print in Letter Quality Mode. This will open the SBase
- Page Setup requester. Click on the Up Arrow gadget until the name of the font
- you wish to use is displayed and then click on OK. The next time you print
- with SBase your selected font will be used and will print in either Draft
- Mode or LQ Mode, depending on the printer driver selected. You can select
- any combination of printing with Bold, Italics, or Underline, from within
- SBase itself. The only restriction is that you cannot use Italics with
- Courier 16.67 Pitch and 6 or 12 Point fonts, since the DeskJet 500 itself
- doesn't support Italics with these two fonts.
-
- H) Contact Information and Miscellaneous
-
- Please notify me of any problems, bugs, or errors in the printer
- drivers or if you have suggestions for improvement. Also notify me if you
- find any errors or omissions in these instructions. I hope you find the two
- supplied printer drivers useful.
-
- I can be contacted through CompuServe. My PIN is 74766,2154.
-
- All files in this archive were created by Dominick J. Fontana in
- New York and completed on October 25, 1993.
-
- I) Legal
-
- The entire contents of this archive is freeware and may be freely
- redistributed, provided all files are kept intact and unaltered. However,
- I retain all rights to the files in this archive and this file containing
- the instructions is Copyright Dominick J. Fontana. All Rights Reserved.
- No charge can be made for distributing the archive, other than a nominal
- fee, not to exceed $5.00, for purposes of duplication and for supplying
- the distribution media.
- Oxxi, Inc. or their representative is hereby expressly given
- permission to include these printer drivers with their SBase Pro 4 database
- program. The only requirement is that they notify me if they intend to
- include these drivers with the program.
-
- *** END OF FILE ***
-