On Thursday 18 January 2001 20:39, Jerry Sternesky wrote:
OK Bad form replying to your own email. But I straightened the issue out.
Sometime typing out the problem helps you see the problem. As in this case,
the jobs were sitting in /var/spool/samba
so I typed lpr-cups -P lp -o raw TestPrintPage
and it printed with any problems, so I got to wondering were does the %p come
from and I guessed it is the share name, so I changed [epson] to [lp] and I
was off to the races.
> On Tuesday 16 January 2001 10:41, b5dave wrote:
>
> OK cups is alive and staying alive. I also get the ghostscript rpms
> t-shirt, I forgot I had the install cd in the drive and after select
> printerdrake. Bam! I was a member of the club.
>
> Anyway it copied in a ppds.dat file, that was larger than the first one, so
> I think I had a bad file. Anyway I started cups, checked every five
> minutes for the next half hour and it was still there. So I don't think
> samba was killing it.
>
> I had a linux client with an old install of 7.2 on it, configured for the
> dead hp. I fired up kups on that, and holy heaven I didn't have to change
> a thing on it. It was already configured for the new epson. A test page
> printed from there just fine.
>
> So now I am down to my issue. cups and samba, can we be friends. I can
> see the printer from my win98 client, I can even send a test print. and
> the file gets dropped in /var/spool/samba. I even open up notepad typed in
> some text and set that. It too is hanging around it /var/spool. So what
> gives? Anyone know.
>
> in smb.conf
>
> [global]
> printing = cups
> printcap name = lpstat
>
> [epson]
> path = /var/spool/samba
> writable = no
> create mode = 0700
> lprm command = cancel %p-%j
> lpq command = lpstat -o %p
> comment = All Printers
> guest ok = yes
> print command lpr-cups -P %p -o raw %s
> printable = yes
>
> printcap only has lp: in it.
>
> printer.conf
> Info Epson 777
> Location earth
> DeviceURI paraller/dev/lp0
> State Idle
> Accepting Yes
> JobSheets none none
>
> cupsd.conf
> LogLevel info
> Port 631
> AuthType Basic
> AuthClass System
>
> So Since I can print from the server itself and from a client, I think the
> issue is with samba.
>
> Thanks in advance.
>
> > On 16-Jan-2001 Jerry Sternesky wrote:
> > > It seems I am having lots of problems with cups. When I installed
> > > Mandrake 7.2, it found my epson 777 printer and set it up as a 740.
> > > There were no drivers for 777. I got a great test page and since then
> > > I haven't been able to do a thing with it.
> >
> > My LM7.2 install didn't find my old HP Deskjet 520 on lp0 so I tried to
> > setup printing post install. I'm on a simple single non-networked box.
> >
> > > It seems that the cups dameon just stops running.
> >
> > I was getting the same thing. IIRC, somewhere in the docs it mentioned
> > that some minutes after you start the daemon, it checks back with
> > /etc/cups/cupsd.conf but I could be way off base here. Nonetheless,
> > manually editing cupsd.conf fixed the dying daemon problem for me. None
> > of the config tools would worked because the install left me with an
> > unusable cupsd.conf file .... entries like ServerName were still remmed
> > out. I could start the daemon (# /etc/rc.d/init.d/cups start), but, like
> > you say, it would die after a few minutes.
> >
> > > After I start the machine I do a service cups status, I get back it's
> > > running and a pid number. After about 5 minutes, the status returns
> > > cups is stopped. I restart it and 5 minutes later it's stopped. I am
> > > really at a loss here.
> >
> > Unless Till (he's the resident CUPS guru) has the fix for you, I'd
> > suggest you first take a quick look at your /etc/cups/cupsd.conf file ...
> > along with a 'man cupsd.conf'.
> >
> > > When I use a client and netscpae to connect to http://"server":631 I
> > > get to the cups setup and the printer is there and configured, but I am
> > > unable to print a test page because server.domain.com not located, so I
> > > know I have a network issue to resolve with addressing
> >
> > I could well be wrong, but this sounds more and more like a bum
> > entry in your cupsd.conf file.
> >
> > > Since I will be scouring how-to's and faq's if anyone has some good
> > > ones besides the ones on mandrakeuser.org to point me to I would
> > > appreciate it.
> >
> > There's a pile of FAQ's here:
> > http://www.mandrakeforum.com/mysearch.php3?author=till
> >
> > plus the various resources at:
> > http://www.cups.org
> >
> > > BTW this machine is current as of 1/15 with all the updates for 7.2.
> >
> > Pretty well the same thing here, so .....
> >
> > I should also mention that I'm pretty certain PrinterDrake or Drakprint
> > or whatever it's called is broken. Going that route, you'd be asked to
> > insert your install CD, and, without warning, the program would proceed
> > to wipe out your updated Ghostscript rpms, replace them with the ones
> > from the CD, and promptly barf. Myself and at least two others have "been
> > there, done that".
> >
> > Do let us know how you get this worked out because, as you can see, the
> > whole mess isn't particularly clear to me either, and there aren't a
> > whole lot of people jumping in with concise solutions. Personally, I'm
> > ready to revert back to the old lpd/lpr system because the two fonts I
> > most often use for printing from Wordperfect come out slightly better the
> > old way.