Page 1 of 1

Samsung ML-1210 not printing

PostPosted: May 18th, '14, 02:38
by josea
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.

Re: Samsung ML-1210 not printing

PostPosted: May 18th, '14, 20:15
by doktor5000
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?

Re: Samsung ML-1210 not printing

PostPosted: May 18th, '14, 20:34
by josea
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)

Re: Samsung ML-1210 not printing

PostPosted: May 20th, '14, 06:29
by josea
"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.