Sponsored Content
Full Discussion: Ooops there goes lpadmin =0
Top Forums UNIX for Dummies Questions & Answers Ooops there goes lpadmin =0 Post 12266 by nemex on Sunday 23rd of December 2001 11:01:20 PM
Old 12-24-2001
Thanks alott

But i managed to look around in the same box and found

3 different places where the sysadmin kept this command

/usr/sbin/lpadmin
/usr/lib/lpadmin
/var/adm/sw/save/PHCO_22365/LP-SPOOL/usr/sbin/lpadmin

My previous command screwd up the one in /sbin as well as /lib
telling me that the one in lib was some sort of symbolic link to the one in /sbin
Luckly the sysadmin kept a standard copy in:
/var/adm/sw/save/PHCO_22365/LP-SPOOL/usr/sbin/lpadmin

Thanks for the Help

Nemex.
 

9 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. 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

3. UNIX for Dummies Questions & Answers

Ooops. GRUB screwed up

Hi Guys. I moved my root partition, deleted the old one and set GRUB up using Yast. It all booted OK when I tested it but the second reboot has just brought me straight onto a GRUB promt GRUB > _ Any help much appreciated. I don't know anything about GRUB and the stuff I find on google is... (1 Reply)
Discussion started by: d11wtq
1 Replies

4. 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

5. Shell Programming and Scripting

Variables containing spaces in lpadmin

I apologize for the long post. I have a lot of info... I am trying to write a script that will add a network printer (or several) to a system using information read in from a text file. My problem is the spaces in the PPD file name, I'm not sure how to put the file name in or how to read it back... (2 Replies)
Discussion started by: HalfNube
2 Replies

6. HP-UX

Lpadmin(1M) rejects devices writable by lp

When we executed a lpadmin command, the following error was output. # lpadmin -phsaprinter -v/home/hoge/lpfile -mrmodel -ocmrcmodel -osmrsmodel -ormhsaprinter -orphsaprinter lpadmin: can't access file "/home/hoge/lpfile" /home/hoge/lpfile is the file other user made. The... (1 Reply)
Discussion started by: madhurtripathi
1 Replies

7. Solaris

lpadmin command options on solaris 10

lpadmin configuration issues on Solaris 10 Zone. I have configured a print queue using lpadmin command to print to print file server. Source server is a Solaris Zone running Solaris 10. Destination file print server is running OS AIX 5.3. I do not get errors when issuing the lp command to... (0 Replies)
Discussion started by: primeaup
0 Replies

8. UNIX for Advanced & Expert Users

problems with lpadmin usage

the problem i encountered is that lpadmin when encounters a failure doesn't cleanup properly .so the next time i use the same printer name it doesn't allow me to do so .saying interface directory can't be created .what can be done to solve this out ?please help .. (3 Replies)
Discussion started by: rahulpatro
3 Replies

9. Shell Programming and Scripting

Run shell script LPADMIN

Hi All, I'm new to shell scripts. I have the following LPADMIN script that runs ok when I run in in OSX Automator "Run shell Scripts": Shell: /bin/bash here is the line: /usr/sbin/lpadmin -p Copy-room-ljetP4015 -E -v lpd://192.168.1.1 -m /Library/Printers/PPDs/Contents/Resources/HP\... (3 Replies)
Discussion started by: abk
3 Replies
cfgadm_cardbus(1M)					  System Administration Commands					cfgadm_cardbus(1M)

NAME
cfgadm_cardbus - cardbus hardware specific commands for cfgadm SYNOPSIS
/usr/sbin/cfgadm [-f ] [-y | -n ] [-v] [-o hardware_options] -c function ap_id [ap_id] /usr/sbin/cfgadm [-f ] [-y | -n ] [-v] [-o hardware_options] -x hardware_function ap_id [ap_id] /usr/sbin/cfgadm [-v] [-s listing_options] [-o hardware_options] [-l [ap_id | ap_type]] /usr/sbin/cfgadm [-v] [-o harware_options] -t ap_id [ap_id] /usr/sbin/cfgadm [-v] [-o hardware_function] -h [ap_id| ap_type] DESCRIPTION
The CardBus slots in Solaris are hot plug capable. This capability is supported by the PCI hardware specific library /usr/lib/cfgadm/pci.so.1 through the cfgadm command (see cfgadm(1M)). The hot plug administrative models between CardBus, PCI, CompactPCI, and PCI Express operate the same fashion. Please refer to cfgadm_pci(1M) for the usage information. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl | +-----------------------------+-----------------------------+ SEE ALSO
cfgadm(1M), config_admin(3CFGADM), libcfgadm(3LIB), attributes(5) SunOS 5.11 11 July 2006 cfgadm_cardbus(1M)
All times are GMT -4. The time now is 08:36 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy