1823064 Members
3433 Online
109645 Solutions
New Discussion юеВ

Remote printing problem

 
SOLVED
Go to solution
Ajithkumar
Advisor

Remote printing problem

Hi all,
I am an amature in AIX.I am facing a problem with remote printing in AIX5L...
One laser printer is there connected to a print server (HP),which is confiured as remote printer from AIX Server.
Actually there are two printers connected to that particular print server ( one from IBM SERVER , one for windows server).
Due to some problem the print server is replaced and the same is configured with the old parameters....
Now the problem is we are not able to print from the ibm server , while the other printer is printing from windows. I am able to acces the print server from the server (telnet,ping)... But if a print is given the status goes to DOWN.

REMOTE PRINT QUEUE NAME : MIN_STATE_LJP1
AIX HOST NAE : CSB_HRS

Please find below the lpstat command o/p

# lpstat -aMIN_STATE_LJP1
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
MIN_STA @MIN_ READY
MIN_STATE_LJP1: Printer LPT1 not found (SMC4103).

after a print is given the status is

# lpstat -aMIN_STATE_LJP1
Queue Dev Status Job Files User PP % Blks Cp Rnk
------- ----- --------- --- ------------------ ---------- ---- -- ----- --- ---
MIN_STA @MIN_ DOWN
QUEUED 334 PMLJAHMO.283078 hrprod 2 1 1
MIN_STATE_LJP1: Printer LPT1 not found (SMC4103).


After a few minutes of giving the print the following message also comes..

Message from root on CSB_HRS (UNKNOWN) [Wed Dec 21 12:02:02 SAUST 2005] ...
Message from queueing system:
0781-088 Queue MIN_STATE_LJP1:@MIN_STATE_LJP1 went down, job is still queued:
Backend: /usr/lib/lpd/pio/etc/piorlfb -f ! -S MIN_STATE_LJP1 -P \
LPT1 -N /usr/lib/lpd/bsdshort /tmp/teststate
Backend Exit Value: EXITFATAL (0100)
Job Submit Time: Dec 21 11:49:26 2005. Current Time: Dec 21 12:02:02 2005
Use local problem reporting procedures.


What could be the problem...? No configuration is changed in the server side which was working earlier.

THANKS IN ADVANCE....

Ajith.
11 REPLIES 11
Peter Godron
Honored Contributor

Re: Remote printing problem

Hi,
have you checked whether there are any jobs on the queue before you send your job. If yes, then remove them first.
Is the printer defined correctly.
If without success remove and re-define the queue.
Let us know how you get on.
Ajithkumar
Advisor

Re: Remote printing problem

Hi Peter,
Thanks for ur response.
I have already cleared all the pending jobs before giving the test print.
I recreated the remote queue.But still the same problem exists.
What could be the reason for "Printer LPT1 not found" error ?
Expecting ur valuable feedback...
Ajith.
John Waller
Esteemed Contributor

Re: Remote printing problem

Hi,
I have to look after an AIX server myself and in my opinion, using a remote printer was designed by the devil himself. I personally would try to cancel all the outstanding requests then issue a stopsrc -s qdaemon and a startsrc -s qdaemon to refresh the print spooler. If this fails then it may be an idea to delete and re-add the printer.
Mark Nieuwboer
Esteemed Contributor

Re: Remote printing problem

Hi Ajith,

Does the printer stand in /etc/hosts our is it known in the dns server.
Please try nslookup LPT1
if it gives an error put the printer name in the dns-server our /etc/hosts.

grtz. Mark
Ajithkumar
Advisor

Re: Remote printing problem

Hi Mark,

Thanks for ur reply.
The print server name and ip is already in the /etc/hosts file.
I am able to access the print server thru telnet without any problem.
Mark Nieuwboer
Esteemed Contributor

Re: Remote printing problem

Hi Ajith,

Your print server was replaced i read.
Is the model known in aix. Further more is maybe the firmware now higher on the printer. This can give sometimes give problems. If you have bought the print server from hp recently normaly the give support. hope it helps

grtz. Mark
Ajithkumar
Advisor

Re: Remote printing problem

Hello Mark,
Thanks.
I also suspect the same problem.
Actually I recreated the remote queue many times with all the possible different settings , but none of them help.

Then how to check whether the print server is recognised by AIX. I mean, is the print server driver software needs to be installed in aix server ? (Actually the driver CD is not having any software for UNIX. But in the user manual it says that it supports all UNIX platforms.The model is EZ Print SMC4103P.)
Please clarify.....
Regards,
Ajith.

Jayasuntar
Valued Contributor
Solution

Re: Remote printing problem

Dear Ajith,

There is peculier thing in this model, your remote print queue name should be LP1 not LPT1. SO please recreate ur printer with print queue with LP1, This will solve ur problem.

Regards

Jay
Mark Nieuwboer
Esteemed Contributor

Re: Remote printing problem

Hi Ajith,

Try the suggestion of jay.
Futher more the models can be find in /usr/lp/model. If this model isn't in the directory aix will not recognice this.
So you have to had this model.
maybe this link will help.
http://publib.boulder.ibm.com/infocenter/pseries/index.jsp

grtz. Mark
Ajithkumar
Advisor

Re: Remote printing problem

Hi Jay&Mark,

Thanx for ur suggestions....
After changing the port name to LP1, the queue became ready. I am able to print text files from my unix box to the printer.
But when the print is given from the application, it prints only the headings of the first page.
Actually I have given the parameters while recreating the remote queue same as the old one.(parameters like backend program).
Any other thing needs to be considered for the configuration. (This printer was working fine before)

Regards,

Ajith.
Jayasuntar
Valued Contributor

Re: Remote printing problem

Dear Ajith,

U can change the printer setting in clusiding paper size by selecting the correct printer model.

For this while configuring remote printer queue, istead of selecting the normal option aselect local filtering option.

Aftre that you will be able to change the settings.

Regards

Jay