Xref: utzoo unix-pc.general:2903 comp.sys.att:6462 Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!ucsd!sdcsvax!ucsdhub!cuuxun!cuuxb!fmcgee From: fmcgee@cuuxb.ATT.COM (~XT6510300~Frank McGee~C23~L25~6326~) Newsgroups: unix-pc.general,comp.sys.att Subject: Re: HPDeskJet on 7300 parallel port, con't.... Summary: use lpadmin Message-ID: <2802@cuuxb.ATT.COM> Date: 15 May 89 05:00:04 GMT Expires: 27 May 89 23:00:00 GMT References: <34@docwrk.UUCP> Reply-To: fmcgee@cuuxb.UUCP (Frank W. McGee) Followup-To: unix-pc.general Distribution: usa Organization: AT&T, Data Systems Group, Lisle, IL Lines: 42 [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