05-14-2003
Try with this ...
echo "IP_of_print_server name_of_print_server" >> /etc/hosts
and then use lpadmin.
example:
lpadmin -p printer-name -s system-name[!printer-name]
Regards. Hugo
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
In our company hp network printer 4050n configured on windows nt 4.0. We can able to print from a windows 2000 professional and windows 95,98 machines. And we have redhat linux 6.2 server also. Is it possible to configure network printer to print from a linux server. Can i know the steps... (4 Replies)
Discussion started by: bache_gowda
4 Replies
2. UNIX for Dummies Questions & Answers
Hello.
I am trying to make work HP printer Deskjet 692C. I have
Solaris 9 x86.
I tried to use admintool:
I choosed 'HP-printer' and 'Postscript filter' options.
When I want to print something, instead of the text, the printer prints many pages of some kind of code or whatever...
... (1 Reply)
Discussion started by: Peter123456789
1 Replies
3. SCO
Have been setting up HP network printers for quite sometime on SCO open server 3, 5.04 - 5.07. Purchased a new HP 1320n. It has JetDirect Built in. After configuring the Jet Direct, I Try to run the SCO HP Network Software trying to send PostScript or the HP-GL/2 file, they will not print. The... (2 Replies)
Discussion started by: Zanny
2 Replies
4. UNIX for Advanced & Expert Users
I have a printer installed over ADSL to a router at a remote location. A Windows printer queue has been setup and working and I can ping the IP address from the Solaris server.
I now want to add a printer queue for this printer under Solaris, but I am unsure how to setup a remote printer queue.... (0 Replies)
Discussion started by: miredale
0 Replies
5. AIX
Hi folks need some help here. We have a RS6000 running AIX. It is almost never used anymore, but we need to print off some data. I have a paralell printer conected to the parrallel port, but have no idea where to go from here. The printer was originall named named LP01. If the users telnetinto the... (2 Replies)
Discussion started by: prator
2 Replies
6. AIX
Hi All,
This is katherine and I am kind of new to AIX and has got the following request to set up the printer. Can anybody guide me to fullfill the following request step by step.
The request is as follows:
"We have been asked to set up the following printer in Oracle: UNIX queue
... (1 Reply)
Discussion started by: katherine2008
1 Replies
7. Emergency UNIX and Linux Support
I have Solaris-10 server and want to change default printer setting to Simplex (Instead of duplex, which is set currently). I am not able to see anything in conf file related to this setting.
Please help. (1 Reply)
Discussion started by: solaris_1977
1 Replies
8. UNIX for Advanced & Expert Users
I have Solaris-10 server and want to change default printer setting to Simplex (Instead of duplex, which is set currently). I am not able to see anything in conf file related to this setting.
Please help (2 Replies)
Discussion started by: solaris_1977
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I have Aix 6.1.
Installed the Ricoh Unix print filter, to allow us to print to a Ricoh 5001.
So I send text documents to the printer using the qprt command and set the print job finishing options using the Ricoh commands passed using -o options.
Eg. qprt -Pfin200 -o collate=on -o text... (7 Replies)
Discussion started by: max5000
7 Replies
10. AIX
Hi All,
I have been trying to configure an HP laserjet printer on an AIX6.1 server through network as well as remote.
This is the first time i am configuring a printer on AIX.
I had been using smitty butwhile configuring, i am getting blank/stuck at "software to support the printer attachment... (10 Replies)
Discussion started by: Rockyc3400
10 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)