06-10-2008
Find IP Address of a Printer Q in Hp-Unix
Could anyone help me to identify the IP address of a printer queue with its printer queue name information .
Last edited by lenin1985; 06-10-2008 at 10:23 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I don't have root access. How do I find i.p address of our sun server? Thanks. (4 Replies)
Discussion started by: vpotluri
4 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I'm tryin' to add a network printer with lpadmin (I don't have access to admintool) to a Solarisbox but I don't exactly know where to use the IP address.
The thing is that this printer exists already with another printQ but I don't see any printerserver declared with lpsystem -l although... (3 Replies)
Discussion started by: nulnul7
3 Replies
3. Shell Programming and Scripting
HI,
I'm trying to create a script that a regular unix user can run from a unix menu and disable and enable a unix printer.
Any help will be very helpful.
Thanks (0 Replies)
Discussion started by: miguelpza
0 Replies
4. HP-UX
I'm trying to find the IP address of a print queue. I tried this, but nada.
cat /etc/hosts | lp -d lp01
Looked in the hosts file but it's not there (2 Replies)
Discussion started by: abNORMal
2 Replies
5. UNIX for Dummies Questions & Answers
I am trying to determine if there are several url/host names for an IP address. Is there a UNIX command to find ALL host names for an IP address?
Thank you in advance. (3 Replies)
Discussion started by: rukasu
3 Replies
6. AIX
I was wondering if somebody knew of a website where printer drivers can be downloaded for AIX 5.3. Most of our printers are HP and the driver that is installed works properly. As of lately, our users have started to get other type of printers, including Multi-purpose devices. I am struggling to... (2 Replies)
Discussion started by: fabiogilr
2 Replies
7. Programming
I need to find the MAC address of the ethernet cards on the host machine from the C language. I have found a way to do this on Linux using socket(), ioctl() and the ifreq structure. But this does not seem to work on AIX, HP/UX and probably the others I need (Solaris, SCO, Alpha etc).
Is there a... (7 Replies)
Discussion started by: Pug
7 Replies
8. Linux
Hi,
Is it possible to find the printer location and printer type (whether it is local or network) using command in Linux ?
Thanks in advance. (1 Reply)
Discussion started by: forumguest
1 Replies
9. UNIX for Dummies Questions & Answers
Hi Guys,
I want to find another(Local host) machine IP address from my machine.. We are all connected in the same server, I mean same LAN.
What i done is
Connected with that user machine using SSH and SU.. After that i used IFCONFIG but it shows my Ip address. Can not able to get the... (8 Replies)
Discussion started by: Adhi
8 Replies
10. Post Here to Contact Site Administrators and Moderators
We work hard to make The UNIX and Linux Forums one of the best UNIX and Linux knowledge sources on the net. The site is certainly one of the top UNIX and Linux Q&A sites on the web. In order to provide certain members the best quality account services, you can now get some great extra features by... (2 Replies)
Discussion started by: Neo
2 Replies
lpc(8) System Manager's Manual lpc(8)
Name
lpc - line printer control program
Syntax
/etc/lpc [ command [ argument... ] ]
Description
The program is used by the system administrator to control the operation of the line printer system. For each line printer with an entry
in the file, may be used to start/stop several different functions.
Without any arguments, prompts for commands from the standard input. If arguments are supplied, interprets the first argument as a command
and the remaining arguments as parameters to the command. The standard input may be redirected causing to read commands from file. The
commands and their parameters are shown below. Commands may be abbreviated.
? [ command... ]
help [ command... ]
Prints a short description of each command specified in the argument list, or, if no arguments are given, a list of the recognized
commands.
abort [ all ] [ printer... ]
Terminates an active spooling daemon on the local host immediately and then disables printing (preventing new daemons from being
started by for the specified printers.
clean [ all ] [ printer... ]
Removes all files beginning with ``cf'', ``tf'', or ``df'' from the specified printer queue(s) on the local machine.
enable [ all ] [ printer... ]
Enables spooling on the local queue for the listed printers. This will allow to put new jobs in the spool queue.
exit
quit
Exits from
disablefR [ all ] [ printer... ]
Turns off the specified printer queues. This prevents new printer jobs from being entered into the queue by
restart [ all ] [ printer... ]
Attempts to start a new printer daemon. This is useful when some abnormal condition causes the daemon to die unexpectedly leaving
jobs in the queue. The command will report that there is no daemon present when this condition occurs.
start [ all ] [ printer... ]
Enables printing and starts a spooling daemon for the listed printers. This command also creates an file in the printer's spool
directory. The file can be used by filters as an initialization flag.
status [ all ] [ printer... ]
Displays the status of daemons and queues on the local machine.
stop [ all ] [ printer... ]
Stops a spooling daemon after the current job completes and disables printing.
topq printer [ jobnum... ] [ user... ]
Places the jobs in the order listed at the top of the printer queue.
Diagnostics
?Ambiguous command
Abbreviation matches more than on command.
?Invalid command
No match was found.
?Privileged command
The command can only be executed by root.
Files
Printer description file
Spool directories
Lock file for queue control
See Also
lpq(1), lpr(1), lprm(1), printcap(5), lpd(8)
lpc(8)