srh@docwrk.UUCP (Steven R. Houser) (05/11/89)
This is a continuation of my posting about the HP DeskJet that won't run off my 7300 parallel port with a standard Centronics parallel cable.... I notice that my 7300 won't recognize the presence of the DeskJet no matter what I call it--even if I set it up as printer Other. I notice in my UNIXPC owner's manual that setup configurations are given only for the the LaserJet (which the DeskJet emulates) as a SERIAL printer. It doesn't seem to anticipate the LaserJet as a parallel printer. Could this be what the problem is? If so, I'm wondering if one of those parallel-to-serial converters would let me connect a null modem RS-232 cable from the serial port on the DeskJet to the parallel port on the 7300. That way the 7300 would be communicating with the DeskJet as a serial printer. Does this strategy make any sense? I'm extremely ignorant about printers, and am just grasping at straws at this point. The DeskJet is an excellent printer, and if I can't get it to run parallel, I'll hang on to it and just use it as a serial printer. But I'm used to running a terminal off of the tty000 port, and hate to give that up. Any suggestions or feedback will be appreciated. Steve Houser The Document Workshop ...uunet!osu-cis!n8emr!uncle!oink!docwrk!srh
fmcgee@cuuxb.ATT.COM (~XT6510300~Frank McGee~C23~L25~6326~) (05/15/89)
[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
dca@toylnd.UUCP (David C. Albrecht) (05/17/89)
In article <34@docwrk.UUCP>, srh@docwrk.UUCP (Steven R. Houser) writes: > This is a continuation of my posting about the HP DeskJet that won't run > off my 7300 parallel port with a standard Centronics parallel cable.... > I just had a thought about this, the unix pc has a real sensitive Centronics port and, of course, it doesn't use the standard clip connection to boot. I have found that in some cases the connector really does have to be screwed in to work. Is your connector screwed in? If not, try doing a printer reset with the parallel connector held snugly onto the connector by hand. David Albrecht