06-19-2006
Faint bells are ringing with this 'recovery_type' thing... unfortunately I'm still at a loss! You'll have to forgive me as I'm relatively new to all this. I've had a look around in the qconfig file and also poked around SMIT setting up printers but haven't come across this option yet, though I have heard of it before somewhere....
The printers are all created in the same way as they are all the same make\model and are created using a scripted interface (to allow the helpdesk to create them), so they all turn out the same. Here's an example qconfig entry for a printer;
0020pa01:
device = @0020pa01
up = TRUE
host = 0020pa01
s_statfilter = /usr/lib/lpd/bsdshort
l_statfilter = /usr/lib/lpd/bsdlong
rq = lp
@0020pa01:
backend = /usr/lib/lpd/rembak -T7200
Thanks for your help so far!
Regards,
Alex
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am being taught UNIX hands on. Recently, I have been having problems with my qdaemon going down. I know that the short cut to start it is startsrc -s qdaemon.
My question is, through smit, processes & subsystems, subsystems, start a subsystem...
I know it is the qdaemon I want to start,... (2 Replies)
Discussion started by: spunky
2 Replies
2. UNIX for Advanced & Expert Users
Hi ,
I have one question, suppose i am a normal user and when i use 'w' command , it shows who is logged on and what they are doing .
Now i want to stop others users to know what i am doing accept the root ?
can i do this ?
thanks (5 Replies)
Discussion started by: mobile01
5 Replies
3. Shell Programming and Scripting
Hi All,
My question is how can i stop my users on system from deleting their history.
How can i stop the users from running 'history -c'.
I have searched thoroughly on the forum but didn't find any satisfactory solution to the problem.
kindly help if you any suggestions
Thanx in... (3 Replies)
Discussion started by: xander
3 Replies
4. AIX
Hi all,
I have a small problem, after a reboot the following services do not start automaticly, like they are supposed to do even though they are commented in in /etc/rc.tcpip
sendmail
xntpd
qdaemon
snmpd
snmpmibd
aixmibd
hostmibd
why ?!?! anybody ? :confused: (3 Replies)
Discussion started by: art
3 Replies
5. Shell Programming and Scripting
hi all,
how do i email a file in the body of an email rather than as an attachment ??
have a ksh script which i need to read a file and email as part of the body rather than an attachment.
my code is :
uuencode file.log | mailx -s "test"
but this sends file as an attachment.
... (2 Replies)
Discussion started by: cesarNZ
2 Replies
6. Web Development
Hi,
I have the user who runs tomcat: tomcat:tomcats
I want to have another user who will be able to start and stop tomcat process.
Is this possible?
Thanks,
Bianca (1 Reply)
Discussion started by: potro
1 Replies
7. Linux
Is there a way to stop users changing the time on their machines
we are running fedora
thanks
Adam (4 Replies)
Discussion started by: ab52
4 Replies
8. Shell Programming and Scripting
Hi All,
The following databse table maintains
VENDOR and EMAIL details.
VENOR_NAME VENDOR_EMAIL
DELL surendra@dell.com
HP rajkamal@hp.com
ACER sumathi@acer.com
NOKIA kunal@nokia.com
SONY sinu@sony.com
We have to find emaild id of a vendor based... (7 Replies)
Discussion started by: ROCK_PLSQL
7 Replies
LEARN ABOUT HPUX
setnetlp
setnetlp(1M) setnetlp(1M)
NAME
setnetlp - configure the LP spooling system for network printers
SYNOPSIS
/usr/sbin/setnetlp
/usr/sbin/setnetlp -p printer [options]
/usr/sbin/setnetlp -x printer
DESCRIPTION
The command configures network printers in the LP spooling systems with specified printer model interface file. It is used to add and
remove specified printer that is referred as a LP destinations, change configuration of the printer if the printer exists.
Network printers that support lpd protocol or JetDirect interface can be configured by The command is a shell procedure. It calls lpad-
min(1M) command for lpd printer configuration. It may also call addqueue(1) and removequeue(1) commands for configuring printers with Jet-
Direct interface when the optional software HP JetDirect Printer Installer for Unix is installed on the system.
Exactly one of the -p, -x options or no options must be present for every legal invocation of
-p printer Names a printer to which all of the options below refer. If printer does not exist, it will be created.
-x printer Removes the printer from the LP spooling system. The printer is a LP destination configured in the LP spooling sys-
tem. No other options are allowed with -x.
The following options are required for -p and can appear in any order.
-orm machine The name of the remote machine or IP address of the network printer is machine.
-om model This option selects a printer model interface program for printer. The model is one of the model file name at
/usr/lib/lp/model/* supplied with the LP software or generated by psmsgen(1M). Refer to lpadmin(1M) Models for
details.
One and only one of the following options is required for -p and can appear in any order.
-orp rprinter The name of the remote printer queue that has configured on the remote machine is rprinter. This option is required
to configure lpd printer and can not be used with -jd option.
-jd When this option is specified, configures the printer using commands provided by HP JetDirect Printer Install-
er for Unix
Interactive terminal user interface (TUI) will be invoked when is invoked without any options. At the TUI, values of all options described
above can be set. In addition, for some printer model, defaults of model interface options also can be customized. When HP JetDi-
rect Printer Installer for Unix is available on the system, some recommended initial values for options may be provided for some printer
model. The model customization support feature by is available only for TUI. No customization is performed by non-interactive invocation
of To customize model options for a printer without the TUI, pre-customized model file needs to be generated before running for configuring
the printer.
EXAMPLES
Assuming a LIPS printer supported lpd protocol on a network as remote printer host name lphost and remote printer name lipslp the command:
/usr/sbin/setnetlp -p netlp -orm lphost -orp lipslp -om LIPS4
causes the spool system to use the local printer netlp and the local model file LIPS4.
FILES
SEE ALSO
lpadmin(1M), addqueue(1), removequeue(1), psmsgen(1M)
setnetlp(1M)