conca@handel.cs.colostate.edu (michael vincen conca) (11/15/90)
Has anyone successfully set up a serial port plotter on an HP9000/835? What I am trying to do is set up an HP7550a plotter to run off of one of the mux ports (tty2p3). I want to be able to spool to it using the lp spooler. I have tried to set it up like all the printers I have installed (i.e. making sure a getty is running at the right speed, using lpadmin with the appropriate model scripts, etc), but it is not working. Cat'ing to the port hasn't worked either. Is there some catch to the plotter that I have missed? I've already tried HP Response Center and all I got was "We don't reco- mend using plotters as RS232 devices. Set it up as an HP-IB device". That would be nice, if only I had an available HP-IB port. Any help, hints, suggestions, recomendations would be greatly appreciated! Things like: getty settings, lp settings, type of cable used, plotter settings, mystical incantations used, brand of incense, etc. Thanks. -Mike P.S. I forgot...I'm running HP/UX 7.0 -=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=- Mike Conca, Computer Science Dept. * conca@handel.cs.colostate.edu Colorado State University * conca@129.82.102.32 "Everyday, as the network becomes larger, the world becomes smaller."
jkinz@mony815.uucp (Jeff Kinz) (11/16/90)
conca@handel.cs.colostate.edu (michael vincen conca) writes: >Has anyone successfully set up a serial port plotter on an HP9000/835? > >What I am trying to do is set up an HP7550a plotter to run off of one of >the mux ports (tty2p3). I want to be able to spool to it using the lp >spooler. > Mike, I am not familiar with the particular model of plotter that you are working with but I was able to set up an HP plotter ( Big E-sheet model) on the serial port of a SUN about 6 years ago. I believe the model I was using used "HPGL"? as a graphics language. It worked superbly well as a serial device. I have some ideas: First make sure the serial cable pinouts match the needs of the HP equipment - if you have the manuals for your plotter and system they will contain some very complete diagrams. The HP response center had better be able to give good advise on this. I don't think that the response they gave is at all appropriate. If they put a serial port on the plotter, it had darned well better work on the serial port of an HP computer. Call them back and insist on some good advice! Also I think that HP actually has a cable pinout (and part number) specifically for this application. Second, if you don't have a datascope you can at least start with a dumb terminal and see if your file of commands is getting out of the port. Third, create a very small and simple file of plotter commands and try catting them out the port to the plotter. (apologies to the net if this posting does not match standards and formats. I'm new at this - please e-mail me if I botched something, thx Jeff) -- Jeff Kinz, on site at | UUCP: uupsi!vmp!monymsys!mony815!jkinz MONY Financial Services MD 75-14 | Domain: monymsys!mony815!jkinz@vmp.com Glenpointe Center West | Teaneck, NJ 07666-6888 | Phone: +1-201-907-6632
joseph@hpuplca.HP.COM ( Joseph Hohl ) (11/16/90)
> Has anyone successfully set up a serial port plotter on an HP9000/835? Yes. > What I am trying to do is set up an HP7550a plotter to run off of one of > the mux ports (tty2p3). I want to be able to spool to it using the lp > spooler. This is a good way to do it. > I have tried to set it up like all the printers I have installed (i.e. > making sure a getty is running at the right speed, using lpadmin with the > appropriate model scripts, etc), but it is not working. Cat'ing to the > port hasn't worked either. Is there some catch to the plotter that I > have missed? This is wrong. Don't set up a getty. Use SAM to add the LP device. Specify hp7550a as a model. The 7550 lp script checks if the device is a tty and does the appropriate stty to set baud rate etc. The plotter should be configured for 9600 baud, 8bit, none parity. If you want a different plotter configuration, change the stty command in the /usr/spool/lp/interface/lp_device file to match. Also make sure that the plotter device is owned by lp and chmod 600 (unfortunately SAM doesn't set these if the device already is on the system). > I've already tried HP Response Center and all I got was "We don't reco- > mend using plotters as RS232 devices. Set it up as an HP-IB device". That > would be nice, if only I had an available HP-IB port. Actually, HP-IB was the only supported device in previous releases but RS-232 is supported at 7.0. > Any help, hints, suggestions, recommendations would be greatly appreciated! > Things like: getty settings, lp settings, type of cable used, plotter > settings, mystical incantations used, brand of incense, etc. Thanks. Hopefully the above recommendations work for you. If they don't, please continue with the Response Center and escalate it until you get it working. Again, the RS-232 is supported and it does work. > -Mike > > P.S. I forgot...I'm running HP/UX 7.0 > > -=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=--=*=- > Mike Conca, Computer Science Dept. * conca@handel.cs.colostate.edu > Colorado State University * conca@129.82.102.32 > "Everyday, as the network becomes larger, the world becomes smaller." > ---------- Joseph
luke@modus.sublink.ORG (Luciano Mannucci) (11/17/90)
In article <11230@ccncsu.ColoState.EDU>, conca@handel.cs.colostate.edu (michael vincen conca) writes: > I have tried to set it up like all the printers I have installed (i.e. > making sure a getty is running at the right speed, using lpadmin with the > appropriate model scripts, etc), but it is not working. Cat'ing to the > port hasn't worked either. Is there some catch to the plotter that I > have missed? No, no. You must not run getty at the right speed: it's a dirty workaround wich fixed a very old bug that does'nt exist any more. You just need to edit the apropriate /usr/spool/lp/interface/YourPlotter and set the line properly via stty. With our LaserJet 2000 connected through serial port (the lack of HP-IB slots seems to be less rare than we expect) we fixed the problem by inserting: stty raw 9600 -parenb cs8 ixon -ixany -istrip clocal <&1 it seems to work perfectly. luke. -- _ _ __ Via Aleardo Aleardi, 12 - 20154 Milano (Italy) | | | _ _| (__ PHONE : +39 2 3315328 FAX: +39 2 3315778 | | |(_)(_||_|___) Srl E-MAIL: luke@modus.sublink.ORG ______________________________ Software & Services for Advertising & Marketing
jrc@hpdmd48.boi.hp.com (Jim Conrad) (11/19/90)
Hello, After we got all the cables, HW configuration and UNIX stuff straightened out, we discovered that some applications (especially MS-DOS applications whose output was coming to UNIX via LM/X) placed escape sequences in their output stream to set the baud rate to their idea of perfection. Needless to say, this played considerable havoc with the plotter on the UNIX serial port. Jim "if it aint one thing it's another" Conrad jrc@hpbsrl.hp.com