HPDeskJet on 7300 parallel port, con't....

~XT6510300~Frank McGee~C23~L25~6326~ fmcgee at cuuxb.ATT.COM
Mon May 15 15:00:04 AEST 1989


[Lots of things deleted about unix pc printer setup and basically the
 fact that the options given don't allow you to setup a DeskJet as a
 parallel printer.]

Don't know if the unixpc has lpadmin, but you might want to try playing
with that if it's in the unix pc unix distribution.  I'd try using a
manual page from another version of Unix for documentation.  Anyway,
what usually happens is that the window thingies end up calling lpadmin
anyway with the correct options.  In practice, usually the device type
doesn't matter (for parallel/serial atleast) since the parallel device
driver will ignore ioctl's that don't apply (like setting the baud rate
or parity).  So two things to try :
	a)  set up your printer for serial operation through the
	    windows and change the device it points to with lpadmin from
	    the shell prompt.
	b)  set up the whole thing through lpadmin.

Your commands will probably look something like this (Don't have a man
page in front of me tho so you should check to make sure the options
are right) :

# lpadmin -pnew_printer -minterface_script -v/dev/tty001
# lpadmin -pnew_printer -v/dev/lp

The first command says to create a new printer using the interface
script "interface_script" and that it's on the device /dev/tty001.
There's probably an interface script in /usr/spool/lp/model that you
can use for the DeskJet, or you could use the "dumb" one.  The second
comand moves the printer "new_printer" to the parallel device.

lpstat -t is usefull for debugging these things too.

Don't forget to use the accept, enable, and lpsched commands to get the
spooler going.

Hope this helps.  You shouldn't have to get a serial to parallel
converter or anything like that.

-- 
Frank McGee, AT&T
Tier 3 Indirect Channel Sales Support
attmail!fmcgee



More information about the Unix-pc.general mailing list