Sponsored Content
Top Forums UNIX for Advanced & Expert Users Script that can Automate Printer adding task in HP-UX servers Post 302343038 by methyl on Tuesday 11th of August 2009 11:04:30 AM
Old 08-11-2009
man addqueue
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Adding a Printer

Could someone please tell me how to add a printer to UNIX, I've got all the detail but are not sure how to do it ... (1 Reply)
Discussion started by: kuselo
1 Replies

2. HP-UX

Help adding a printer queue

Hello, I need some help on the following issue: Need to have a printer queue added to the "sssssss" server.The IP address is "xxx.xxx.xxx.xxx". It is an HP8000 printer. Can you please point me to the right direction. Thank you (0 Replies)
Discussion started by: AQG
0 Replies

3. UNIX for Advanced & Expert Users

HP-UX adding printer

When adding a remote printer to my HP-UX system, it creates a file in /var/spool/lp/sinterface/printer-name inside it has #!/usr/bin/sh # /* @(#)B.11.11_LR */ # This model is for remote status operation. /usr/sbin/rlpstat $* Is there a way when I add this printer to have the... (1 Reply)
Discussion started by: nixie21
1 Replies

4. Shell Programming and Scripting

Need a help to automate a task

I need to automate a manual task using shell scripting. The scenario is like :- #!/usr/bin/sh echo "please enter the name of the lab server to test ..." read s ssh $s This is peace of the script which will allow me to login to another server using "ssh". I have a conf file which is having... (4 Replies)
Discussion started by: Renjesh
4 Replies

5. Shell Programming and Scripting

need a script that does a simple task on multiple unix servers.

hi guys, i need a script that does a simple task on multiple aix servers. if possible with both telnet and ssh. the simple task i wanna do is connect to a server and run "ifconfig -a" and get the output. nextweek i need to do similar jobs on like 50 servers... :( can anybody help me with making... (2 Replies)
Discussion started by: curtis911
2 Replies

6. UNIX for Dummies Questions & Answers

Help with script to automate CUPS printer installs

Good afternoon. :) I'm rather new to bash scripting, and have probably bitten off a bit more than I can chew to be honest, but I work in a service desk-like environment where one of the main complaints is that it takes our staff a long time to set up network printers on our clients' servers.... (3 Replies)
Discussion started by: aperfecthalo
3 Replies

7. Shell Programming and Scripting

Automate scp between servers

Hello, Could someone please help me with the below requirement? I need to automate scp files between two servers. I have a file having server names and paths to the folder like below server1 /path/to/folder/ server1 /path/to/folder/ server1 /path/to/folder/ server2 /path/to/folder/... (4 Replies)
Discussion started by: Kochappa
4 Replies

8. Shell Programming and Scripting

Automate a task

Dear All, I am relatively new to UNIX and wanted to accomplish a simple task which should be automated. That's why I need your help. I shall briefly describe what I want. Basically, there is a process (X) (related to a particular software which I am using in my system) which automatically... (5 Replies)
Discussion started by: Samiran Dam
5 Replies
printmgr(1M)						  System Administration Commands					      printmgr(1M)

NAME
printmgr - Solaris Print Manager is a graphical user interface for managing printers in a network SYNOPSIS
/usr/sadm/admin/bin/printmgr DESCRIPTION
Solaris Print Manager is a Java-based graphical user interface that enables you to manage local and remote printer access. This tool can be used in the following name service environments: LDAP, NIS, NIS+, and files. You must be logged in as superuser to use this tool. Using Solaris Printer Manager is the preferred method for managing printer access because Solaris Print Manager centralizes printer infor- mation when it is used in a name service environment. Adding printer information to a name service makes access to printers available to all systems on the network and generally makes printer administration easier because all the information about printers is centralized. Solaris Print Manager may be run on a remote system with the display sent to the local system. See the System Administration Guide: Advanced Administration for instructions on setting the DISPLAY environment variable. Using Solaris Print Manager to perform printer-related tasks automatically updates the appropriate printer databases. Solaris Print Manager also includes a command-line console that displays the lp command line for the add, modify, and delete printer operations. Errors and warn- ings may also be displayed when Printer Manager operations are performed. Help is available by clicking the <Help> button. USAGE
Solaris Print Manager enables you to do the following tasks: Select a Name Service Select a name service for retrieving or changing printer information. Add Access to a Printer Add printer access on a printer client using Solaris Print Manager. Add an Attached Printer After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for printing. Add a Network Printer After physically attaching the printer to a system, use Solaris Print Manager to install a local printer and make it available for printing. Modify Printer Properties After adding access to a printer or adding an attached or network printer, you can modify certain printer attributes. Delete a Printer Delete access to a printer from the print client or delete a printer from the print server or from the name service environment. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWppm | +-----------------------------+-----------------------------+ SEE ALSO
ldap(1), lpget(1M), lpset(1M), attributes(5) System Administration Guide: Advanced Administration for information on LDAP server replication. Although users can use the LDAP command line utilities ldapadd(1) and ldapmodify(1)to update printer entries in the directory, the pre- ferred method is to use lpset. Otherwise, if the lpadd and lpmodify utilities are used, the administrator must ensure that the printer-name attribute value is unique within the ou=printers container on the LDAP server. If the value is not unique, the result of modifications done using lpset or the Solaris Print Manager, printmgr(1M) may be unpredictable. SunOS 5.10 23 May 2003 printmgr(1M)
All times are GMT -4. The time now is 10:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy