Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Printing as regular user with cups, Regular user cannot connect to cups port< Next Oldest | Next Newest >
jrusso19 Offline





Group: Members
Posts: 16
Joined: July 2006
Posted: July 17 2006,19:57 QUOTE

I want to be able to print from a regular user account that I am going to use on the net.

I tried to connect to the cups at http://localhost:631 but as a regular user I am refused.

I set it up in dsl user but I cannot print to it from regular user.

How can I get this working for a regular user to print?

NM I guess the cups server has to be started manually all the time.

Thanks

Jeanette
Back to top
Profile PM 
brianw Offline





Group: Members
Posts: 245
Joined: Sep. 2005
Posted: Aug. 15 2006,00:20 QUOTE

In firefox I had to change the properties for the printer from:

lpr ${MOZ_PRINTER_NAME:+'-P'}${MOZ_PRINTER_NAME}

to:

sudo lp ${MOZ_PRINTER_NAME:+'-d'}${MOZ_PRINTER_NAME}

notice added sudo in front, changed lpr to lp, and changed -P to -d

You should be able to set cups to start automatically by adding a line to /opt/bootlocal.sh

/etc/init.d/cupsys start
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Aug. 15 2006,18:27 QUOTE

For me when printing, although I did not use CUPS, I changed the permissions on /var/spool/<printer> to be allowed to be accessed by all users.

I'm pretty sure the above solution (using sudo) would also work.
Back to top
Profile PM 
2 replies since July 17 2006,19:57 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Printing as regular user with cups

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code