Operating System - HP-UX
1753500 Members
4328 Online
108794 Solutions
New Discussion юеВ

Re: Printing port not working

 
SOLVED
Go to solution
suju
Advisor

Re: Printing port not working

Hi santosh,
here are the outpots..(qname=lprem, printer server/windowsXP=iraudio,m/c on which port faulty/HPUX=irtds1)..

# lpstat -r
scheduler is running
# lpstat -vlprem
device for lprem: /dev/null
remote to: lprem on iraudio
#
#lpstat -plprem
printer lprem is idle. enabled since Jan 5 22:42
fence priority : 0
#lpstat -t
scheduler is running
system default destination: lprem
device for lp: /dev/lp_lp
device for lprem: /dev/null
remote to: lprem on iraudio
lp accepting requests since Oct 14 17:05
lprem accepting requests since Jan 5 22:42
printer lp is idle. enabled since Oct 14 17:05
fence priority : 0
printer lprem is idle. enabled since Jan 5 22:42
fence priority : 0
connection to iraudio is down
irtds1: lprem: ready and waiting
# telnet 192.65.67.80 515
Trying...
unable to connect to remote hosts: connection timed out
#

Pls help me
suju
Advisor

Re: Printing port not working

Dear All,
Pls help..
Regards
Nitin
skt_skt
Honored Contributor

Re: Printing port not working

r u able to connect to 192.65.67.80 even? I doubt as it reports "timed out". If u can reach IP then try t figure out why 515 is blocked.
OldSchool
Honored Contributor

Re: Printing port not working

"...I have installed the remote printer in the HP-ux machine...."

so, exactly what steps did you follow to do this?
suju
Advisor

Re: Printing port not working

Oldschool:I have added a remote printer in HP-Ux m/c,
In windows the printer name & the sharename of the printer are set same:lprem,
Started the TCP services for unix printing are started, added the windows component "printer services for Unix"
Added the LPR port for that printer,
During that "Name or Address of server prioviding LPD:"tried both m/c name
&
"Name of printer or print queue on that server:"on both m/c the printer name is lprem,
selected both port LPT1 & LPR By using "Enable printer pooling"
But still facing the problem,
Your help is appreciated
Thanks
Nitin
suju
Advisor

Re: Printing port not working

Thanks all, now I am able to take the printouts, the problem was with the firewall, I have disable the firewall from windows & the problem is solved now
But there are some Escape characters in Unix file (report of an application)which are also printing
So pls help me to format the printing as required by removing the escape chars.
Thanks
Nitin M.
Dennis Handly
Acclaimed Contributor

Re: Printing port not working

>removing the escape chars.

Just escape chars by themselves or sequences of chars?
tr(1) can be used to remove single escape chars.
Bill Hassell
Honored Contributor

Re: Printing port not working

> removing special characters

What is the format of the report? Is it PCL or Postscript. If it is PCL (also known as ASCII with extras) and has escape sequences, they are very likely require to properly print the report on a specific model of printer. These will be quite difficult to clean up because an "escape sequence" is the ESC character followed by one to several characters. You can delete the ESC character with tr but the extra characters will be left in the report.

What is creating this report? Do you have the option to tell the creator to change printer models? Or turn off all special codes? There are hundreds of printers and most are not completely compatible with each other. To see the special characters, run the print file though cat -v.


Bill Hassell, sysadmin
suju
Advisor

Re: Printing port not working

Dear Dennis & Bill,
There are lots of escape characters, as the report is in PCL format, I know these esc chars are required to print the report in pproper format But in my case as the LPT port is not working I am using the same printer on windows & by using the remote printer on HPUX I am trying to take printouts
Pls help..
Thanks
Javed Khan_1
Valued Contributor

Re: Printing port not working

Hi,

What type of printer you have (Model).

Is it a Network printer?

Regards,
Javed Khan
Never Give Up