Operating System - OpenVMS
1829149 Members
2186 Online
109986 Solutions
New Discussion

TCPIP printing on HP LaserJet

 
SOLVED
Go to solution
Ronny_7
Regular Advisor

TCPIP printing on HP LaserJet

Hi,

I have a Alpha1200 running on OpenVMS V7.1-1H2.
I tried to configure a HP LaserJet4050N to this system by TCPIP printing but is not successful.

I am able to ping and telnet to the ip address of the printer.

When I tried to print from the system to the printer, the job is started, the queue turn to busy and back to idle. No errors reported.

But on the printer, there is no printout.

Any advise?

Thanks and Regards,
Ronny
13 REPLIES 13
Antoniov.
Honored Contributor

Re: TCPIP printing on HP LaserJet

Hi Ronny,
I've had same problem with xerox printer.
You can see as I've solved reading this thread http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=233486

Post again, if you need furthermore help inserting queue details.

H.T.H.
Antoniov

Antonio Maria Vigliotti
Ronny_7
Regular Advisor

Re: TCPIP printing on HP LaserJet

Hi Antoniov,

Thank you for the pointer.

But I am not using DCPS.

All I did was init a print queue with the printer ip address and port number 9100.

Regards,
Ronny
Lokesh_2
Esteemed Contributor
Solution

Re: TCPIP printing on HP LaserJet

Hi Ronny,

If port 515 is enabled for the printer, then try creating LPD queue.

You can check whether port 515 is enabled on the printer or not by :

$telnet /port=515

If you can , then you can creat LPD queue with the following utility:

$MC TCPIP$LPRSETUP


Best regards,
Lokesh
What would you do with your life if you knew you could not fail?
Lokesh_2
Esteemed Contributor

Re: TCPIP printing on HP LaserJet

And to check whether the port no. 9100 is enabled for the pritner, give following command:

$telnet /port=9100

If port 9100 is enabled then give the following command to create a printer queue:

$init/que/star/on=:9100/processor=tcpip$telnetsym que-name

Regards,
Lokesh
What would you do with your life if you knew you could not fail?
Ronny_7
Regular Advisor

Re: TCPIP printing on HP LaserJet

Hi Lokesh,

This my queue setting,
$ sh que lj009 /full
Printer queue LJ009, stopped, on PINSE::"192.162.1.74:9100",
mounted form DEFAULT
/BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) /OWNER=[SYSTEM]
/PROCESSOR=UCX$TELNETSYM /PROTECTION=(S:M,O:D,G:R,W:S)

When I telnet to the ip with port 9100, I get hang at the below, is it normal?
$ TELNET 192.168.1.74 9100
%TELNET-I-TRYING, Trying ... 192.168.1.74
%TELNET-I-SESSION, Session 01, host 192.168.1.74, port 9100
-TELNET-I-ESCAPE, Escape character is ^]

Regards,
Ronny
Lokesh_2
Esteemed Contributor

Re: TCPIP printing on HP LaserJet

Hi Ronny,

Yes, this is normal. The port 9100 is enabled on the printer.

You queue seemed to be in stopped state. Start the queue with command

$ start/que que-name

After this , give the command $reply/enable=printer and then give your print command and see what opcom message appears.

Best regards,
Lokesh
What would you do with your life if you knew you could not fail?
Ronny_7
Regular Advisor

Re: TCPIP printing on HP LaserJet

Hi Lokesh,

The status is stop because I manually stop it.
When the printing testing was carried out, the status is idle.

I did try with reply/enable and test the printing but no message and no error.

Do I need to specify reply/enable=printer?

Regards,
Ronny
Lokesh_2
Esteemed Contributor

Re: TCPIP printing on HP LaserJet

reply/enable is fine. you may not receive opcom message if your terminal is set for nobroadcase. Set the broadcast charcteristices of your terminal by

$set terminal/broadcast

Also check your queue manager status whether it is running fine or not:

$show queue/manager/full

Also ensure printer do not have any hardware problem and is in ready state.

Best regards,
Lokesh
What would you do with your life if you knew you could not fail?
Ronny_7
Regular Advisor

Re: TCPIP printing on HP LaserJet

Hi Lokesh,

Thank you for the advise.

I will test it out again tomorrow at customer's site.

Regards,
Ronny
Antoniov.
Honored Contributor

Re: TCPIP printing on HP LaserJet

Hi Ronny,
You don't post details of your problem.
Now comunication to your printer seems ready but you are not sure if works fine.
So you could create a new telnet device, copy manually a file to it and see what does happen.
$! Now I create a telnet device TNA2
$ TELNET
TELNET>CREATE 192.168.1.74 9100 2
TELNET>EXIT
$! Now I copy a file to telnet device TNA2
$ COPY myfile.txt TNA2:
$! Now I remove prot TNA2
$ TELNET
TELNET>DELETE 2
TELNET>EXIT
This procedure tell you if network comunication between host and printer work fine.
After you could decide next step.

Bye
Antoniov


Antonio Maria Vigliotti
Antoniov.
Honored Contributor

Re: TCPIP printing on HP LaserJet

Ronny,
also remember HP LaserJet use PCL5 or PCL6 escape sequence. So if your file doesn't containt PCL5 escape sequence it's very hard to print; if your printer use PCL6 you never can print, because PCL6 (as poscript) is a graphical language. In case of PCL6 you NEED the DCPS (remember DCPS now not more required separate license PAK).
Also, the HP LaserJet, usually, required bidirectional handshake; standard VMS queue doesn't support bidirectional handshake.

H.T.H.
Antoniov
Antonio Maria Vigliotti
Ronny_7
Regular Advisor

Re: TCPIP printing on HP LaserJet

Hi Lokesh and Antoniov,

It seems the problem is on the printer itself.
We brought in another printer and it worked with no problem.

Thank you for your time and support.

Regards,
Ronny
Ronny_7
Regular Advisor

Re: TCPIP printing on HP LaserJet

As per replies.