Date: Wed, 15 Nov 2000 06:19:02 +0100 From: Jean-Fran�ois Bocquet <tns01@free.fr>@Ouranos.Chaos.fr Message-ID: <20001115061902.A8009@Ouranos> Subject: Re: [SLE] Printer problems Hello Richard, on Tuesday, November 14, 2000 at 14:58:51 +0000, you sat in front of your keyboard and wrote:
Hi everyone,
Since upgrading to SuSE 7.0 I have had trouble with the printer and I can't find out why any help or pointers of any kind will be greatly appreciated.
I have one printer HP520 that apparently sets up fine under Yast2 and prints out a nice little page with a gecko on it but after that trying to print anything as user is impossible as root everything works fine but I don't want to write my documents then log out to log back in as root just to print them. I have tried the following as root
# ls -l >/dev/lp0
works just fine so I know the port and printer are working.
as user it doesn't work unless I change the permissions on /dev/lp0 then it works as user. I don't know if I should do this but it doesn't help my overall problems anyway.
I then tried checking status of the printers and got the following which seems ok apart from the entry in the ascii spool. Doesn't mean anything to me.
richard@localhost:~ > lpc status ascii: queuing is enabled printing is disabled 1 entry in spool area no daemon present lp: queuing is enabled printing is enabled no entries no daemon present raw: queuing is enabled printing is enabled no entries no daemon present richard@localhost:~ >
Tried listing lpd and have no idea where yast got this lot from I'm sure I only had 3 entries in here when I was running 6.4. I'm afraid to delete them in case I take out the abiliy of root to print and then I would be really stuck.
richard@localhost:~ > ls -l /var/spool/lpd total 72 drwxr-xr-x 2 lp lp 4096 Oct 17 17:42 cdeskjet-a4-ascii-mono-30 0 drwxr-xr-x 2 lp lp 4096 Oct 17 19:34 cdeskjet-a4-auto-mono-300 drwxr-xr-x 2 lp lp 4096 Oct 17 17:42 cdeskjet-a4-raw drwxr-xr-x 2 lp lp 4096 Oct 15 03:23 cdj500-a4-ascii-mono-300 drwxr-xr-x 2 lp lp 4096 Oct 17 17:40 cdj500-a4-auto-mono-300 drwxr-xr-x 2 lp lp 4096 Oct 15 03:23 cdj500-a4-raw drwxr-xr-x 2 lp lp 4096 Oct 28 10:37 djet500-a4-ascii-mono-300 drwxr-xr-x 2 lp lp 4096 Sep 12 08:16 djet500-a4-ascii-mono-600 drwxr-xr-x 2 lp lp 4096 Nov 13 10:23 djet500-a4-auto-mono-300 drwxr-xr-x 2 lp lp 4096 Sep 12 15:30 djet500-a4-auto-mono-600 drwxr-xr-x 2 lp lp 4096 Sep 12 08:16 djet500-a4-raw -rw-r--r-- 1 root root 4 Nov 14 14:40 lpd.lock drwxr-xr-x 2 lp lp 4096 Oct 17 17:47 y2prn_Hp_Deskjet_520.upp- -ascii-Hp_Deskjet_520 drwxr-xr-x 2 lp lp 4096 Oct 17 17:47 y2prn_Hp_Deskjet_520.upp- -auto-Hp_Deskjet_520 drwxr-xr-x 2 lp lp 4096 Oct 17 17:47 y2prn_Hp_Deskjet_520.upp- -raw-Hp_Deskjet_520 drwxr-xr-x 2 lp lp 4096 Oct 17 18:02 y2prn_printer1.upp--ascii -printer1 drwxr-xr-x 2 lp lp 4096 Oct 17 18:50 y2prn_printer1.upp--auto- printer1 drwxr-xr-x 2 lp lp 4096 Oct 17 18:02 y2prn_printer1.upp--raw-p rinter1 richard@localhost:~ >
-- Regards
Richard
Is the user 'richard' a member of the group 'lp'? Maybe a solution?... Regards... -- Jean-Fran�ois Bocquet <tns01@free.fr> ================================+ http://tns01.free.fr | ��� Linux User #177410| | GPG publickey: http://tns01.free.fr/pubkey.asc | fingerprints: 4E98 A7F2 6C26 6554 9562 C64E 5548 BF94 DE59 0A12 | =================================+ | -----BEGIN GEEK CODE BLOCK------ +------------------------------------+ Version: 3.12 Comment: For info see http://www.geekcode.com GCS/S d-- s:+ a- C++ UL+>++ P+ L+++>++++ E W++ N+ o+ K- !w O? M? V? PS PE- Y+ PGP+ t+ 5? X++ R tv++ b+ DI- D+ G e+ h! r-- y? ------END GEEK CODE BLOCK------