Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install a network printer but I can only print with root 2

Status
Not open for further replies.

ejg777

Programmer
Jun 5, 2009
2
0
0
VE
Install a network printer and I can only print with root
if I use another login creates the request and soon disappears, but does not print
please tell me what to do to correct this?
 
Check the permissions on the interface script.

You need to give a bit more information on how the printer is configured (i.e. HPNP, NETCAT, LPR, SAMBA).

"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
is a hp4015 laserjet

# lpstat -t
usb1:
queuing is enabled
Printer Status: On line
scheduler is running
system default destination: usb1
device for usblp: /dev/usblp-001D2-1
device for hp4015: /dev/null
usb1 not accepting requests since Tue Jun 09 07:25:19 2009 -
new destination
usblp accepting requests since Tue Dec 30 12:37:38 2008
hp4015 accepting requests since Thu Jul 22 17:30:08 2010
printer usb1 is idle. enabled since Tue Jun 09 19:51:28 2009. available.
printer usblp is idle. enabled since Tue Dec 30 12:37:38 2008. available.
printer hp4015 is idle. enabled since Thu Jul 22 17:30:08 2010. available.
character set character_set_1
character set character_set_2
#
 
-rwxrwxr-x 1 lp lp 3070 Jun 8 2009 PS-713653
-rwxrwxr-x 1 lp lp 3079 Jul 22 17:30 hp4015
drwxrwxr-x 2 bin lp 96 Jul 22 17:30 model.orig
-rwxrwxr-x 1 lp lp 3453 Dec 30 2008 usblp
#
 
What version of SCO is this?

What happens when you enter the following in console mode as an ordinary user?

lp -dhp4015 /etc/inittab

Do you have CUPS as your backend spooler? If so, review the security setup for CUPS.

Do you know if you are using LPR, HPNP or some other frontend? (we can't tell from the lpstat output)

----------------------------------------------------------------
Pat Welch, UBB Computer Services, a WCS Affiliate
SCO Authorized Partner
Microlite BackupEdge Certified Reseller
Unix/Linux/Windows/Hardware Sales/Support
(209) 745-1401 Cell: (209) 251-9120
E-mail: patubb@inreach.com
 
Problem with the permissions is probably on a higher level, /usr/spool/lp. You might want to try /etc/fixperm to fix it. For the good use: man fixperm

Greetz, Wim. Please remember, The Netherlands is in a different timezone.
 
the operating system is SCO OpenServer 6.0
I do not use cups
install it as hpnp
 
Check the permissions in the /usr/spool/lp/admins/lp/interfaces/model.orig directory. HPNP is pretty good about getting those right, but it's worth checking anyway.

Also check the contents of /usr/spool/lp/admins/lp/printers/hp4015. Look at the "users.allow" and "users.deny" files (don't worry if they are missing).

Did you get an error when you ran the command as suggested by Pat?

"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
hi

user.allow and user.deny are missing

when using lp-dhp4015 / etc / inittab from an ordinary user
create the request but then disappears without printing
I do not use cups but is installed
if I use root is normally printed
 
You are really using CUPS - the SCO lp command is using CUPS as the backend if CUPS is installed, unless you specifically symlinked lp to the SysV version of lp.

Check the security setup for CUPS.

Also, try creating users.deny as a zero length file.

I don't have access to a 6.0 machine at the moment, but under 5.0.7 it should be in:

/var/spool/lp/admins/lp/printers/<printer name>/users.deny


----------------------------------------------------------------
Pat Welch, UBB Computer Services, a WCS Affiliate
SCO Authorized Partner
Microlite BackupEdge Certified Reseller
Unix/Linux/Windows/Hardware Sales/Support
(209) 745-1401 Cell: (209) 251-9120
E-mail: patubb@inreach.com
 
Can you see if there are any clues in the user's mailbox? Check /usr/spool/mail/{username}. The LP program will sometimes throw errors in there.

This still sounds like a permissions issue on the interface file, or something the interface file is trying to spawn. Did you check the corresponding interface file:
/usr/spool/lp/admins/lp/interfaces/model.orig/hp4015

"Proof that there is intelligent life in Oregon. Well, Life anyway.
 
dear friends
Thanks for your interest and support
the problem was that he was sending, or nobanner and I was not accepting
you remove this parameter and set it up with scoadmin banner = 0 and it was resolved
thank you very much to all
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top