potato netatalk/lpr problem

2000-08-18 Thread Ron Hale-Evans
After upgrading to Debian 2.2 the day it became stable, I ceased being able
to print to my AppleTalk printer. Tonight I realised my AppleTalk module
had been deinstalled, so I reinstalled it, and atalkd seems to be running
fine, but I'm still having printing problems.

papstatus shows the computer is online, and I can actually print PostScript
files to it with pap -p, but printing to it with lpr sends an error message
to my mailbox:



To: [EMAIL PROTECTED]
Subject: lp printer job "test"
Reply-To: [EMAIL PROTECTED]
From: lp <[EMAIL PROTECTED]>
Date: Thu, 17 Aug 2000 22:02:06 -0700
Status:  O

Your printer job (test)
could not be printed



Looking in the error log for the printer, I see many lines of the form "No
printer specified and ./.paprc not found.", but there's no timestamp or job
name on them. Printing fails even when I specify a printer name with lpr
-P, however.

My spool directory is /var/spool/lpd/lman, and I recreated it manually
tonight using the instructions at the LinuxWorld page
,
which is extremely helpful for AppleTalk printing problems. And my spool
directory does indeed contains a .paprc.

Here is my /etc/printcap:



lp|lman:\
:lp=/dev/null:\
:sd=/var/spool/lpd/lman:\
:sh:\
:pl#63:pw#80:px#3150:py#2400:\
:mx#0:\
:sf:\
:of=/usr/lib/atalk/filters/ofpap:\
:if=/usr/lib/atalk/filters/ifpap:\
:af=/var/log/lp-acct:\
:lf=/var/log/lp-errs:



Here is my papd.conf. I have tried both the commented-out and
uncommented-out code (I found the latter when I searched the Debian User
archives for "netatalk".)



#lman:\
#:pr=lp:op=root:\
#:pd=/usr/local/print/BLP_Elite.PPD:

lman:\
:pr=|/usr/bin/lpr -Plp:\
:pd=/usr/local/print/BLP_Elite.PPD:



Any ideas? Your help is greatly appreciated. This list always comes through
for me.

Ron H-E
-- 
   Ron's Info Closet: Center for Ludic Synergy, Kennexions Glass Bead Game,
Positive Revolution FAQ, Hexagram-8 I Ching Mailing List, and links...
   Ron Hale-Evans ... [EMAIL PROTECTED] ... 
Further up and further in! fnord



Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread aphro
On Mon, 6 Dec 1999, Jean-Yves BARBIER wrote:

jybarb >A MIRO PCTV (w/ bt848 chipset); that's why I think that the motherboard
jybarb >fault (well, in fact I think its the HPT366 controler fault, everything
jybarb >goes wrong, even under w$98, since its drivers are installed).

ahh ok.  My BP6 has the same controller but im not using it (100% scsi)

jybarb >I can use the SB live under Linux; under w$98, I'm obliged to suppress 
it,
jybarb >and to re-actualize the components list to get it work.

thats odd.

jybarb >
jybarb >AFAI remember, there's also another problem: On the BH-6 board I'm 
(quite)
jybarb >sure that Tekram DC-390(T) said it was 'EDGE Triggered', but now it
jybarb >*always* says it's 'LEVEL Triggered'.

the bh6 was supposed to be a solid board *sigh* another strike for abit
looks like.

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
7:29am up 108 days, 19:11, 3 users, load average: 1.95, 1.66, 1.64


Re: lpr problem [SOLVED!]

1999-12-06 Thread Jean-Yves BARBIER
On Sun, Dec 05, 1999 at 10:08:42PM -0800, aphro wrote:
> On Mon, 6 Dec 1999, Jean-Yves BARBIER wrote:
> 
> jybarb >Hi Nate, Sure I compiled it from the source, and enabled // port.
> 
> Ok, just want to re verify that you enabled parallel *printer* support,
> they are different options in kernel config, the one im talking about is
> in the character devices menu.  What do you get when you cat /proc/devices

OOps,

What a goofy I made! Sorry to have disturbed all that kind people,
Nate was right: I forgot to enable // port in char dev. section.

Thanks to all of you

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 "On the Internet, no one knows you're using Windows NT"
(Submitted by Ramiro Estrugo, [EMAIL PROTECTED])


Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread Jean-Yves BARBIER
On Sun, Dec 05, 1999 at 10:08:42PM -0800, aphro wrote:
> On Mon, 6 Dec 1999, Jean-Yves BARBIER wrote:
> 
> jybarb >Hi Nate, Sure I compiled it from the source, and enabled // port.
> 
> Ok, just want to re verify that you enabled parallel *printer* support,
> they are different options in kernel config, the one im talking about is
> in the character devices menu.  What do you get when you cat /proc/devices
> ?(this is part of the 2.2 kernel config dont think this particular option
> is part of the 2.0 config). Also you should have the PC style hardware
> option turned on.(I have it at least)

Oooops; I checked against your setup: I miss 'lp' in char dev.!!

> mine:
> 
> Character devices:
>   1 mem
>   2 pty
>   3 ttyp
>   4 ttyS
>   5 cua
   6 lp !!!
> 
> you could also have a look at /proc/parport
> 
> mine:
> 
> [EMAIL PROTECTED] /proc/parport/0] cat *
>  lp
> base: 0x378
> irq:  none
> dma:  none
> modes:SPP,ECP,ECPEPP,ECPPS2
> none

Ok, but I miss the last none

Thanks Nate; I'm gonna check the kernel setup line per line
(I hope I just missed a line :)

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 Time sharing: The use of many people by the computer.


Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread Jean-Yves BARBIER
On Sun, Dec 05, 1999 at 10:11:15PM -0800, aphro wrote:
> On Mon, 6 Dec 1999, Jean-Yves BARBIER wrote:
> 
> jybarb >I can't get my TV card to work well too (it was 4 weeks ago). 
> jybarb >I'll try to exchange it next wednesday to see what will happend. 
> 
> What kind of TV card?  I have been using Bt848 based TV cards for ages
> under linux, no trouble, if its this kind i can prob help you get it
> workin.

A MIRO PCTV (w/ bt848 chipset); that's why I think that the motherboard
fault (well, in fact I think its the HPT366 controler fault, everything
goes wrong, even under w$98, since its drivers are installed).
 
> as for the SB live i have a sb awe32 ..i know creative released drivers
> for it but they are binary only:< ack. i hear they got open source stuff
> around the corner though.

I can use the SB live under Linux; under w$98, I'm obliged to suppress it,
and to re-actualize the components list to get it work.

AFAI remember, there's also another problem: On the BH-6 board I'm (quite)
sure that Tekram DC-390(T) said it was 'EDGE Triggered', but now it
*always* says it's 'LEVEL Triggered'.

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 Time sharing: The use of many people by the computer.


Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread aphro
On Mon, 6 Dec 1999, Jean-Yves BARBIER wrote:

jybarb >I can't get my TV card to work well too (it was 4 weeks ago). 
jybarb >I'll try to exchange it next wednesday to see what will happend. 

What kind of TV card?  I have been using Bt848 based TV cards for ages
under linux, no trouble, if its this kind i can prob help you get it
workin.

as for the SB live i have a sb awe32 ..i know creative released drivers
for it but they are binary only:< ack. i hear they got open source stuff
around the corner though.

nate

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
10:00pm up 108 days, 9:43, 3 users, load average: 1.99, 1.68, 1.61


Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread aphro
On Mon, 6 Dec 1999, Jean-Yves BARBIER wrote:

jybarb >Hi Nate, Sure I compiled it from the source, and enabled // port.

Ok, just want to re verify that you enabled parallel *printer* support,
they are different options in kernel config, the one im talking about is
in the character devices menu.  What do you get when you cat /proc/devices
?(this is part of the 2.2 kernel config dont think this particular option
is part of the 2.0 config). Also you should have the PC style hardware
option turned on.(I have it at least)

mine:

Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 cua
  6 lp
  7 vcs
 10 misc
 14 sound
 21 sg
 81 video_capture
 89 i2c
119 vmnet
128 ptm
136 pts

Block devices:
  2 fd
  7 loop
  8 sd
 11 sr
 43 nbd

you could also have a look at /proc/parport

mine:

[EMAIL PROTECTED] /proc/parport/0] cat *
 lp
base:   0x378
irq:none
dma:none
modes:  SPP,ECP,ECPEPP,ECPPS2
none


jybarb >When I do 'cat ZZZ.txt >/dev/lp0' it says 'operation not supported'

sounds like a driver problem to me. the system seems unable to talk to the
lpt port.  i believe you need to resolve this basic stuff before moving
onto troubleshooting the spooler. BUT i could be wrong im no expert. a
message like that for sure leads me to think that it is a driver issue at
this point.

nate

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
10:00pm up 108 days, 9:43, 3 users, load average: 1.99, 1.68, 1.61


Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread Phil Brutsche
A long time ago, in a galaxy far, far way, someone said...

> On Sun, Dec 05, 1999 at 07:33:29PM -0600, Phil Brutsche wrote:
> > > When I do 'cat ZZZ.txt >/dev/lp0' it says 'operation not supported'
> > 
> > In that case, are you sure that /dev/lp0 is correct?  Have you tried
> > /dev/lp1 or /dev/lp2?
> 
> Yep, does the same thing!

Next question: are the drivers for the parallel port loaded?

> I'm now asking myself if its not the motherboard fault (ABIT BE6):
> I was obliged to reinstall w$98, and never succeed to have the same
> configuration to work well again (I didn't get the SB Live! correctly
> installed till I disabled the HPT366 controlers...); and under Linux, 
> I can't get my TV card to work well too (it was 4 weeks ago). 
> I'll try to exchange it next wednesday to see what will happend.

That would be my third question :)

-- 
--
Phil Brutsche   [EMAIL PROTECTED]

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein


Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread Jean-Yves BARBIER
On Sun, Dec 05, 1999 at 07:33:29PM -0600, Phil Brutsche wrote:
> A long time ago, in a galaxy far, far way, someone said...
> 
> > > I also suggest you cat a file directly to the port and see what
> > > happens. at least then you know you have communication and later you can
> > > work on the lpd/magicfilter problems.
> > 
> > When I do 'cat ZZZ.txt >/dev/lp0' it says 'operation not supported'
> 
> In that case, are you sure that /dev/lp0 is correct?  Have you tried
> /dev/lp1 or /dev/lp2?

Yep, does the same thing!

I don't know where it comes from, I'm totally stuck, even after a
package reinstall (even trying the original /etc/printcap).

I'm now asking myself if its not the motherboard fault (ABIT BE6):
I was obliged to reinstall w$98, and never succeed to have the same
configuration to work well again (I didn't get the SB Live! correctly
installed till I disabled the HPT366 controlers...); and under Linux, 
I can't get my TV card to work well too (it was 4 weeks ago). 
I'll try to exchange it next wednesday to see what will happend. 

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 Syntactic sugar causes cancer of the semicolon.
-- Epigrams in Programming, ACM SIGPLAN Sept. 1982


Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread Phil Brutsche
A long time ago, in a galaxy far, far way, someone said...

> > I also suggest you cat a file directly to the port and see what
> > happens. at least then you know you have communication and later you can
> > work on the lpd/magicfilter problems.
> 
> When I do 'cat ZZZ.txt >/dev/lp0' it says 'operation not supported'

In that case, are you sure that /dev/lp0 is correct?  Have you tried
/dev/lp1 or /dev/lp2?

-- 
--
Phil Brutsche   [EMAIL PROTECTED]

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstein



Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread Jean-Yves BARBIER
On Sun, Dec 05, 1999 at 04:41:26PM -0800, aphro wrote:
> I dont know what exactly is installed when(if) your using a debian binary
> kernel but if your compiling from source make sure you enable the Parellel
> printer support option in character devices when your making the kernel.

Hi Nate, Sure I compiled it from the source, and enabled // port.
 
> I also suggest you cat a file directly to the port and see what
> happens. at least then you know you have communication and later you can
> work on the lpd/magicfilter problems.

When I do 'cat ZZZ.txt >/dev/lp0' it says 'operation not supported'
 
JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 On the Internet, nobody knows you're a dog.
-- Cartoon caption


Re: lpr problem [Ooops, forgot infos]

1999-12-06 Thread aphro
I dont know what exactly is installed when(if) your using a debian binary
kernel but if your compiling from source make sure you enable the Parellel
printer support option in character devices when your making the kernel.

I also suggest you cat a file directly to the port and see what
happens. at least then you know you have communication and later you can
work on the lpd/magicfilter problems.

nate

On Mon, 6 Dec 1999, Jean-Yves BARBIER wrote:

jybarb >On Mon, Dec 06, 1999 at 12:12:27AM +0100, Jean-Yves BARBIER wrote:
jybarb >> Hi all,
jybarb >> 
jybarb >> I didn't print for a long time; 
jybarb >> 
jybarb >> when I try to print a simple text file (lpr ZZZ), 
jybarb >> lpq says: "waiting for lp to become ready (offline ?)"
jybarb >
jybarb >Motherboard is an ABIT BE-6.
jybarb >Of course, // port is in the kernel.
jybarb >I also checked IEEE 1284 in my kernel 2.2.12, and on boot, it says
jybarb >'parport0: PC-Style 0x378 [SPP, PS2]'
jybarb >'parport0: Printer, EPSON Stylus Photo 750'
jybarb > 
jybarb >> I check the cable, I de-installed/re-installed the 'lpr'
jybarb >> package (always using my conf files for a Epson 750, on
jybarb >> /dev/lp0). Still nothing (even under X, throught 'enscript').
jybarb >
jybarb >I also tryied to change the // port type in bios (EPP, ECP, SPP)
jybarb >nothings new :(
jybarb > 
jybarb >> Any clue??
jybarb >
jybarb >JY
jybarb >-- 
jybarb >Jean-Yves F. Barbier <[EMAIL PROTECTED]>
jybarb > Is it possible that software is not like anything else, that it is 
meant to
jybarb >be discarded:  that the whole point is to always see it as a soap 
bubble?
jybarb >
jybarb >
jybarb >-- 
jybarb >Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
jybarb >

[mailto:[EMAIL PROTECTED] ]--
   Vice President Network Operations   http://www.firetrail.com/
  Firetrail Internet Services Limited  http://www.aphroland.org/
   Everett, WA 425-348-7336http://www.linuxpowered.net/
Powered By:http://comedy.aphroland.org/
Debian 2.1 Linux 2.0.36 SMPhttp://yahoo.aphroland.org/
-[mailto:[EMAIL PROTECTED] ]--
3:49pm up 108 days, 3:32, 3 users, load average: 1.48, 1.52, 1.50


Re: lpr problem [Ooops, forgot infos]

1999-12-05 Thread Jean-Yves BARBIER
On Mon, Dec 06, 1999 at 12:12:27AM +0100, Jean-Yves BARBIER wrote:
> Hi all,
> 
> I didn't print for a long time; 
> 
> when I try to print a simple text file (lpr ZZZ), 
> lpq says: "waiting for lp to become ready (offline ?)"

Motherboard is an ABIT BE-6.
Of course, // port is in the kernel.
I also checked IEEE 1284 in my kernel 2.2.12, and on boot, it says
'parport0: PC-Style 0x378 [SPP, PS2]'
'parport0: Printer, EPSON Stylus Photo 750'
 
> I check the cable, I de-installed/re-installed the 'lpr'
> package (always using my conf files for a Epson 750, on
> /dev/lp0). Still nothing (even under X, throught 'enscript').

I also tryied to change the // port type in bios (EPP, ECP, SPP)
nothings new :(
 
> Any clue??

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 Is it possible that software is not like anything else, that it is meant to
be discarded:  that the whole point is to always see it as a soap bubble?


lpr problem

1999-12-05 Thread Jean-Yves BARBIER
Hi all,

I didn't print for a long time; 

when I try to print a simple text file (lpr ZZZ), 
lpq says: "waiting for lp to become ready (offline ?)"

I check the cable, I de-installed/re-installed the 'lpr'
package (always using my conf files for a Epson 750, on
/dev/lp0). Still nothing (even under X, throught 'enscript').

Any clue??

JY
-- 
Jean-Yves F. Barbier <[EMAIL PROTECTED]>
 Your computer account is overdrawn.  Please see Big Brother.


Re: lpr problem

1998-08-28 Thread Rafael Cordones Marcos
On Thu, Aug 27, 1998 at 01:01:38PM -0700, Richard Sevenich wrote:
> I've just installed Debian 2.0 on a new machine. I cannot get 'lpr' to
> print. In particular, its error message is:
> 
> "lpr: unable to get official name for local machine"
> 
> I could use a hint here.
> 

I guess you have to install magicfilter and then do  
magicfilterconfig as root.

Rafa


Fixed: lpr problem

1998-08-27 Thread Richard Sevenich
The flaw was a minor typo in /etc/hosts.
Sorry 'bout that.
Richard


lpr problem

1998-08-27 Thread Richard Sevenich
I've just installed Debian 2.0 on a new machine. I cannot get 'lpr' to
print. In particular, its error message is:

"lpr: unable to get official name for local machine"

I could use a hint here.

TIA, Richard


Re: lpr problem

1998-02-11 Thread servis
On 11 Feb, Christopher Judd wrote:
>   I just reinstalled most of my system (from 1.3.1 cd) after a crash, and 
> am trying to set
> up printing.  lpr returns an error message "unable to get official name for 
> local machine".  Any 
> pointers or info as to what causes this?
> 
> -Chris
> 

You might check the permissions on the host files like /etc/hosts
/etc/hostname, /etc/resolv.conf, etc.  Make sure they at least have
permissions of 444. 

-- 
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


lpr problem - cont'd

1998-02-11 Thread Christopher Judd
Regarding my previous post about lpr problems, I am running DHCPD to 
obtain IP 
address, etc.

-Chris



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


lpr problem

1998-02-11 Thread Christopher Judd
I just reinstalled most of my system (from 1.3.1 cd) after a crash, and 
am trying to set
up printing.  lpr returns an error message "unable to get official name for 
local machine".  Any 
pointers or info as to what causes this?

-Chris


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


re lpr problem

1997-08-01 Thread Richard Sevenich
Problem fixed with hostname command.
Regards, Richard


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


lpr problem

1997-08-01 Thread Richard Sevenich
I have been away from the list while on vacation. Upon my return I
updated to Debian 1.3.1
lpr now fails with the message:
lpr: unable to get official name for local machine

Any hints (I can print via cat).
Regards, Richard


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .