Remote printing problem in AIX

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 configured as remote printer from AIX Server.
Due to some problem the print server is replaced and the same is configured with the old parameters....
But now I am not able to print from the ibm server . I am able to acces the print server from the server (telnet,ping)... But if a print is given the status goes to DOWN.
Then I removed the print queue and recreated it.Still the error is same.
Please find below the parameters given while configuring.
Name of the queue : MIN_STATE_LJP1
Name of the queue device : hp@MIN_STATE_LJP1
Activate the queue ? : yes
Backend program path name : /usr/lib/lpd/pio/etc/piorlfb -f !
Queing descipline : First come first serve
Accounting file path name : -
Hostname of remote server : SMC4103 (this name is added in the /etc/hosts)
Name of the queue on remote server : LPT1 (printer is connected to the first port of the print server)
Path name of the short form filter for queue status output : /usr/lib/lpd/bsdshort
Path name of the long form filter for queue status output : /usr/lib/lpd/bsdlong
Access mode of backend output file : both read and write

Please find below the lpstat command o/p

[COLOR=Blue]# 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.
<EOT>

What could be the problem...?
Please help me to get a solution.

THANKS IN ADVANCE....

Ajith.

i want more information regarding your problem...

  1. have u configured the queue in both the server (HP) and the Aix server....
    2.have give a direct print to the printer .. so that u can find out the problem is with h/w or the queue...

all thse things r ok... the check the /etc/qconfig and verify all u configuration are correct(as per ur requirement...)

For ur error message , the problem will be
1.Missing colon files after an upgrade could be the problem's cause.
2.if these filesystem /tmp or /var full ,then you will get this problem
all r correct then check the H/W of the printer......

when ever u get this error message ,there will be possibility for Hardware error....

Dare AIXTeam

Hi Dare,
Thank you very much for your suggestions.
Actually the printer is connected to a print server device (SMC4103) , not a HP UX Server.
However the problem is partially solved.The problem was I have given the remote port name as LPT1,but the correct name is LP1. After the LP1 is given as the remote port, it started printing.But the problem is it prints only the first 2-3 lines of the document and remaining blank sheet.
I will explain how I configured the remote print queue.
SMIT->PRINT SPOOLING->AIX PRINT SPOOLING->ADD A PRINT QUEUE
Then I selected REMOTE and then STANDARD PROCESSING.
After this I entered the parameters.
Name of the queue : MIN_STATE_LJP1
Hostname of remote server : SMC4103 (this name is added in the /etc/hosts)
Name of the queue on remote server : LP1
Type of print spooler on remote server : BSD
To turn on debugging,specify the output file path : /tmp/state.debug
After clicking OK, it created the print queue named MIN_STATE_LJP1.

Then I edited the queue parameters.
SMIT->PRINT SPOOLING->AIX PRINT SPOOLING->PROGRAMMING TOOLS -> QUEUES AND QUEUE DEVICES->QUEUE DEVICE->CHANGE/SHOW CHARACTERISTICS OF A QUEUE DEVICE
Then I changed the BACKEND PROGRAM pathname from /usr/lib/lpd/rembak to /usr/lib/lpd/pio/etc/piorlfb -f ! (this was the backend program used when it was working fine before)

But when a print is given ,it prints only the first 2-3 lines.
Please find below the entries in the /etc/qconfig file.

MIN_STATE_LJP1:
device = @SMC4103
up = TRUE
host = SMC4103
s_statfilter = /usr/lib/lpd/bsdshort
l_statfilter = /usr/lib/lpd/bsdlong
rq = LP1
@SMC4103:
header = never
trailer = never
access = both
feed = 0
backend = /usr/lib/lpd/pio/etc/piorlfb -f ! -D /tmp/state.debug

When I open the debug file (/tmp/state.debug), the backend program shown in that is /usr/lib/lpd/rembak , not /usr/lib/lpd/pio/etc/piorlfb -f !

I am copying the first 4 lines of the debug file for your ref.

rembak[46664] main: Tue Dec 27 09:19:50 2005
rembak[46664] main: /usr/lib/lpd/rembak -D /tmp/state.debug -S SMC4103 -P LP1 -N
/usr/lib/lpd/bsdshort /tmp/teststate1
rembak[46664] main: backend=1.
rembak[46664] hookup: Try to connect, current time=1135664390.
rembak[46664] sendjob: sendjob starts, jobname=/tmp/teststate1, current time=113
5664390.

Sorry for giving such a long mail......
Expecting your valuable help..
Regards,

Ajith.

we dare aix
compare this sample etc/qconfig with your etc/qconfig file ,i find one difference in the device stanaza lpforu:
device = lp0
lp0:
file = /dev/lp0
header = never
trailer = never
access = both
backend = /usr/lib/lpd/piobe

the diffference is file=/dev/lp0 missing in your /etc/qconfig and try to change feed=0 as feed=never and check whether it is working or not..........

the importance of file=/dev/**** ..is to identifies the special file where the output of backend is to be redirected..........that is to the printer...
our id is :aixteam@gmail.com.... we will be in touch through mail....

Dare AIX