Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!hp-pcd!hpfcso!rjn From: rjn@hpfcso.HP.COM (Bob Niland) Newsgroups: comp.sys.hp Subject: Re: Serial LaserJet printing! Message-ID: <7370267@hpfcso.HP.COM> Date: 11 Dec 90 05:50:56 GMT References: <1990Nov27.111210@dali.gatech.edu> Organization: Hewlett-Packard/FSY Ft.Collins,CO,USA Lines: 122 re: > I connected an HP laserJet Series II to my HPUX 370 serial port > using a cable I built to go from the 370's 9 pin RS-232 to the > printer's 25 pin RS-232. Cables to use: 92221P direct 9M to 25M, or... 98561-61604 9M-25F adaptor plus 40242G or 13242G You need to bring DTR in on CTS to get the hardware flow control. You also need to set a bit in the device file minor number to turn on CTS detection in the host. Also request the latest serial driver from your HP support person. Earlier ones may not do CTS correctly. The following covers more than just CTS.... re: Advanced Serial Driver Date: 27 Nov 90 Here are the things you can control on the 400 #1 and 345/375 serial port with the 7.05 or pre-release 7.0/7.03 driver. Some of this is not yet documented in any published manuals. Contact your HP support representative for a copy of the driver. Have them contact me if they don't have it. Permissions Owner Group Major Minor Last write File name crw--w--w- 1 root crm 1 0x090000 Feb 28 09:39 tty09 crw-rw-rw- 1 root other 1 0x090001 Nov 4 1988 cua09 crw-rw-rw- 1 root other 1 0x090001 Feb 12 14:17 cul09 # # example LP files # crw--w--w- 1 root bin 1 0x0900cc Mar 19 11:44 lp crw-rw-rw- 1 lp bin 1 0x0900cc Mar 1 1989 rlp ^^^^^^^^ | __________________________/ / | V TERMINALS: 0xScPoAc where Sc = card select code (05, 06, 09) Po = port number (98642); 00 for other cards Ac = access type Access type bit fields: AABB CDEF AA = receive fifo trigger level 00 = 1 01 = 4 10 = 8 11 = 14 (not on select codes 5 & 6) BB = effective tx fifo size 00 = 12 (16 on all other buffered cards) 01 = 8 10 = 4 11 = 1 AA only on 345/375 built-in ports 05, 06, 09, 98628A, 98638A and 98642A BB only on 345/375 built-in port 09, 98628A, 98638A and 98642A C = 0 hardware handshake disabled (CTS/RTS) C = 1 hardware handshake enabled CTS available on all built-in 05, 06, 09, 98626A, 98628A, 98638A and 98642A port 0 RTS available on 345/375/400 built-in 09 D = 0 modem (or modem eliminator) D = 1 direct connect Not supported on 98642A ports 1,2,3 E = 0 US modems E = 1 CCITT mode (for European modem support) Not supported on 98642A ports 1,2,3 F = 0 call-in port F = 1 call-out port (for cu* devices) In addition, UNIX (HP-UX) routinely allows control of the following items. See the termio(7) manual page in the HP-UX Reference Manual for details. speed 19200 baud; line = 0; susp ; dsusp intr = ^C; quit = ^\; erase = ^H; kill = ^U; swtch = ^@ eof = ^D; eol = ^@; min = 4; time = 0; stop = ^S; start = ^Q -parenb -parodd cs8 -cstopb -hupcl cread clocal -loblk -crts -ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon ixany -ixoff -ienqak isig icanon iexten -xcase echo echoe echok -echonl -noflsh opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel -tostop Note "ienqak" is ignored on the 300 and 800. # example /etc/inittab entries (don't use both on the same port) # 09:2:respawn:/etc/getty -h tty09 HST 09:2:respawn:/etc/getty -h lp LPH {if using CTS flow control} 09:2:respawn:/etc/getty -h lp LP {if not} # example customized /etc/gettydef entries # The "LP" and "LPH" entry keeps the port properly configure for unspooled I/O. # LP# B19200 SANE CS8 ONLCR CLOCAL IXON IXANY TAB3 OPOST ###LP LPH# B19200 SANE CS8 ONLCR CLOCAL TAB3 OPOST ###LPH HST# B19200 SANE HUPCL CS8 ISTRIP IXON IXOFF # B19200 SANE HUPCL CS8 ISTRIP IXON IXOFF #HST login: #HST # example /usr/lib/uucp/Devices entries (HST modem) # PROG/usr/lib/dialit /dev/ \T \S \P Direct tty09 0 19200 direct Direct cul09 0 19200 direct ACUHP92205A cul09 cua09 19200 hp92205A Regards, Hewlett-Packard Bob Niland 3404 East Harmony Road Internet: rjn@hpfcrjn.FC.HP.COM Fort Collins UUCP: [hplabs|hpu*!hpfcse]!hpfcrjn!rjn CO 80525-9599 This response does not represent the official position of, or statement by, the Hewlett-Packard Company. The above data is provided for informational purposes only. It is supplied without warranty of any kind.