Re: printing on sparc

2001-01-19 Thread Andy Dougherty
On Fri, 19 Jan 2001, Gabor Zoltan Csejtey wrote:

> I have some news. After sending some text to the printer (DEskJet
> 720C) the sun halted but then I unplugged the printer cable from the
> sun it came alive again. So it seems a hardware problem ? 
> Is there a similar printer port on the Ultra 10? It looks similar to
> the PC's.

Just for reference, I just had success with an old Apple LaserWriter
(Postscript) on the parallel port on an Ultra 1 running 2.2.17.  (This
printer probably doesn't tax the bi-directional capabilities of the port
very much, however:-).  Had I a nice DeskJet around, I'd try that, but
there are none around.

Here's what I did.  I don't know if all these are necessary, but life is
short so I haven't tried all exhaustive combinations.

MAKEDEV lp
MAKEDEV parport

And then in /etc/modules I added

bpp
parport

After that, /dev/lp0 worked.

-- 
Andy Dougherty  [EMAIL PROTECTED]
Dept. of Physics
Lafayette College, Easton PA 18042



Re: printing on sparc

2001-01-19 Thread Gabor Zoltan Csejtey
Hi,

This printer speaks PPA unfortunatelly. But there's a filter pnm2ppa
earlier called pbm2ppa which works under i386.

I'll look at the sun pages.

Gabor

Cc: debian-sparc@lists.debian.org
Content-Type: Text/Plain; charset=us-ascii
Date: Sat, 20 Jan 2001 00:33:02 +0900
From: Ragga Muffin <[EMAIL PROTECTED]>
X-Dispatcher: imput version 2414(IM141)

Hmm... ok, you have an ultra which is a totally different beast
than the Sparc 5 and has it's own kernel tree

It might be worthwhile to search www.sunhelp.com for the parallel
port specs. It sounds reasonable to assume the HP720 would work
at least using lpd, since there are filters that speak PCL...

I'll try to find a parallel printer and play with it a bit tomorrow
to find out if the parallel port on older sparcs is usable. 

Hejdo,

Ragga



Re: printing on sparc

2001-01-19 Thread Ragga Muffin

Gabor Zoltan Csejtey <[EMAIL PROTECTED]> wrote

> Hi,
> 
> I have some news. After sending some text to the printer (DEskJet
> 720C) the sun halted but then I unplugged the printer cable from the
> sun it came alive again. So it seems a hardware problem ? 
> Is there a similar printer port on the Ultra 10? It looks similar to
> the PC's.
 
> I used modprobe parport_ax and modprobe lp to get access to the
> /dev/lp0

Hmm... ok, you have an ultra which is a totally different beast
than the Sparc 5 and has it's own kernel tree

It might be worthwhile to search www.sunhelp.com for the parallel
port specs. It sounds reasonable to assume the HP720 would work
at least using lpd, since there are filters that speak PCL...

I'll try to find a parallel printer and play with it a bit tomorrow
to find out if the parallel port on older sparcs is usable. 

Hejdo,

Ragga



Re: printing on sparc

2001-01-19 Thread Gabor Zoltan Csejtey
Hi,

I have some news. After sending some text to the printer (DEskJet
720C) the sun halted but then I unplugged the printer cable from the
sun it came alive again. So it seems a hardware problem ? 
Is there a similar printer port on the Ultra 10? It looks similar to
the PC's.

I used modprobe parport_ax and modprobe lp to get access to the
/dev/lp0

To Ragga:

I'm using 2.2.17 kernel from Debian 2.2r0 and sun4u Ultra 10 with PCI
bus.

I'm tried the bpp module with the stock kernel:

~# insmod bpp
Using /lib/modules/2.2.17/misc/bpp.o
/lib/modules/2.2.17/misc/bpp.o: init_module: Device or resource busy
Hint: this error can be caused by incorrect module parameters, including 
invalid IO or IRQ parameters

and

~# modprobe bpp
/lib/modules/2.2.17/misc/bpp.o: init_module: Device or resource busy
Hint: this error can be caused by incorrect module parameters, including 
invalid IO or IRQ parameters
/lib/modules/2.2.17/misc/bpp.o: insmod /lib/modules/2.2.17/misc/bpp.o failed
/lib/modules/2.2.17/misc/bpp.o: insmod bpp failed

modprobe parport_ax
modprobe lp

works but then I have the problem with the printer.

To Jean-Paul Blaquiere

I tried printing through the lpr daemon as well. 

Gabor



Re: printing on sparc

2001-01-18 Thread Ragga Muffin

Jean-Paul Blaquiere <[EMAIL PROTECTED]> wrote:

>> modprobe parport_ax
>> modprobe lp

What kernel and arch is this ?

>hmmm as no one else has answered
>have you tried printing through the lpr daemon?
>Or tried insmod'ing parport first as well.

The sparclinux has no such options, at least not in kernels above 2.2.13
(the first kernel I installed on a sparc 5).

The parallel port support is called "Sparc Bidirectional Parallel Port"
and the module to load is bpp.
A successful insmod should give you
bpp in /proc/ioports and /proc/devices.

However, I gave up on the parallel printer because it turned out it wouldn't
even do a self-test page  :(
So now I use a network printer and can't give a success story, sorry.

Greetings,

Ragga



Re: printing on sparc

2001-01-18 Thread Gabor Zoltan Csejtey
Hi,

I sent a mail earlier this day to the debian-sparc list. Haven't you
read it? I have problems with printing too.
I didn't have /dev/lp* after installing Debian 2.2r0.

Gabor

Here's the mail:
From: Gabor Zoltan Csejtey <[EMAIL PROTECTED]>
To: debian-sparc@lists.debian.org
Subject: Printing on Ultra 10
Resent-From: debian-sparc@lists.debian.org
X-Mailing-List:  archive/latest/5642
X-Loop: debian-sparc@lists.debian.org
Precedence: list
Resent-Sender: [EMAIL PROTECTED]

I'm trying to install a printer to my Sparc machine.

su
cd /dev
MAKEDEV lp

modprobe parport_ax
modprobe lp

cat something.txt > /dev/lp0

and the machine hangs up, I can use only STOP-A to reboot.

What is the problem? Where can I find info about printing on SparcLinux?

Gabor
PS.
The printer is Deskject 720C which works from Pentium with Debian 2.2
and pbm2ppa.



Re: printing on sparc

2001-01-18 Thread Jean-Paul Blaquiere
> On Jan 18, Gabor Zoltan Csejtey scratched in indelible ink :

> I sent a mail earlier this day to the debian-sparc list. Haven't you
> read it? I have problems with printing too.
> I didn't have /dev/lp* after installing Debian 2.2r0.
> 
hmmm as no one else has answered
have you tried printing through the lpr daemon?


Or tried insmod'ing parport first as well.
ppl, is it compiled into the kernel by default?

> su
> cd /dev
> MAKEDEV lp
> 
> modprobe parport_ax
> modprobe lp
> 
> cat something.txt > /dev/lp0
> 
> What is the problem? Where can I find info about printing on SparcLinux?
> 
apt-get install lprng
then /usr/doc/lprng/LPRng-HOWTO.html
and apt-get install doc-linux-text
gives you all the HOWTOs.
then /usr/share/doc/HOWTO/en-txt/Printing-Usage-HOWTO.txt.gz 


/Jp...
-- 
Jean-Paul Blaquière ||   Avatar of Computational 
   [EMAIL PROTECTED]   ||   Thaumaturgy
   http://japester.ucc.aan.au   ||
 The only thing keeping me from being a serial killer is my distast for
 manual labour  - dilbert