Samsung ML-1210 not printing

Samsung ML-1210 not printing

Postby josea » May 18th, '14, 02:38

So I've installed the printer Samsung ML-1210 (connected to the LPT port), and it worked fine. Next, I reboot the computer and when I try to print I get the message:

"Stopped - Unable to open device file: Permission denied"

So I re-install the printer, works fine, and next time I start the computer again I get the above message.

It's not a printer issue, as I have a double-boot machine, when I boot into Windows7, the printer works fine. Also, I have another printer (an HP) connected to the USB port, and that works fine (under both Windows7 & Mageia3). I suspect it has somehting to do with permissions. Any ideas on how I can fix this permanently?

Thanks.
josea
 
Posts: 3
Joined: May 18th, '14, 02:33

Re: Samsung ML-1210 not printing

Postby doktor5000 » May 18th, '14, 20:15

Yep, you need to change the permissions of the lpt device that is used for the printer.
Please show the output as normal user of
Code: Select all
ls -al /dev/lp*
id


It's probably enough when you add your user to the lp group via drakuser: http://doc.mageia.org/mcc/4/en/content/userdrake.html
Right-click your user -> Edit -> Groups tab and tick the lp group. OK, then logout and login again.
Does it work now?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18048
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Samsung ML-1210 not printing

Postby josea » May 18th, '14, 20:34

Thanks for replying. I am already a member of the lp group, as seen in drakeuser.

The output of ls -al /dev/lp* is

Code: Select all
crw-rw---- 1 root lp 6, 0 May 18 10:43 /dev/lp0
crw-rw---- 1 root lp 6, 1 May 18 10:43 /dev/lp1
crw-rw---- 1 root lp 6, 2 May 18 10:43 /dev/lp2
crw-rw---- 1 root lp 6, 3 May 18 10:43 /dev/lp3


The output of id is

Code: Select all
uid=500(josea) gid=4(adm) groups=4(adm),0(root),3(sys),7(lp),482(scanner),500(josea)
Last edited by doktor5000 on May 18th, '14, 20:57, edited 1 time in total.
Reason: added code tags
josea
 
Posts: 3
Joined: May 18th, '14, 02:33

Re: Samsung ML-1210 not printing

Postby josea » May 20th, '14, 06:29

"Right-click your user -> Edit -> Groups tab and tick the lp group. OK, then logout and login again.
Does it work now?"

Already a member of the lp group; logged out, logged back in; still does not work.
josea
 
Posts: 3
Joined: May 18th, '14, 02:33


Return to Printers and Scanners

Who is online

Users browsing this forum: No registered users and 1 guest

cron