Operating System - OpenVMS
1827794 Members
2705 Online
109969 Solutions
New Discussion

Cannot print to HP1022n from OPEN VMS

 

Cannot print to HP1022n from OPEN VMS

Have recently purchased a LJ1022N to replace a LJ2200. This has been configured and works fine from windows put I cannot get jobs to print to it from OPEN VMS.

The jobs appear in the queue but after a short amount of time the following message appears:
LPR Retrying failed job:%%% User:%%% BMS Status:%SYSTEM-F-REJECT, connect to network object rejected.

I can ping the IP address but it rejects a telnet connection.

The settings for the printer in TCPIP$PRINTCAP.DAT; are as follows:
REPORTS$LASER|reports$laser:\
:lf=/SYS$SPECIFIC/TCPIP$LPD/REPORTS$LASER.LOG:\
:lp=REPORTS$LASER:\
:rm=REPORTS$LASER:\
:sd=/SYS$SPECIFIC/TCPIP$LPD/REPORTS$LASER:

Printer queue has also been defined in the tcpip host database.
There are other laser printer queues setup on VMS which are working fine and I can not see any major differences in the printer/queue settings.
Using VMS V7.3 and TCPIP V5.1

Any advice would be greatly received.
Thanks
13 REPLIES 13
Karl Rohwedder
Honored Contributor

Re: Cannot print to HP1022n from OPEN VMS

Andrew,
can you open the embedded webserver on this printer? It REPORT$LASER its hostname or is this a logical name, i.e. does a PING REPORTS$LASER work?

regards Kalle

Re: Cannot print to HP1022n from OPEN VMS

Thanks for your response.

It is possible to connect to the printers webserver using explorer.
REPORTS$LASER is the printers host name and I can ping to this.
Karl Rohwedder
Honored Contributor

Re: Cannot print to HP1022n from OPEN VMS

I have no experience with this particular model, but 'normally', you should be able to telnet to the printer (try port 9100, the standard HP portnumber) and the text you type should be printed after ending the session.

May be it is nec. to specify the remote queue name (:rp=raw or :rp=text)?

regards Kalle

Re: Cannot print to HP1022n from OPEN VMS

If I telnet to reports$laser 9100 it print what I have typed.

I have tried changing the remote queue name to raw1 which is what the other HP printer queues are using but still get the retrying failed job message.
Karl Rohwedder
Honored Contributor

Re: Cannot print to HP1022n from OPEN VMS

You may try a TELNETSYM queues instead of a LPD queue, see HELP INIT /QUE EXAMPLE for a TELNETSYM example.

regards Kalle
Antoniov.
Honored Contributor

Re: Cannot print to HP1022n from OPEN VMS

Andrew,
I tried use some HP1000 series printer without success. I don't know this model but
this printer family is "host based" printer. You can see on HP web page http://h10010.www1.hp.com/wwpc/us/en/sm/WF06b/18972-236251-236263-14638-f51-439424-439432-439437.html?jumpid=oc_R1002_USENC-001_HP%20LaserJet%201022n%20Printer〈=en&cc=us
"Host based" means printer driver is located on PC not in printer, so you can just print from any PCs.

Antonio
http://it.openvms.org

Antonio Maria Vigliotti

Re: Cannot print to HP1022n from OPEN VMS

Hi Antonio,

Thanks for your reply.

The HP 1022n Spec shows print languages as
Host-based printing or HP PCL 5e.

I want the printer to be using PCL 5e. Is there a way to check if this is being used?

Thanks
Antoniov.
Honored Contributor

Re: Cannot print to HP1022n from OPEN VMS

Andrew,
actually printer uses PCL5 language but language interpreter lives in PC. So you cannot send PCL5 code directly to the printer but you should send them to PC.

These is what I tried with some host based printer:
- I used Pathwork32 printer server; printer symbiont on OpenVMS send to PC and PC send to printer. This works fine with many kinds of printers but it doesn't work with host based printers.
- I shared printer on a PC and send data to PC with pathwork32. Same as above.
- I send PCL5 codes directly to printer device by old DOS interpreter. Same as above.

At last I always replaced printers and new printers work fine.

Antonio
http://it.openvms.org
Antonio Maria Vigliotti
Karl Rohwedder
Honored Contributor

Re: Cannot print to HP1022n from OPEN VMS

Andrew,

you wrote

< If I telnet to reports$laser 9100 it print what I have typed

This seems to indicate, that the printer understands text and may be PCL5, just try with a TELNETSYM queue to be sure.

Another way may be to set up LPD on a windows server and to print via LPD from VMS to the windows server to the printer.

regards Kalle

Re: Cannot print to HP1022n from OPEN VMS

Thanks Karl

I have now created the que as
tcpip$telnetsym and can now print to it from VMS.

However I think there must be an issue with the library i am using because it is not printing correctly. It first prints a blank page, then the report followed by a page with a line across the top. The job also remains on the queue which then stalls.

Queue now setup as follows:
Printer queue REPORTS$TEST, stopped, autostart inactive, on ALPHA::
"192.168.24.3:9100", mounted form HP_COML (stock=DEFAULT)
/AUTOSTART_ON=(ALPHA::"192.168.24.3:9100") /BASE_PRIORITY=4
/DEFAULT=(FORM=HP_COML (stock=DEFAULT)) /LIBRARY=HP_DEVCTL /OWNER=[SYSTEM]
/PROCESSOR=TCPIP$TELNETSYM /NO_INITIAL_FF /PROTECTION=(S:M,O:D,G:R,W:S)
/SCHEDULE=(NOSIZE) /SEPARATE=(RESET=(RESET))

Re: Cannot print to HP1022n from OPEN VMS

Gave up in the end and got a HP1300N which started printing first time.

Thanks for your input.
Antoniov.
Honored Contributor

Re: Cannot print to HP1022n from OPEN VMS

Andrew,
there is no dubt because 1300 family has its own interpreter inside.

Antonio
http://it.openvms.org
Antonio Maria Vigliotti
Phil.Howell
Honored Contributor

Re: Cannot print to HP1022n from OPEN VMS

If the telnet queue is working then there are some logical name settings that can be used to identify problems...

http://h71000.www7.hp.com/doc/732final/6526/6526pro_051.html#telnetsym_formfeed_suppression
Phil