>Hello all,
>I have set up a network printer queue (HPLJ4000N) on our Solaris 7 system,
>using Jetadmin.
>I need to do the same for another printer which is behind a firewall. This
>firewall blocks all smtp requests and for this reason I can't use Jetadmin.
You mean it blocks SNMP, not SMTP.
Quote:>Since the second printer is also a Hplj4000n, I tried to make a copy of the
>1st queue:
>lpadmin -pprinter2 -eprinter1 -v/dev/null
^^^^^^^^^^
That's probably a bad idea. Was printer1 configuring using the
netstandard interface script? Why use "-e printer1" when "-m netstandard"
works just as well?
Quote:>lpadmin -pprinter2 -oprotocol=tcp:9100 -odest=pr1_ipad
^^^^^
That's an error. The ":9100" is part of the "dest=" option, not
the protocol option.
Quote:>I have edited the files "/etc/lp/printers/printer2/config" and
>"/etc/lp/interfaces/printer2".
>And I have created a character device with "mknod printer2 c 13 2"
Why would you do these things? You didn't specify a device file
named "printer2" when you set the printer up, so creating a device
file that the print system won't use is pointless.
First, deleted the printer definition you created. It's easier to
re-create it from scratch rather than try to undo these kinds of
errors.
Second, you need to find out if the firewall will allow you to connect
to the printer's port 515 or 9100. Talk to the firewall admins and
test with the commands "telnet pr1_ipad 515" and "telnet pr1_ipad 9100".
If the connection to port 9100 was successful (don't look for a login
prompt, just the messages saying you got a connection), then re-create
the printer:
lpadmin -p printer -v /dev/null -m netstandard
lpadmin -p printer -T PS -I postscript
lpadmin -p printer -o protocol=tcp -o dest=pr1_ipad:9100
enable printer
accept printer
If only the connection to port 515 worked, then use the same commands
as above, except for the third lpadmin command:
lpadmin -p printer -o protocol=bsd -o dest=pr1_ipad
-Greg
--
I have a map of the United States that's actual size
-- Steven Wright