Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Add printer with IP address with lpadmin Post 95207 by nulnul7 on Monday 9th of January 2006 04:38:15 AM
Old 01-09-2006
Hi again and thanks for your help.

Ok, maybe I should have done some more searching before posting but unfortunately, we're always in lack of time.

Well, I don't know really why (the printer seems to be considered as remote) but it works fine now, Tausif. The day I will retire, I'll have a look on the logic behind this all ... Smilie

Thank you all!

Peter Smilie
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

lpadmin help

hi all, I can add a network printer with ADMINTOOL. However, I have a problem to add a network printer using lpadmin on my Sparc Solaris 8 box. Here's the detail: =============== lpadmin -p printername lpadmin: ERROR: Missing -U or -v option. To Fix: Local printer must have a port... (2 Replies)
Discussion started by: andrec
2 Replies

2. UNIX for Dummies Questions & Answers

Ooops there goes lpadmin =0

Hi there thanks for checking in I'm screwed if you can't help me. I have root access to a unix box and i did this. >/usr/bin> mailx marcus@rtt.co.za > /usr/bin/lpadmin which over wrote the lpadmin file which is in /usr/bin How do i get this back. Please help. (2 Replies)
Discussion started by: nemex
2 Replies

3. Solaris

configuring printer using lpadmin

Can some one tell me how to configure the printer on solaris printer name = A printer server address : 172.21.19.6 (3 Replies)
Discussion started by: krishan
3 Replies

4. UNIX for Dummies Questions & Answers

add printer

Helooo I am trying to add a printer in sco unix but i found only serial ports how to define parallel ports? Regards (1 Reply)
Discussion started by: sak900354
1 Replies

5. UNIX for Dummies Questions & Answers

Lpadmin and viewing printer settings

Hi - Dummy question #1.... We either use the Hewlett Packard HPPI too or LPADMIN command to setup out printers. Is there an LPADMIN command that will show you the default config of a particular printer. Ideally looking to see default font, CPI settings etc. Thanks. BravehearT1326 ... (1 Reply)
Discussion started by: BravehearT1326
1 Replies

6. HP-UX

how to find the IP address of a printer

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

7. UNIX for Advanced & Expert Users

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 . (1 Reply)
Discussion started by: lenin1985
1 Replies

8. Solaris

Printer (lpadmin) error - blank pages PS/PCL

Help! I have to solve an urgent problem! I have a Solaris 10 server, where I created a line of printing with the command # /usr/sbin/lpadmin -p IL_Printer -s pv24002 -v /dev/null -m netstandard_foomatic -A write -n /usr/lib/lp/model/ppd/system/foomatic/Canon/cnl66e1.ppd.gz -o... (0 Replies)
Discussion started by: poyato
0 Replies
enable(1)                                                          User Commands                                                         enable(1)

NAME
enable, disable - enable/disable LP printers SYNOPSIS
/usr/bin/enable printer... /usr/bin/disable [-c | -W] [ -r [reason]] printer... DESCRIPTION
The enable command activates printers, enabling them to print requests submitted by the lp command. enable must be run on the printer server. The disable command deactivates printers, disabling them from printing requests submitted by the lp command. By default, any requests that are currently printing on printer will be reprinted in their entirety either on printer or another member of the same class of printers. The disable command must be run on the print server. Use lpstat -p to check the status of printers. enable and disable only effect queueing on the print server's spooling system. Executing these commands from a client system will have no effect on the server. OPTIONS
The following options are supported for use with disable: -c Cancels any requests that are currently printing on printer. This option cannot be used with the -W option. If the printer is remote, the -c option will be silently ignored. -W Waits until the request currently being printed is finished before disabling printer. This option cannot be used with the -c option. If the printer is remote, the -W option will be silently ignored. -r [reason] Assigns a reason for the disabling of the printer(s). This reason applies to all printers specified. This reason is reported by lpstat -p. Enclose reason in quotes if it contains blanks. The default reason is "unknown reason" for the existing printer, and "new printer" for a printer added to the system but not yet enabled. OPERANDS
The following operand is supported for both enable and disable: printer The name of the printer to be enabled or disabled. Specify printer using atomic name. See printers.conf(4) for information regarding the naming conventions for atomic names. EXIT STATUS
The following exit values are returned: 0 Successful completion. non-zero An error occurred. FILES
/var/spool/lp/* LP print queue. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWpcu | +-----------------------------+-----------------------------+ |CSI |enabled | +-----------------------------+-----------------------------+ SEE ALSO
lp(1), lpstat(1), printers.conf(4), attributes(5) SunOS 5.10 9 Sep 1996 enable(1)
All times are GMT -4. The time now is 11:10 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy