Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Network Printer needs Username/Password(nonVMS)

 
duse
Occasional Visitor

Network Printer needs Username/Password(nonVMS)

Hello,
we have network Printer and we are printing over LPR-Queues.

New Network Printers needs a Username/Password.
How can I set up the Queus or print-Jobs to send this Information?

Thank you.



5 REPLIES 5
Hoff
Honored Contributor

Re: Network Printer needs Username/Password(nonVMS)

The lpr/lpd protocol RFC 1179 document doesn't list a password; is there some other printing protocol involved here?
duse
Occasional Visitor

Re: Network Printer needs Username/Password(nonVMS)

Hello.
How can I send a Username/Password to a network printer that needs authentication?

Currently we have 2 Queues for printing on this printer

Logical queue SYS$PRINTER_RM1, idle, assigned to PR$RM1
/OWNER=[SYSTEM] /PROTECTION=(S:M,O:D,G:R,W:S)

Server queue PR$RM1, idle, on HESO1::, mounted form DEFAULT
/BASE_PRIORITY=4 /DEFAULT=(FEED,FORM=DEFAULT) Lowercase /OWNER=[SYSTEM]
/PROCESSOR=TCPIP$LPD_SMB /PROTECTION=(S:M,O:D,G:R,W:S) /RETAIN=ERROR


(mc tcpip$lprsetup)
PR$RM1|pr$rm1:\
:lf=/TCPIP$LPD_ROOT/000000/PR$RM1.LOG:\
:lp=PR$RM1:\
:rm=RM1_PRINTER:\
:rp=text:\
:sd=/TCPIP$LPD_ROOT/PR$RM1:




Is it possible to send username/password over such queues?

Thank you
Hoff
Honored Contributor

Re: Network Printer needs Username/Password(nonVMS)

AFAIK, what you are asking for does not exist in the standard lpr protocol as defined in the RFC, which implies that this unspecified printer has an extension of some sort, or that the printing is not using lpr/lpd. There's no reference to "password" in the RFC.

So, allow me to start with some questions.

What printer? Vendor and model.

What printing protocol is used on the other boxes to access this printer?

From this detail, I can potentially either learn something new (hey, lpr has passwords now!), or I can figure out how the other systems are accessing this printer and presenting credentials, and then if there's a way to do that on OpenVMS.

It's certainly feasible to implement something like this by tunnel or VPN or such; by sending lpr traffic over some other encryption or authentication.
Verne Britton
Regular Advisor

Re: Network Printer needs Username/Password(nonVMS)

I have no idea about a username/password, but just two weeks ago I was asked about a PIN number for a Lanier ... the project since has been put on hold but I did manage to find this example ... the start of the PCL stream from another O/S on its way to the printer:

%-12345X@PJL SET RENDERMODE=COLOR
@PJL SET DATAMODE=COLOR
@PJL SET RESOLUTION=600
@PJL SET BITSPERPIXEL=1
@PJL SET ECONOMODE=OFF
@PJL SET DUPLEX=OFF
@PJL SET MEDIATYPE=PLAIN
@PJL SET OUTBIN=SYSDEFAULT
@PJL SET STAPLE=OFF
@PJL SET PUNCH=OFF
@PJL SET USERCODE="1234"
@PJL ENTER LANGUAGE = PCLXL
) HP-PCL XL;1;1;Comment Copyright Artifex Sofware, Inc 2005...X.X....


... but I have no idea if this will be of any help to anybody trying to transmit a username/password :-)

just my .02 cents worth :-)


Verne
Phil.Howell
Honored Contributor

Re: Network Printer needs Username/Password(nonVMS)

is it an HP printer? What type?
HP publish documents called a "security checklist" for some models.
Maybe newer printers have default settings that are more secure?
You may have to set up ip addresses that are allowed to print.
Phil


http://h10018.www1.hp.com/large/solutions/hp-laserjet-and-color-laserjet-mfp-security-checklist.pdf