i believe that the print job can not be written in the spool dir. Not enough privileges. Patrick Op do 20-02-2003, om 17:37 schreef Thomas Robinson: > Thanks to every body for their input. I've switched over to CUPS and got > at least one of my printers working (the local one). That was too easy. > For some reason redhat-config-printer will not work on my system. > > New Question. Does anyone know how to get a samba printer working on > cups? /etc/samba/smb.conf has: > > printcap name = cups > load printers = yes > printing = cups > > # service smb restart > > Here's what cups reports about the printer status: > > Description: HP2000C > Location: HADES > Printer State: idle, accepting jobs. > Device URI: smb://HADES/HP2000C > > When I try and print a test page I get: > > Forbidden > You don't have permission to access the resource on this server. > > Any clues? > > Thanks, > > t. > > On Wed, 2003-02-19 at 19:55, Craig White wrote: > > On Wed, 2003-02-19 at 05:29, Thomas Robinson wrote: > > > On Tue, 2003-02-18 at 15:36, Craig White wrote: > > > > On Tue, 2003-02-18 at 07:32, Thomas Robinson wrote: > > > > > On Tue, 2003-02-18 at 14:02, Tim Waugh wrote: > > > > > > On Tue, Feb 18, 2003 at 01:22:02PM +0000, Thomas Robinson wrote: > > > > > > > > > > > > > Hmmm...I just looked in /var/spool/lpd/hplj4 and found the lpq.0 file: > > > > > > > there is an error message in there: > > > > > > > > > > > > > > ---8<--- > > > > > > > Status: IF filter 'mf_wrapper' filter msg - 'error closing *main::STDOUT > > > > > > > at /usr/sbin/lpdomatic line 812, <KID4_IN> line 672.' at 13:02:58.929 > > > > > > > ---8<--- > > > > > > > > > > ----- > > > > This is from my /etc/printcap...also an HP LaserJet 4 > > > > > > > > lp|felix:\ > > > > :ml#0:\ > > > > :mx#0:\ > > > > :sd=/var/spool/lpd/lp:\ > > > > :af=/var/spool/lpd/lp/lp.acct:\ > > > > :sh:\ > > > > :lp=/dev/lp0:\ > > > > :lpd_bounce=true:\ > > > > :if=/usr/share/printconf/util/mf_wrapper: > > > > > > > > and ls -al /var/spool/lpd/lp > > > > drwx------ 2 lp lp 4096 Feb 16 20:35 . > > > > drwxr-xr-x 4 root root 4096 Jun 1 2000 .. > > > > -rw------- 1 lp lp 33117 Oct 25 2001 acct > > > > -rw------- 1 lp lp 147 May 16 2002 > > > > cfA622barney.azapple.com > > > > -rw------- 1 lp lp 0 May 27 2001 control.lp > > > > -rw------- 1 lp lp 0 May 15 2002 control.pr > > > > -rw------- 1 lp lp 42122 May 16 2002 > > > > dfA622barney.azapple.com > > > > -rw------- 1 lp lp 515 May 16 2002 hfA622 > > > > -rw------- 1 lp lp 0 Feb 18 08:25 lock.pr > > > > -rw------- 1 lp lp 0 May 27 2001 log > > > > -rw------- 1 lp lp 0 May 15 2002 lp > > > > -rw------- 1 lp lp 160449 Feb 16 20:30 lp.acct > > > > -rw------- 1 lp lp 3141 Feb 16 00:26 lpq.0 > > > > -rw------- 1 lp lp 688 Oct 2 23:49 mf.cfg > > > > -rw------- 1 lp lp 17475 Oct 2 23:49 > > > > Postscript-69120.foo > > > > -rw------- 1 lp lp 0 May 27 2001 status > > > > -rw------- 1 lp lp 1036 May 15 2002 status.lp > > > > -rw------- 1 lp lp 6861 Feb 16 20:35 status.pr > > > > -rw------- 1 lp lp 6 May 15 2002 unspooler.lp > > > > -rw------- 1 lp lp 6 Feb 16 20:30 unspooler.pr > > > > -rw------- 1 lp lp 483 Oct 2 23:49 VOLATILE > > > > > > > > HTH > > > > > > > > Craig > > > > > > Craig, > > > > > > My set-up looks like yours; all except the name/alias of the printer. > > > You say yours works fine? Is there something else I'm missing? I still > > > get the error message in lpq.0 when I print. Can you check your lpq.0 > > > output by chance? > > > > > ------ > > cat /var/spool/lpd/lp/lpq.0 > > Printer: lp@barney 'felix' > > Queue: no printable jobs in queue > > Server: no server active > > Status: subserver pid 16556 exit status 'JSUCC' at 11:48:50.840 > > Status: lp@barney.azapple.com: job 'craig@linuxserver+854' printed at > > 11:48:50.841 > > Status: job 'craig@linuxserver+854' saved at 11:48:50.842 > > Status: job 'craig@linuxserver+854' removed at 11:54:46.855 > > Status: waiting for subserver to exit at 17:57:50.745 > > Status: subserver pid 22548 starting at 17:57:50.748 > > Status: accounting at start at 17:57:50.763 > > Status: opening device '/dev/lp0' at 17:57:50.784 > > Status: printing job 'craig@linuxserver+723' at 17:57:50.822 > > Status: processing 'dfA723linuxserver.azapple.com', size 73909, format > > 'f', IF filter 'mf_wrapper' at 17:57:50.844 > > Status: IF filter 'mf_wrapper' filter finished at 17:57:59.543 > > Status: printing finished at 17:57:59.543 > > Status: accounting at end at 17:57:59.543 > > Status: finished 'craig@linuxserver+723', status 'JSUCC' at > > 17:57:59.544 > > Status: subserver pid 22548 exit status 'JSUCC' at 17:57:59.546 > > Status: lp@barney.azapple.com: job 'craig@linuxserver+723' printed at > > 17:57:59.547 > > Status: job 'craig@linuxserver+723' saved at 17:57:59.548 > > Status: job 'craig@linuxserver+723' removed at 18:04:57.604 > > Status: waiting for subserver to exit at 09:29:33.366 > > Status: subserver pid 24717 starting at 09:29:33.396 > > Status: accounting at start at 09:29:33.396 > > Status: opening device '/dev/lp0' at 09:29:33.428 > > Status: printing job 'craig@linuxserver+552' at 09:29:33.459 > > Status: processing 'dfA552linuxserver.azapple.com', size 78596, format > > 'f', IF filter 'mf_wrapper' at 09:29:33.459 > > Status: IF filter 'mf_wrapper' filter finished at 09:29:42.569 > > Status: printing finished at 09:29:42.569 > > Status: accounting at end at 09:29:42.570 > > Status: finished 'craig@linuxserver+552', status 'JSUCC' at > > 09:29:42.570 > > Status: subserver pid 24717 exit status 'JSUCC' at 09:29:42.686 > > Status: lp@barney.azapple.com: job 'craig@linuxserver+552' printed at > > 09:29:42.687 > > Status: job 'craig@linuxserver+552' saved at 09:29:42.687 > > Status: job 'craig@linuxserver+552' removed at 09:35:01.714 > > Status: waiting for subserver to exit at 09:48:42.075 > > Status: subserver pid 24782 starting at 09:48:42.079 > > Status: accounting at start at 09:48:42.079 > > Status: opening device '/dev/lp0' at 09:48:42.080 > > Status: printing job 'craig@linuxserver+588' at 09:48:42.080 > > Status: processing 'dfA588linuxserver.azapple.com', size 50510, format > > 'f', IF filter 'mf_wrapper' at 09:48:42.081 > > Status: IF filter 'mf_wrapper' filter finished at 09:48:49.591 > > Status: printing finished at 09:48:49.591 > > Status: accounting at end at 09:48:49.592 > > Status: finished 'craig@linuxserver+588', status 'JSUCC' at > > 09:48:49.592 > > Status: subserver pid 24782 exit status 'JSUCC' at 09:48:49.595 > > Status: lp@barney.azapple.com: job 'craig@linuxserver+588' printed at > > 09:48:49.595 > > Status: job 'craig@linuxserver+588' saved at 09:48:49.596 > > Status: job 'craig@linuxserver+588' removed at 09:55:01.604 > > Status: waiting for subserver to exit at 20:30:36.308 > > Status: subserver pid 11143 starting at 20:30:36.343 > > Status: accounting at start at 20:30:36.343 > > Status: opening device '/dev/lp0' at 20:30:36.371 > > Status: printing job 'craig@linuxserver+472' at 20:30:36.387 > > Status: processing 'dfA472linuxserver.azapple.com', size 569380, format > > 'f', IF filter 'mf_wrapper' at 20:30:36.387 > > Status: IF filter 'mf_wrapper' filter finished at 20:30:55.185 > > Status: printing finished at 20:30:55.186 > > Status: accounting at end at 20:30:55.186 > > Status: finished 'craig@linuxserver+472', status 'JSUCC' at > > 20:30:55.186 > > Status: subserver pid 11143 exit status 'JSUCC' at 20:30:55.239 > > Status: lp@barney.azapple.com: job 'craig@linuxserver+472' printed at > > 20:30:55.239 > > Status: job 'craig@linuxserver+472' saved at 20:30:55.240 > > Status: job 'craig@linuxserver+472' removed at 20:35:01.256 > > Rank Owner/ID Class Job Files Size > > Time > > done craig@barney+622 A 622 (STDIN) 42122 > > 07:03:02 > "You must learn to run your kayak by a sort of ju-jitsu. You must learn > to tell what the river will do to you, and given those parameters see > how you can live with it. You must absorb its force and convert it to > your users as best you can. Even with the quickness and agility of a > kayak, you are not faster than the river, nor stronger, and you can beat > it only by understanding it." -- Strung, Curtis and Perry, _Whitewater_ -- Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. (Albert Einstein) PGP Key: http://users.pandora.be/rivendell/marquetp.gpg Registered Linux User #44550 http://counter.li.org
Attachment:
signature.asc
Description: Dit berichtdeel is digitaal gesigneerd