Operating System - OpenVMS
1827525 Members
2673 Online
109965 Solutions
New Discussion

Is it possible connect a HP LaserJet 1000 to OpenVMS?

 
SOLVED
Go to solution
Antoniov.
Honored Contributor

Is it possible connect a HP LaserJet 1000 to OpenVMS?

My customer has a HP LaserJet 1000 connected to a PC with windows xp via USB.
Is it possible create a OpenVMS queue for this printer?
Because it's a USB printer I can't use DCPS or telnet symbiont. I've used pathwork printer service but I never used this service on windows xp.

Thanks for any help.
@Antoniov
Antonio Maria Vigliotti
19 REPLIES 19
labadie_1
Honored Contributor
Solution

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hello

you should be able to use lpd to send the file to the pc, and then the pc will print it.

see

Using LPR-LPD to Print from OpenVMS Clients to Windows NT Printers

http://h18000.www1.hp.com/support/asktima/dec_third_party/00999001-9AFF3077-1C007A.html
Antoniov.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hello Labadie,
I'l try this procedure and I'll post the result.
Thanks for help; if it works you will gain other points!

@Antoniov
Antonio Maria Vigliotti
Ian Miller.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

attached some notes on lpd/lpr printing via windows. Best avoided really :-)
____________________
Purely Personal Opinion
Lokesh_2
Esteemed Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hi Antoniov,

Also note that the queue name in windows/Unix is case sensitive. So, while defining LPD queue on VMS , make sure the queue name entered on VMS matches the case with queue name on Windows.

Thanks & regards,
Lokesh
What would you do with your life if you knew you could not fail?
Antoniov.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Thanks Lokesh,
it's the same using Pathwork printer serivce.

@Antoniov
Antonio Maria Vigliotti
Martin P.J. Zinser
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hello Antonio,

I do the same with a hp DeskJet connected to a Linux server. If you have a good LPD on Windows it should work.

The command to setup your printcap is
mcr lpr$setup.

Greetings, Martin
Antoniov.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hello Guys,
I used LPR/LPD making fews works.
The result are the follows:
a) If I connect a network printer queue works fine so I changed a DCPS queue on xerox and now I use LPR protocol (because printer accept PCL too).
b) If I connect to a printer connecte to a PC queue doesn't work.
I made some tries but I never had successfull.
This is an example of printer "Prt" on PC named REMOTE_PC:
$ RUN SYS$SYSTEM:TCPIP$LPRSETUP
Command < add delete view help exit >: A

Enter printer name to add :MYQUE
remote local : REMOTE
Enter printer synonym:
SPOOLER DIRECTORY 'sd' : [...] ?
Set LPD PrintServer extensions flag 'ps' [] ?
Set remote system name 'rm' [] REMOTE_PC
Set remote system printer name 'rp' [] ? Prt
Set printer error log file 'lf' [...] ?
[...]
Do you want this procedure to start the queue [n] : YES
$ SHO QUE MYQUE
Server queue MYQUE, idle, on MYNODE::, mounted form DEFAULT
$ PRINT/QUE=MYQUE FF.TXT
LPD Retrying failed job: FF Number: 123 User: SYSTEM Status: %SYSTEM-F-REJECT,
connect to network object rejected

Now work is holding in queue.
The LOG is

%%%%%%%%%%%% 4-MAR-2004 17:20:29.40 %%%%%%%%%%%%

%UCX-I-LPD_LOGSUC, Using log file SYS$SPECIFIC:[UCX_LPD]MYQUE.LOG

%%%%%%%%%%%% 4-MAR-2004 17:20:29.64 %%%%%%%%%%%%

%UCX-I-LPD_SYMBRUN, Symbiont is running the queue MYQUE

lpd$ast_handler save_entry_number = 123

Finale notes:
"Prt" is the name of shared printer
REMOTE_PC ha entry in TCPIP (with set host)
Printer works fine in PC network.

Can sombody help me?

Cheers
@Antoniov










Antonio Maria Vigliotti
Lokesh_2
Esteemed Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hi Antoniov,

You need to enable lpd service on your PC . Can you telnet to your PC with port 515 from you VMS machine?

$telnet remote_pc 515

If you are not able to connect to port 515, then you will not be able to print. For this you have to enable ( or configure ) LPD on your PC to accept connection from VMS machine.

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

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hi Antoniov,

Also do the following before sending the print request .

$lpq myque

If you can see the remote queue Prt , then you will be able to print.

Best regards,
Lokesh
What would you do with your life if you knew you could not fail?
Antoniov.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hello to all,
problem doesn't solved.
On windows xp I've installed Service for unix print (name of LPR/LPD by M$) but this can't work; it seems windoze install only a client side of LPR/LPD but I need a server side on PC.
I can print using LPR/LPD of VMS onto a network printer but this printer is connected via USB to a PC.
Any other idea?

Thanks

@Antoniov
Antonio Maria Vigliotti
Lokesh_2
Esteemed Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hi Antoniov,

Sorry I do not have any window XP. I work on windows2000 and can successfully print via LPR/LPD services. Do you have W2k . If yes, then I can forward you the steps.

Best regards,
Lokesh
What would you do with your life if you knew you could not fail?
Art Wiens
Respected Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

I believe once you've installed Print Services for Unix on XP, there are some settings you can review if you: Start | Settings | Control Panel | Administrative Tools | Services | TCP/IP Print Server (Printing Service ?).

Might be some clues in there.

HTH,
Art
Antoniov.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Hi Lockesh,
I haven't got a Win2k machine, but I remember same steps of windows xp.
Art,
happy to remeet you: you are first one I posted. Today I execute your hints, then I'll post the result.

Thanks to both.
@Antoniov

Antonio Maria Vigliotti
Antoniov.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Art,
your hint works but printer doesn't print fine!
I read documentation about LPR of microsoft and it seems service can't accept escape sequence, so I can only send plaint text without control codes.

Thanks to all.

@Antoniov
Antonio Maria Vigliotti
Anton van Ruitenbeek
Trusted Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Antoniov,

I was plaining with old messages, and found this one from you. I have posted a message in:
'lprsetup parameters to print to HP Laserjet'
This describes the failures/problems of LPR/LPD for VMS printing style.

I think this is a solution for you. Try to not use the PC between.
If the laserjet supports Parallel, you can use the JetDirect 170x

AvR
NL: Meten is weten, maar je moet weten hoe te meten! - UK: Measuremets is knowledge, but you need to know how to measure !
Knut Dybendahl
New Member

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Antoniov,

I'm in exactly the same position as you were,
however I'm trying to print to a 'dumb' printer.. In other words, simply passing along a long string of bytes, and the printer will do the rest...

Could you pls share with me the short and
consise version how you got it to work?

Thanks in advance.
Knut
Antoniov.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Yes Knut,
at last I used unsupported product of pathwork-32, called pwprint.
It was not easy to install and I had to read a lot of documentation.
However, even it is not supported by HP, this software works very fine.
I installed client side on alpha vms and server side on PC; then I configurated both.
There are some potential trouble:
a) Some printer can't work; e.g. HP 1000 requires DOS version of its driver installed on windows.
b) I must supply all escape code to print; I tryed with some other printers but often pc printers have not documentation about codes therefore it's impossible printing.
c) Laser printers have restricted right margin; e.g. using font 12 (like 10 cpi) I print a line of 78 chars instead 80.

H.T.H.
Antonio Vigliotti
Antonio Maria Vigliotti
Anton van Ruitenbeek
Trusted Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Antoniov,

You can actualy buy a HP Externel Jetdirect 170 with USB. Add this one to you're printer, give it an IPadres, create the queue using TCPIP$TELNETSYM socket 9100 and you're happy.
I'm doing this whith my officejet G85.
No other system between (at least no windows or Unix) and these system can print also directly using or the windows equavalent or the LPD method. Because mine is also a scanner, I can use this also as a networkscanner (for Windows).

AvR
NL: Meten is weten, maar je moet weten hoe te meten! - UK: Measuremets is knowledge, but you need to know how to measure !
Antoniov.
Honored Contributor

Re: Is it possible connect a HP LaserJet 1000 to OpenVMS?

Anton,
where you connect Jetdirect 170 USB? I'm using another printer server with HP LaserJet 3015 and it works fine.

Antonio Vigliotti
Antonio Maria Vigliotti