Remote printing problem in AIX


 
Thread Tools Search this Thread
Operating Systems AIX Remote printing problem in AIX
# 1  
Old 12-24-2005
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.
# 2  
Old 12-26-2005
MySQL Hi 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
# 3  
Old 12-28-2005
Remote printing problem in AIX

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.
# 4  
Old 12-28-2005
Hi 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
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Remote printing from Linux to AIX

Hello, I also posted this on the AIX forum in hopes of getting help. I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for "normal" print jobs is working out OK, but I'm having trouble with some AIX printers that have a user... (0 Replies)
Discussion started by: sbaker
0 Replies

2. AIX

Remote printing from Linux to AIX

Hello, I am trying to setup remote printing from a Linux machine (Red Hat 5.3) to an AIX machine (AIX 5.3). Remote printing for "normal" print jobs is working out OK, but I'm having trouble with some AIX printers that have a user defined backend. I turned on logging for lpd on the AIX... (0 Replies)
Discussion started by: sbaker
0 Replies

3. SCO

Remote Printing - 5.07 - MP5

I have just lost all of my printers and I forget how to create a remote printer in SCO 5.07. I do know that there is an issue with CUPS in that I have to "turn it off" (which I also forget how to do) so that this enables the "Remote Printer" setup option in Printer Administration. I thought... (1 Reply)
Discussion started by: atpbrownie
1 Replies

4. AIX

aix printing problem

i had small problem but the less of experience prevent me from solving it i added new print queue and device to aix 5.1 system and it works ok except that if i tried to print an arabic document it returns dummy data that can't be read there are alot of queues and all works fine with arabic... (0 Replies)
Discussion started by: aboharb17
0 Replies

5. UNIX for Advanced & Expert Users

Remote printing

Dear Sir Please how can I print a job localy with my printer while a server from where I am working belong to another network? Actulally to print a job I am oblige to : 1rst to print it inside a file 2nd coping the file to my network (rcp) 3rt sending the file to my local printer (lp... (2 Replies)
Discussion started by: sobnc
2 Replies

6. AIX

Printing problem in AIX machines running SAP

Hi all, We have a intermittent problem with printing from SAP running on AIX5.2 . Version of Sap is 4.6b. When a print is fired from SAP, the spool is created fine and then transferred to the host spool system (in this case the AIX Print queue). The problem seems to be happening when AIX... (3 Replies)
Discussion started by: pauldavi26
3 Replies

7. Solaris

Remote Dial-up Modem Printing With Out Cpu On The Remote Side!

I am looking for a dial-up remote printing solution as under : 1. We have a Centralized location where Sun Solaris (A) is installed. From here printing command will be despatched. 2. This printing command will be routed to WAN cloud to Main Branches (B1,B2,B3)and from there, printer at... (0 Replies)
Discussion started by: jayvee
0 Replies

8. UNIX for Advanced & Expert Users

Remote printing

I'm trying to print from my Solaris server to a Windows Print Server The Print Server will then pass the print job to a PC connected via dial-up and print it locally. EG: Solaris ----- | | | | ------ /88888/ ------- \ / ... (1 Reply)
Discussion started by: warrickj
1 Replies

9. UNIX for Dummies Questions & Answers

Remote Printing

I am using Sco Openserver 5.0.6 and I have an Okidata 16n printer on a GETNET print server. I am able to print to the printer. However I am having display issues. Normally when I setup a local printer I am able to tell it what model to use. Ex.(HPLaserJet). When I setup the remote... (2 Replies)
Discussion started by: stufine
2 Replies

10. IP Networking

Remote Printing

I am setting up a unix remote print server for approximately 500 printers. We send about 1,000 print jobs per day over the WAN. I am looking for hardware specs. I know I can overkill, but would rather get a sensible machine. Any suggestions? (2 Replies)
Discussion started by: Donna
2 Replies
Login or Register to Ask a Question