home *** CD-ROM | disk | FTP | other *** search
- Sept 20, 1989
-
- LJ2DJ (Version 1.3)
-
- (C) Copyright 1989 by TaxWare, PO Box 2014, Provo, UT 84603
- All rights reserved
-
-
- LJ2DJ is a program used to convert Hewlett-Packard LaserJet format soft
- files to DeskJet soft font files. The version included with this package is
- sharware and is limited in its features. The limitations are noted throughout
- this document. If you have any questions or suggestions regarding this
- software, please direct them to the address above, or CompuServe ID 76704,70.
- Also, if you print this document, you should set tab stops to 8.
-
- o limited to converting 8 point through 12 point fonts.
- o limited to converting one font at a time.
- o limited command line options (see Options below).
-
-
- The syntax/usage of LJ2DJ is:
-
- LJ2DJ [options] LaserJetFontFilePath [DeskJetFontFilePath]
-
- If you need help using LJ2DJ, simply type LJ2DJ at the DOS prompt and press the
- Enter key. A usage screen, such as the following will appear:
-
- ╔═════════════════════════════════════════════════════════════════════════════╗
- ║ ║
- ║ Usage: LJ2DJ [options] LaserJetFontFilePath [DeskJetFontFilePath] ║
- ║ where LaserJetFontFilePath and DeskJetFontFilePath are valid DOS ║
- ║ paths for (respectively) an HP format LaserJet soft font file, ║
- ║ and for the DeskJet soft font file to be created. DeskJetFontFilePath ║
- ║ is optional. If it is not specified, the resulting filename will ║
- ║ be the same as the LaserJetFontFilePath, except for the extension, ║
- ║ which will be DJP for portrait fonts and DJL for landscape fonts. ║
- ║ ║
- ║ This registered version supports wildcards in the LaserJetFontFilePath. ║
- ║ If wildcards are specified, DeskJetFontFilePath is optional, and if used, ║
- ║ must be of the form [d:][path], where d is a drive letter and path is a ║
- ║ directory name. ║
- ║ ║
- ║ Options ║
- ║ /A automatically answer user prompts. ║
- ║ /M create fonts for the original DeskJet only. ║
- ║ /O overwrite DeskJetFontFilePath, if it already exists. ║
- ║ /W create character width table. ║
- ║ ║
- ║ Refer to the README.DOC file for detailed information. ║
- ║ ║
- ╚═════════════════════════════════════════════════════════════════════════════╝
-
-
- Operation
-
- The following outlines the steps to be taken when converting
- LaserJet soft fonts to DeskJet format:
-
- 1) locate the LaserJet soft font(s) that you want to convert to
- DeskJet format. You will need to know the file path of your LaserJet
- soft font file(s).
-
- 2) decide whether you need all of the characters from the original
- font or a limited character set.
-
- 3) decide whether you need a character width table (also known as a
- spacing table). See the /W option for more information.
-
- 4) decide whether your new fonts must work with the original DeskJet,
- or if they are to work with both the original DeskJet and DeskJet Plus.
- (The DeskJet Plus can accept any font the original DeskJet can, but
- the original DeskJet cannot accept all fonts that the Plus can.) See
- the /M option for more information.
-
- 5) type LJ2DJ followed by any options (see Options below), followed by
- the path of your LaserJet font(s) and answer the prompts.
-
- A typical conversion session might look something like this:
-
- ╔═════════════════════════════════════════════════════════════════════════════╗
- ║ ║
- ║C>LJ2DJ TR120RPN.USP<Enter> ║
- ║ ║
- ║LJ2DJ Version 1.3ß ║
- ║(C) Copyright TaxWare 1989. All Rights Reserved. ║
- ║LaserJet To DeskJet Soft Font Conversion Utility ║
- ║ ║
- ║To receive the full-featured version of LJ2DJ, send $35 to the address below.║
- ║Once registered, you will receive the most recent full-featured version ║
- ║and continued upgrade information. When registering, please include ║
- ║the version of LJ2DJ that you are using. ║
- ║Your registered version will NOT contain this message. ║
- ║ ║
- ║ Send cash, check or money order to: ║
- ║ TaxWare, PO Box 2014, Provo, UT 84603 ║
- ║ ║
- ║Press any key to continue ║
- ║ ║
- ║Converting C:\FONTS\TR120RPN.USP ║
- ║ To C:\FONTS\TR120RPN.DJP ║
- ║ ║
- ║Are You Entering A List Of Characters To [I]NCLUDE Or [E]XCLUDE E ║
- ║Enter The ASCII Value Of Each Character To Be Excluded ║
- ║Enter A Period (.) When Done ║
- ║>. ║
- ║ ║
- ║! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F ║
- ║G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j k l ║
- ║m n o p q r s t u v w x y z { | } ~ ║
- ║ ║
- ║ 1 Font(s) Converted. ║
- ╚═════════════════════════════════════════════════════════════════════════════╝
-
-
- Examples
-
- LJ2DJ C:\FONTS\AE0060RH.SFP 6PTFONT.DJP
-
- will convert a font file named AE0060RH.SFP located in the FONTS subdirectory of
- the C: drive. The resulting DeskJet font file will be created in the current
- directory and be named 6PTFONT.DJP.
-
- LJ2DJ C:\FONTS\AE0060RH.SFP
-
- will convert the same font, but the resulting DeskJet font file will be
- AE0060RH.DJP (assuming portrait orientation), created in the C:\FONTS directory.
-
- LJ2DJ C:\FONTS\*.SFP
-
- will create DeskJet fonts for all fonts that match the pattern *.SFP in the
- C:\FONTS directory. The resulting files will also be in the C:\FONTS
- directory, and will have the same file name with extensions of either DJP or
- DJL, depending upon the fonts' orientation.
-
- LJ2DJ C:\FONTS\*.SFP C:\FONTS\DJ
-
- will create DeskJet fonts for all fonts that match the pattern *.SFP in the
- C:\FONTS directory. However, the resulting files will be created in the
- C:\FONTS\DJ directory, which must already exist.
-
-
- Options
-
- /A automatically respond to user prompts. This option allows you
- to perform unattended "batch" conversions. The following
- assumptions are made with this option:
-
- Existing DeskJet font files will be overwritten.
-
- All characters contained in the LaserJet fonts that are not too
- large for the DeskJet *Plus printer will be selected.
- (* original DeskJet if the /M option is also specified)
- This option is only valid with registered versions of LJ2DJ.
-
- /M create only fonts that will work with the original DeskJet.
- Without this option, LJ2DJ attempts to make fonts that will
- work with both the DeskJet and the DeskJet Plus printers. Such
- a font is referred to as a DeskJet font. If the font to be
- made has characters too tall for a DeskJet font, or is being
- created from a landscape font with fixed spacing, the user
- will be informed that only a DeskJet Plus font can be created.
- The user will then have the option to continue creating the
- DeskJet Plus font, to reselect a new character set, or to abort
- the creation of the current font.
-
- LJ2DJ /M /A F:\LJFONTS\*.* D:
-
- This example will create fonts that will work with both the
- DeskJet and the DeskJet Plus from all LaserJet soft font files
- in the LJFONTS subdirectory of the F: drive. LaserJet fonts
- whose conversion would result in DeskJet Plus fonts are
- ignored. This option is a time saving option usually used when
- specifying wildcard conversions.
- This option is only valid with registered versions of LJ2DJ.
-
- (Why call it /M? DeskJet Plus, DeskJet [M]inus!)
-
- /O allows you to overwrite files with the same name as the
- DeskJet font files to be created, without having to confirm the
- overwriting each time.
-
- LJ2DJ /O C:\FONTS\*.SFP
-
- will create DeskJet fonts for all files that match the
- pattern *.SFP in the C:\FONTS directory. If any of the files
- to be created already exist, they will be automatically
- overwritten.
-
- /W create a character width table (file) that contains the
- information for each DeskJet font being created. The file name
- for the table is DJ_WIDTH.TAB and is created in the same
- directory as the new DeskJet fonts. Information includes
- the font file name, the font name, orientation, point size,
- baseline distance, cell width, cell height, and each character
- code in decimal and hexadecimal with their corresponding left
- pad, symbol width, right pad and cursor move. If a character
- width table already exists from previously running LJ2DJ,
- rename or copy it to another file if you need it. (Each time
- LJ2DJ is run with the /W option, a new width table is created.)
-
-
- Registration
-
- When you register, please include the version of software that you are
- currently using as well as the name of the person/company to which the
- software is registered.
-
- With each $35 registration fee received, you will receive two copies of the
- most recent version of LJ2DJ. Both copies will be registered to you, but
- one copy will contain the screen introducing the software as shareware, so that
- you may distribute that copy.
-
- Copyright Notice and Disclaimer
-
- LJ2DJ is a copyrighted program. No fee is charged for the non-commercial
- evaluation of this program by individuals. However, the shareware
- (user-supported) concept is in effect. A $35 fee is requested from those who
- do use this program.
-
- LJ2DJ may be copied and distributed to others provided that the three
- following conditions are met:
-
- (1) The files containing the program (LJ2DJ.EXE) and this document
- (README.DOC) are distributed together, as a single package.
-
- (2) No alterations are made to the contents of either file.
-
- (3) No fee, payment, service charge, or voluntary donation is requested
- or accepted.
-
- The operation of LJ2DJ is not warranted in any way, nor will TaxWare be
- responsible for damages or losses that may result from its use.
-
-
- Revision History
-
- Version 1.0 (Sept 14, 1989) is the first released version.
-
- Version 1.1 (Sept 16, 1989)
- fixed a bug where the total number of characters selected by the user
- was accumulated in a variable of type 'unsigned char.' In the
- extremely rare case that if a font with 256 characters (0-255) were to
- be converted, this number would wrap back to 0, causing the 'No
- Characters Selected' message to appear, while aborting the conversion.
- The variable has been changed to the type 'unsigned int.'
-
- Version 1.2 (Sep. 20, 1989)
- Fixed an error in the evaluation version that allowed fonts between 8
- and 16.8 points to be rotated instead of the documented 8 to 12 point
- range. (Thanks, Joan!)
-
- Version 1.3 (Nov. 9, 1989)
- Fixed an error that would cause "spurious dots" to be printed, usually
- above the shorter, lower-case letters. This error was manifested when
- some characters of a *multi-pass font did not extend into the next
- higher region of the "print head." Thus, no information was included
- in the produced DeskJet font file which explicitly indicated that such
- shorter characters had NO information in the higher regions. Now,
- multi-pass information is included for all characters of a multi-pass
- font, and for ALL regions, even though such information would
- intuitively be unnecessary. With this change, slightly larger font
- files are produced for fonts with such parameters.
-
- * a DeskJet font which has one or more characters taller than 50 dots
- (approximately 1/6") is a multi-pass font.
-
- Reports of perceived bugs or suggestions for improvements are also appreciated.
-
- TaxWare
- PO Box 2014
- Provo, UT 84603
-
-