[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Printer help please!



On Sun, Jul 08, 2001 at 10:37:51AM +0200, Andrea Vettorello wrote:
> bernard wrote:
> 
> > For the last three days I have been banging my head against the wall
> > ("don't worry dear, its as pointy as ever it was" says my sympathetic
> > girlfriend) trying to get my printer to work. I installed potato some
> > time ago and tried to install cups, but didn't have much luck, so
> > I stripped everything off and re-installed lprng. I then used apsfilter
> > to configure things, the apsfilter printed a perfect test page but
> > when I used lpr....nothing! I tried with printtool which printed a
> > test ascii direct to the port but under lpr the printer muttered a
> > bit and then stopped. lpq -L gives me the following
> >
> >         bernard@debian:~$ lpq -L
> >         Printer: lp@debian
> >          Queue: no printable jobs in queue
> >          Status: accounting at start at 14:35:56.401
> >          Status: opening device '/dev/lp0' at 14:35:56.452
> >          Status: printing job 'root@debian+779' at 14:35:56.468
> >          Status: printing 'root@debian+779' starting OF at 14:35:56.468
> >          Status: printing data file 'dfA779debian', size 42 at 14:35:56.468
> >          Status: IF filter finished at 14:35:57.631
> >          Status: printing done 'root@debian+779' at 14:35:57.631
> >          Status: accounting at end at 14:35:57.631
> >          Status: finished 'root@debian+779', status 'JSUCC' at 14:35:57.631
> >          Status: subserver pid 5782 exit status 'JSUCC' at 14:35:57.636
> >          Status: lp@debian: job 'root@debian+779' printed at 14:35:57.637
> >          Status: job 'root@debian+779' removed at 14:35:57.639
> >
> >
> >
> > I can't see much wrong with the permissions-I'm currently operating
> > root.
> >
> >         bernard@debian:~$ ls -l /var/spool/lpd
> >         total 24
> >         drwx------    2 daemon   lp           4096 Jul  2 14:53 lp
> >         drwxr-xr-x    2 lp       lp           4096 Jul  2 11:54 stcolor-a4-ascii-color
> >
> >
> >         debian:/home/bernard# ls -l /var/spool/lpd/lp
> >         total 28
> >         -rw-------    1 daemon   lp           1602 Jul  2 14:53 acct
> >         -rw-------    1 daemon   lp              0 Jul  2 13:56 control.lp
> >         lrwxrwxrwx    1 root     lp             35 Jul  2 13:56 filter -> /usr/share/printtool//master-filter
> >         -rw-------    1 daemon   lp            187 Jul  2 13:56 general.cfg
> >         -rw-------    1 daemon   lp              0 Jul  2 13:56 log
> >         -rw-------    1 daemon   lp              5 Jul  2 14:53 lp
> >         -rw-------    1 daemon   lp            346 Jul  2 13:56 postscript.cfg
> >         -rw-------    1 daemon   lp              0 Jul  2 13:56 status
> >         -rw-------    1 daemon   lp           2847 Jul  2 14:53 status.lp
> >         -rw-------    1 daemon   lp            146 Jul  2 13:56 textonly.cfg
> >         -rw-------    1 daemon   lp
> >
> > I would be pathetically crawlingly grateful to anybody who could assist. There is
> > absolutely no shortage of additional information-three days worth-if required.
> >
> 
> Frustrating when none reply, isn't?
> 
> Not an expert here, but i'm using pdq/xpd (tracking unstable =) with a stylus color 880 and works quite well
> with the ghostscript stp driver. You don't mention your printer, but i will suggest, as a starting point,
> www.linuxprinting.org (IIRC). About the permission, try adding your user to the "lp" group (no need to use
> root)...

What about the permissions of your entry in /dev/lp0 or whatever
you're using?  I believe the lprng daemon doesn't use root priviledges
and won't work if the permissions are set wrong even if you're logged
in as root.

I had this problem myself.  I could print a test page in apsfilter
perfectly, but lprng printing wouldn't work until I changed the
permissions of /dev/lp0.

-- 
Brian Nelson <nelson@bignachos.com>



Reply to: