That will tell you where this command is run from for your set up. You may or may not have permissions to look at this file...typical set up is that root only has access....others can only execute. If you've got root access though...
Hi,
I have been using Hp so far and I am a new user to Solaris..
well, in HP Unix, if I type 'lpstat' if gives me the list of printers connected to the network and their status.. but in solaris it only gives the details if there is any job on the queue. I just want to know what is the... (3 Replies)
I don't know if anyone still looks at this forum or not, but here goes.
I've got two identical SCO OpenServer 5.0.7 machines, fully patched and updated. On one the non-root user can do lpstat -p and it will display a list of printers and their status, on the other:
$ lpstat -p
UX:lpstat: ERROR:... (3 Replies)
Hi there all..
I got 4 HP ux systems and 4 AIX systems here.
when I let LPSTAT make a report in aix with -W
I get a really nice report.
Example:
Queue Dev Status Job Files User PP % Blks Cp Rnk
-------------------- -------------- --------- ------ ------------------ ---------- ---- ---... (12 Replies)
Hi there all,
I got a long list of printers installed and a longer list of printers in my hosts file.
In the hosts file I got a even longer list of printers
in the hosts file I got the IP adress of all printers next to the printer name.
How can I get a script working to get the printers... (0 Replies)
Hi Guys,
I am geting this message ".status: (WARNING): 0781-102 Invalid printer name: xerox".i m reading printer name from a text file.i try to print the value reading from file is correct xerox. if run lpstat -pxerox -l it works fine but when i try to read from file it throughs warining.please... (1 Reply)
Hi,
here is lpstat command with queue name. queue name is not valid but lpstat takes my local queue and shows the following results.is there any way that i can stop it after waring message and dont take local print queue. i would like to print a message that queue is not valid but when lpstat... (4 Replies)
Hi,
I tried to migrate a server, I installed AIX on a new server and I want to configure the printer queues. I copied all of files from the old server where the printer queues are working fine. I followed these steps:
1. copy the /etc/qconfig (make a copy of the original before)
2. Copy the... (10 Replies)
Hi
lpstat reports me "Failed to contact service for xxxxxx: not-found"
lpstat -p test -l
printer test unknown state. enabled since Oct 27 12:01 2009. available.
Remote Name: XXXXXX
Remote Server: sunsrv
Failed to contact service for xxxxxx: not-found
can someone help... (1 Reply)
Hi all,
Newbie to the site here and fairly novice to UNIX\LINUX so please bear with me.:)
My question is; can the lpstat -t command show the size of the print jobs in mb or gb instead of bytes? They would be much easier to view this way.
For more information of what I'm on about; please... (1 Reply)
Discussion started by: Melikins
1 Replies
LEARN ABOUT NETBSD
dh_testroot
DH_TESTROOT(1) Debhelper DH_TESTROOT(1)NAME
dh_testroot - ensure that a package is built with necessary level of root permissions
SYNOPSIS
dh_testroot [debhelperoptions]
DESCRIPTION
dh_testroot is used to determine if the package has access to at least the level of root access that it declared it needed via the Rules-
Requires-Root (R3) field.
The following is how dh_testroot behaves based on the effective value of the R3 field:
"binary-targets"
dh_testroot asserts that it is run as root or under fakeroot(1).
"no"
dh_testroot returns successfully.
Any other value than the above
dh_testroot asserts that it is either run as root (or under fakeroot(1)) or the builder has provided the DEB_GAIN_ROOT_CMD environment
variable (e.g. via dpkg-buildpackage -r).
For backwards compatibility, dh_testroot will consider the absence of the R3 field as if the R3 field was set to "binary-targets".
SEE ALSO debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_TESTROOT(1)