Hi,
Thanks for the prompt responses. I got the info that I asked for but it
still does not work!
My delima:
I have an HP1200C/PS that someone here had to have. It only has a
centronics parallel port and an Appletalk port. I am trying to connect
it to a Sun SPARC5 running SunOS 4.1.3.
I tried connecting it to /dev/ttya using a serial to parallel converter
and that did not work. On the advise of nearly everyone who responded
to the requet I made back then, I bought the parallel cable for the
SPARC5 to connect /dev/bpp0 to the centronics port of the printer.
I changed my printcap entry to:
lphp
:br#38400:rw:fc#0000374:fs#0000003:xc#0:xs#0040040:mx#0:sf:sh:sc:\
:lp=/dev/bpp0:\
(yes I have the other needed entries such as sd:...)
I rebooted the machine with the printer attached then did
cat .login | lpr -Plphp
Nothing happened! After a minute lpq responded with the error message
saying that the printer has not responded in over a minute.
I then tried
cat .login;echo '\004' > /dev/bpp0
I received a device busy message!
/dev/bpp0 DOES exist as follows:
crw-rw-rw- 1 root 107, 0 Jan 16 09:46 /dev/bpp0
The following is the /sys/sun4m/conf/GENERIC:
device-driver bpp # bpp support
WHAT AM I MISSING?!?!?
Is there a file like /etc/ttytab that I need to tell about the bpp?
Are there specific switch settings on the printer that I should be
looking at?
>From what I received in response to my original message it seem possible
to use this printer!
PLEASE HELP! My hair it thinning!
Thanks again in advance and I will summarize...
As for summarize:
Thanks to the following:
From:tim@Access.COM (Tim Wort)
The SPARC 5 (from Sun) has a builtin parallel port at bpp0, so if you
added a sbus card with a parallel port it is at some other address and
probably has a different device name. Try to connect to the native
parallel port using the Sun cable with the special high density
connector
and it will work fine on bpp0 or... figure out what the device name is
for
the sbus card port that you added (make sure you did a reconfigure boot
after adding the card.)
/\ /\
/\\/ Tim Wort Access Graphics Inc Boulder CO \//\
/\\//\ tim@pobox.com http://www.access.com /\\//\
/\\//\\/ tim@access.com 75141,1151-Compuserve Immediate \//\\//\
\//\\//\ Solutions /\\//\\/
\//\\/ Technical Services 800.827.9940 for busy \//\\/
\//\ Fax 303.546.3169 Sales 800.733.9333 Resellers /\\/
\/ \/
Opps... in my original reply I mentioned a reconfigure boot, that
doesn't apply
to 4.1.x. But the rest of it does, right device etc.
[BTW--I did not add an sbus card. I am using the original parallel
port]
------------------------------------------------------------------------
Vic - here is the printcap entry we use....
hpc|coloura4|HP Deskjet 1200C:\
:br#38400:rw:fc#0000374:fs#0000003:xc#0:xs#0040040:mx#0:sf:sh:sc:\
:lp=/dev/bpp0:\
:sd=/tmp:
Hope it helps...
Mark
--------------------------------------------------------------------------
| Mark Lawrence mal@getech.leeds.ac.uk
|
| Geophysical Exploration Technology
http://www.getech.leeds.ac.uk |
| c/o Department of Earth Sciences Tel 0113 2335862
|
| University of Leeds, Leeds, LS2 9JT, UK Fax 0113 2429234
|
--------------------------------------------------------------------------
[THANKS FOR THE PRINTCAP!]
Try sending the printer a ctrl-D after the file - i.e. use something
like
(cat FILE;/usr/5bin/echo '\004') > /dev/bpp0
Michael Gordon
Thanks again!
Vic
-- *************************************************************** Systems Administrator --------------------- Space Sciences Building CRSR Mail all system related problems to one of the following: sysadmin@astrosun.tn.cornell.edu root@astrosun.tn.cornell.edu sysadmin@spacenet.tn.cornell.edu root@spacenet.tn.cornell.edu or see Vic Germani in room 402 germani@astrosun.tn.cornell.edu ***************************************************************
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:51 CDT