home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware 1 2 the Maxx
/
sw_1.zip
/
sw_1
/
BUSI
/
AD12.ZIP
/
PRINTER.TXT
< prev
next >
Wrap
Text File
|
1992-04-21
|
5KB
|
111 lines
ACTION DESIGNER
PRINTER DEFINITION
As of 8/14/91
This file contains a form for collecting data required
to create a printer driver for Action Designer. If none
of the standard printer drivers supplied with the
registered version of AD supports your printer, you will
want to collect the required data from your printer's
user manual.
Included is a program pdefine.exe. You may use this program
to modify an existing driver to create one for your printer.
You must load ansi.sys from your config.sys file for proper
screen display. Once you start the program, provide the
requested data from your worksheet. Note that hexidecimal
entries are required.
By the way, save the original drivers! Just make new versions
from old ones to minimize mistakes.
If you can't get a driver working, please give us a call.
We'll do our best to create a working driver. But, you
will have to dig out the required data. We can't guarantee
success, but we'll try.
NAME: _________________________________________________
COMPANY: _________________________________________________
ADDRESS: _________________________________________________
_________________________________________________
CITY: ________________________ STATE: ___ ZIP: _______
PHONE: (____) _____-______
===========================================================
Defaults are shown in parentheses.
ASCII printer control strings are a series of characters
separated by commas. For example: if the string to reset
your printer is an escape character followed by "@", give
it as "ESC,@" or in hexadecimal as "1B,40". We'd prefer
hex if you can supply it.
PRINTER NAME: ___________________________
PRINTER PORT (lpt1): _______
HICS/IN (note 1): _______
BACKSPACE CHARACTER (08) _______
ASCII CODE TO RESET PRINTER ___________________________
" " " ENABLE BOLD ___________________________
" " " ENABLE UNDERLINE ___________________________
The head positioning strategy is made up of 3 parts:
1. A start control string
2. The number of hics to move
3. An ending control string
For example: "1B,1F,x,20" where "1B,1F" is the
start string, "x" is the number of hics, and "20"
is the ending string.
ASCII CODE TO START HEAD MOVE ___________________________
VALUE OF x _______
ASCII CODE TO END HEAD MOVEMENT ___________________________
HEAD MOVEMENT STRATEGY (0) _______
0 - Print the START string x times. The ending string
is not used. This method will work for any printer
at the expense of some efficiency.
1 - Print the start string followed by the character
with the value of x followed by the ending string.
For example, to move 5 hics, the command might be
"1B,1F,05,20".
2 - Print the start string followed by the one or two
digit ASCII value of x followed by the end string.
For example, the command might be "1B,1F,35,20".
3 - Epson graphics mode. This method prints the start
string, x/hic, x modulus hic, and x nulls. You
must supply the start string, but the driver will
take care of all the rest.
OFFSET TO BE ADDED TO X (0) _______
USE SPACES INSTEAD OF HICS
FOR JUSTIFICATION (No) _______
FONT RESET AFTER MOVEMENT
(No, see note 2) _______
FONT NAME (Plain, see note 3) ___________________________
ASCII STRING TO SELECT FONT ___________________________
NUMBER OF CHARACTERS/INCH (10) _______
Notes
1. A "hic' is a measure of how many units of movement
(in fractions of an inch) the printer fits within 1
inch. This is very printer dependent. The number
ranges from 10 for a very dumb printer to 300+ for
a laser printer.
Some printers have no high resolution horizontal movement
(i.e., a hic is equal to 1 space). Others may make
movements as fine as 1/300 inch.
Look in your printer manual for the smallest horizontal
movement possible. This is VERY important.
2. Some printers require this to restore normal character
spacing.
3. If your printer has a built-in font that you wish to use
and which is not the default, supply a name and string
to select it.