Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Printer probs

Status
Not open for further replies.

harpal

Technical User
Oct 3, 2001
115
GB
I have a printer setup on our rs6000 which is called sys8000n and has an assigned IP 1.0.100.41
recently press have be complaining about there printer not working so our printer was swopped with theres
although the name of the printers stayed the same the IP changed to 1.0.100.43. I therefore edited the
hosts file which had a entry in for sys8000n to 1.0.100.43 but when I send a print with the qprt command
the print still comes off the printer with the IP address 1.0.100.41 any ideas
 
harpal,

first, you can check the following:

1. /etc/hosts - should contain your printer definition:
1.0.100.43 sys8000n

2. at command prompt, type "lpstat" - check if queue_name is present.

i think you're using network printer. if that's the case, why not try to delete it (queue-name-wise) and re-create it.

here's how:

1. if you already defined the printer in your /etc/hosts file - just leave it, as is.

2. login as root, then type:

TO DELETE:
# smit->print spooling-> remove a print queue (then select the printer queue).

TO ADD:
# smit ->print spooling ->add a print queue ->hpjetDirect -> (select appropriate printer model), enter and provide the necessary;

1. queue name
2. IP address
3. default port is 9100 - leave it as is.

ALSO, before doing the above-mentioned steps, you can try sending print job/s directly to the printer to TEST it.

say, at command prompt;

# banner hello everyone | lp -d <queue_name>

*** queue_name = the name of the current queue you're having problem with - sys8000n ***

if connectivity's okay, this will print &quot;hello everyone&quot; on the printer.
 
Maybe this could help you:
I think besides to change /etc/hosts you also have to change the arp table.
Check your arp table with
arp -a
does the printer appears with its new address?
If not then you need to remove the old entry an add the new one
to add
arp -s ether &quot;printername&quot; &quot;address&quot; temp

One more thing, if yoy go for the delete -add queue procedure be sure
you have the driver and procedure for your printer. the post of jonny2001
shows the adding for a jpdirect print server if your hardware is other
you could need diferent dirver or procedure.
for example for Axis print server cames with its own script for add-removal.

bye

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top