- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Adding printer remotely in 10.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 07:32 AM
08-13-2001 07:32 AM
Adding printer remotely in 10.20
With lpadmin I get an error that the device file can't be created, if the system already has a printer in place then this error does not occur.
The commands I'm using are remsh, rcp, and as mentioned before, lpadmin.
Here is my command structure.
remsh hostname "/usr/sbin/lpadmin -p printer name -v/dev/c2t0d0 -mdumb"
Any suggestions? Am I attempting the impossible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 07:39 AM
08-13-2001 07:39 AM
Re: Adding printer remotely in 10.20
What happens? Does it works?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 07:53 AM
08-13-2001 07:53 AM
Re: Adding printer remotely in 10.20
If I login into the workstation directly and execute the command from a the root prompt I don't get the error.
The full command is:
lpadmin -pmdslp -v/dev/c2t0d0_lp -mdumb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 08:04 AM
08-13-2001 08:04 AM
Re: Adding printer remotely in 10.20
To add a remote printer you can use a command called addque (/opt/hpnp/bin/addqueue)
do a manpage for addqueue. you can script it very easily.
For example if you have a HP laserjet(5m)
the model number is 15 (addqueue -l to different model numbers), the ip address of the printer is xxx.xxx.xxx.xxx and the queuename you want to use is queue1, you would do something like
addqueue -i 15 -h xxx.xxx.xxx.xxx -q queue1
-HTH
I am RU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2001 12:00 PM
08-13-2001 12:00 PM
Re: Adding printer remotely in 10.20
In theeach user's $home/directory has to create the file ". rhosts." In the same one you have to place the names of your remote servers, and this way you rot to carry out "rcp", "remsh", and "lp" or "lpadmin."
Example.
"server number 2"
cd / home/jhon
vi .rhosts
hosts1
* * * * * * * * * * * * * * * * * * * * * * * * * * * +
"servant numbers 1"
cd / home/jhon
vi .rhosts
hosts2