09-09-2008
I just noted your option -W (not w...) I dont have it on all aix 4.X.X... (?). my apologies
And looking through I dont see how you could get the same output...
If I understand well you have regularly jobs being blocked on you aix box which require someone to enable the printer again ( if not the spoooler itself) is that so?
If so welcome to the club!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
When you do a lpstat -t it displays all your printers and tty values.
Where is the file that stores this information in SCO 5.0.5?
Thanks in advance
Stufine (2 Replies)
Discussion started by: stufine
2 Replies
2. UNIX for Advanced & Expert Users
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)
Discussion started by: sskb
3 Replies
3. SCO
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)
Discussion started by: checkpro
3 Replies
4. Shell Programming and Scripting
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)
Discussion started by: draco
0 Replies
5. Shell Programming and Scripting
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)
Discussion started by: sagii
1 Replies
6. Shell Programming and Scripting
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)
Discussion started by: sagii
4 Replies
7. AIX
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)
Discussion started by: imad77
10 Replies
8. Solaris
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)
Discussion started by: xtreams
1 Replies
9. UNIX for Advanced & Expert Users
Hi,
can somebody tell me what is the difference between `lpstat -s` and `lpstat -v` command.
thanks. (3 Replies)
Discussion started by: anandgodse
3 Replies
10. UNIX for Dummies Questions & Answers
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 SUSE
pdl::dev
Dev(3) User Contributed Perl Documentation Dev(3)
NAME
PDL::Core::Dev - PDL development module
DESCRIPTION
This module encapsulates most of the stuff useful for PDL development and is often used from within Makefile.PL's.
SYNOPSIS
use PDL::Core::Dev;
FUNCTIONS
isbigendian
Is the machine big or little endian?
print "Your machins is big endian.
" if isbigendian();
returns 1 if the machine is big endian, 0 if little endian, or dies if neither. It uses the "byteorder" element of perl's %Config array.
my $retval = isbigendian();
trylink
a perl configure clone
if (trylink 'libGL', '', 'char glBegin(); glBegin();', '-lGL') {
$libs = '-lGLU -lGL';
$have_GL = 1;
} else {
$have_GL = 0;
}
$maybe =
trylink 'libwhatever', $inc, $body, $libs, $cflags,
{MakeMaker=>1, Hide=>0, Clean=>1};
Try to link some C-code making up the body of a function with a given set of library specifiers
return 1 if successful, 0 otherwise
trylink $infomsg, $include, $progbody, $libs [,$cflags,{OPTIONS}];
Takes 4 + 2 optional arguments.
o an informational message to print (can be empty)
o any commands to be included at the top of the generated C program (typically something like "#include "mylib.h"")
o the body of the program (in function main)
o library flags to use for linking. Preprocessing by MakeMaker should be performed as needed (see options and example).
o compilation flags. For example, something like "-I/usr/local/lib". Optional argument. Empty if omitted.
o OPTIONS
MakeMaker
Preprocess library strings in the way MakeMaker does things. This is advisable to ensure that your code will actually work after
the link specs have been processed by MakeMaker.
Hide
Controls if linking output etc is hidden from the user or not. On by default except within the build of the PDL distribution
where the config value set in perldl.conf prevails.
Clean
Remove temporary files. Enabled by default. You might want to switch it off during debugging.
perl v5.12.1 2009-12-27 Dev(3)