[unix-pc.sources] pan - a user-friendly program to set Panasonic printer

bbh@whizz.uucp (Bud Hovell) (01/16/89)

I have completed a shell-script which is allows simple command-line setting
of the configuration of Panasonic 1080i and 1091 printers in a user-friendly
way, with menus showing options. Getopt(1) has been utilized for simplicity
in setting multiple options in a single command. 

I am looking for someone else with a site configuration similar to my own,
to wit: 3B1 w/Panasonic 1080i printer, to test this script locally to verify
that it does/doesn't behave there as here. And to provide input on any ways
in which they believe this utility might be improved.

MOST of the functions appear to work properly, but some (particularly the
Page Formatting settings) do not. For example, I cannot get my printer to
produce a bottom margin, either using dip-switches, direct keyboard entry,
or software-controls from the script. Is the the brain-damage in my printer or
in my head? :-)

There is a makefile, local installation should be simple, and a (preliminary)
man page has been written (though not fully updated to the current incarnation).

Since this script contains escape-codes, it will have to be sent uuencoded.

Main menu:
                         PAN - Set Panasonic Printer                        
                         ***************************
"pan -d" resets default~ values.               "pan -g" gets Special Options

Pick font style @ Std.           Pick emphasis          Pick other adjustmnt
-----------------------          -------------          --------------------
p  Pica~  (10cpi @ Std.)         r  Regular~            6  66 lines per page~
e  Elite  (12cpi @ Std.)         b  Bold                8  88 lines per page
f  Fitted (Proportional)         n  NLQ                 m  10-sp Left Margin
i  Italic                        N  NLQ unset           M  10-sp Margin unset~
I  Unset Italic                                                             
                                                          Pick Justification 
             Pick Compression/Expansion                   ------------------
----------------------------------------------------         l  Left Justify~
x  Extended         0  10 cpi mode~   5  15 cpi mode         a  Auto Justify
X  Extended unset~  2  12 cpi mode    7  17 cpi mode         c  Cntr Justify


Special Options Menu:
                            PAN SPECIAL OPTIONS
                            *******************
Page-length options                        Skip-perf options
-------------------                        -----------------
h  Half-page (8 1/2 x 5 inches) set        s  Skip-perf (5-line bot marg) set
H  Half-page unset~                        S  Skip-perf unset~

Printer Mode Options*                      Local Site Options 
--------------------                       ------------------
A  Set Standard (Epson) Mode               (Local administrator assignments)
B  Set IBM Matrix Mode
C  Set IBM Graphics Mode II
D  Set 7-Bit Code
E  Set 8-Bit Code
F  Set English Char Set
G  Set US Char Set                         * Defaults depend on dip-switches

Any takers?
 
                                 Bud Hovell

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: USENET: {attmail!  |  tektronix!percival!  |  pacbell!safari!} whizz!bbh :
: TELEX: 152258436 (Whizz/Bud Hovell)               VOICE: +1 503-636-3000 :
: PAPER: Overture Systems Corp, PO Box 1812, Lake Oswego, Oregon USA 97035 :
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
"You may not be interested in strategy - but strategy is interested in you."