09-30-2009
Use SNMP to get printer hardware status
Sagi,
I assume your printer is on a network. If your printer supports
SNMP, you can run commands that get the status of printer settings and values. See your printer's documentation.
You will need software to talk to the printer. Try
Net-SNMP. It is open-source and well supported. There are lots of other software applications and programming APIs available.
Good luck!
John
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I believe i have most of samba configured right but i get this error each time time try to run it. I was given suggestion that i touch the file, i did, but i still cannot rid myself of this error.
Any suggestions (2 Replies)
Discussion started by: macdonto
2 Replies
2. UNIX Desktop Questions & Answers
How do I check my system to see if the graphics are using hardware 3d suport or not. I have a TNT2 on RH 7.1 kernel 2.4.9-?(can't remember off top of my head)I'm running all the latest updates from RH. Also I now have a dvd drive and I am trying to find a player that will play all movies and not... (1 Reply)
Discussion started by: MaxCat
1 Replies
3. UNIX for Dummies Questions & Answers
Is it possible to use Perl to work with hardware? Or is it strictly for text processing. (1 Reply)
Discussion started by: Luftwaffe
1 Replies
4. Shell Programming and Scripting
Hi,
We have a text file which has the following data.
ISA~00~ ~00~ ~ZZ~VISTN ~ZZ~U1CAD ~051227~183
7~U~00200~000011258~0~P~<
GS~FA~EE05J~U1CAD~051227~1831~000011258~X~002002
ST~997~0001
AK1~SH~247
AK2~856~2470001
AK5~A
AK2~856~2470002
AK5~A... (3 Replies)
Discussion started by: isingh786
3 Replies
5. Red Hat
I have successfully installed RedHat 8.0 onto a Dell PowerEdge SC1425 today. This server has two SATA hard drives, and an IDE DVD-ROM drive.
Using the following kernel parameters, i successfully installed across both hard drives from CD:
ide0=0x1f0,0x3f6,14 vga=791 resolution=1024x768 expert... (5 Replies)
Discussion started by: fishsponge
5 Replies
6. UNIX for Dummies Questions & Answers
Hello,
Sorry for my english.
I have an arcade site.
mydomain.com/game.html If database has the game name is good.
mydomain.com/fd43f54.html if database has not the game name redirect to mydomain.com by 302 error code.
if database has not the game name i want a 301/404 error code and no... (0 Replies)
Discussion started by: hoo
0 Replies
7. Solaris
Hi folk,
I have this hardware faunty message, but dont know which hardware is this ? can you guide me ?
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies
8. HP-UX
We would like to know a HP Utility or any Unix command that can give the exact status of PCI Gigabit Ethernet cable (lan cable) We had tried to execute
lanscan
ioscan -fnC lan
The status appears to be the same when the cable is plugged & unplugged and also when the lan is disabled &... (5 Replies)
Discussion started by: siva3492
5 Replies
9. Programming
Dear Team
I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update )
Scenario
We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
Discussion started by: Perlbaby
1 Replies
10. UNIX for Beginners Questions & Answers
How to see the status of all the ftp put & get files logs and curent ftp transfer status if any active ftp running in the background ? (2 Replies)
Discussion started by: i4ismail
2 Replies
LEARN ABOUT DEBIAN
papstatus
PAPSTATUS(8) Netatalk 2.2 PAPSTATUS(8)
NAME
papstatus - get the status of an AppleTalk-connected printer
SYNOPSIS
/usr/sbin/papstatus [-d] [-p printer] [retrytime]
DESCRIPTION
papstatus is used to obtain the current status message from an AppleTalk connected printer. It uses the Printer Access Protocol (PAP) to
obtain the status information.
If no printer is specified on the command line, papstatus looks for a file called .paprc in the current directory and reads it to obtain
the name of a printer. The .paprc file should contain a single line of the form object:type@zone where each of object, :type, and @zone are
optional. type and zone must be proceeded by `:' and `@' respectively. Blank lines and lines the begin with a `#' are ignored. type and
zone default to LaserWriter and the zone of the local host, respectively.
OPTIONS
-d
Turns on a debugging mode that prints some extra information to standard error.
-p printer
Get status from printer (do not consult any .paprc files to find a printer name). The syntax for printer is the same as discussed above
for the .paprc file.
retrytime
Normally, papstatus only gets the status from the printer once. If retrytime is specified, the status is obtained repeatedly, with a
sleep of retrytime seconds between inquiring the printer.
FILES
.paprc
file that contains printer name
SEE ALSO
nbp(1), pap(1)
Netatalk 2.2 17 Dec 1991 PAPSTATUS(8)