Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-16 Thread Kris Buelens
The public may now think that DIAGD4 can alter the origin of an existing
spool file.  That is not the case.

DIAG D4 sets the alternate user of a machine, any spool files it creates
after this setting, will have the alternate userid as origin.

2010/4/15 Fran Hensler f...@zvm.sru.edu

 Les -

 I didn't mean to imply that I was using the DIAGD4 EXEC for the Ricoh
 problem.  I only offered it as a way to solve changing the ORIGINID on
 spool files.  I haven't tried to see if the new ORIGINID would be
 passed to the Ricoh in the p record.

 I only use DIAGD4 in a DVM that receives print from VSE, processes it
 and then sends it on to RSCS for printing.  My purpose was so have
 'VSE' print on the separator page, not the name of the DVM.

 /Fran
 
 On Thu, 15 Apr 2010 07:40:35 -0400 Les Geer (607-429-3580) said:
 Has the use of DIAGD4 resolved the situation?  Is the correct origin
 user ID passed on the P control file record?  Does the daemon find
 this and authenticate properly?
 




-- 
Kris Buelens,
IBM Belgium, VM customer support


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-16 Thread Fran Hensler
You are correct (as always) Kris.

The DVM where DIAGD4 wakesup when a spool file is received from VSE.
It then executes the DIAGD4 EXEC to change the ORIGINID.
Then a PIPE reprints the spool file to RSCS and RSCS sees the
alternate ORIGINID that DIAGD4 specified.

I'm sorry for the confusion.

/Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--
On Fri, 16 Apr 2010 11:36:55 +0200 Kris Buelens said:
The public may now think that DIAGD4 can alter the origin of an existing
spool file.  That is not the case.

DIAG D4 sets the alternate user of a machine, any spool files it creates
after this setting, will have the alternate userid as origin.

2010/4/15 Fran Hensler f...@zvm.sru.edu

 Les -

 I didn't mean to imply that I was using the DIAGD4 EXEC for the Ricoh
 problem.  I only offered it as a way to solve changing the ORIGINID on
 spool files.  I haven't tried to see if the new ORIGINID would be
 passed to the Ricoh in the p record.

 I only use DIAGD4 in a DVM that receives print from VSE, processes it
 and then sends it on to RSCS for printing.  My purpose was so have
 'VSE' print on the separator page, not the name of the DVM.

 /Fran
 
 On Thu, 15 Apr 2010 07:40:35 -0400 Les Geer (607-429-3580) said:
 Has the use of DIAGD4 resolved the situation?  Is the correct origin
 user ID passed on the P control file record?  Does the daemon find
 this and authenticate properly?
 




--
Kris Buelens,
IBM Belgium, VM customer support



Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-15 Thread Les Geer (607-429-3580)
/* Sample DIAGD4 EXEC */
/*
Use DIAG D4 to change spool ownerid to original owner.
 */


/*  Do a QUERY RDR to find OWNERID  */


ownerid = Left(ownerid,8)  /* Who sent us spool file */
target  = Left(Userid(),8) /* Machine name this EXEC is running in */
Address Command 'DIAGD4' target ownerid
If Rc /= 0 Then Say 'DIAGD4 had a return code =' Rc


Are you able to change the origin user ID within the spool file
updated with Diag D4?


Has the use of DIAGD4 resolved the situation?  Is the correct origin
user ID passed on the P control file record?  Does the daemon find
this and authenticate properly?


Best Regards,
Les Geer
IBM z/VM and Linux Development


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-15 Thread Fran Hensler
Les -

I didn't mean to imply that I was using the DIAGD4 EXEC for the Ricoh
problem.  I only offered it as a way to solve changing the ORIGINID on
spool files.  I haven't tried to see if the new ORIGINID would be
passed to the Ricoh in the p record.

I only use DIAGD4 in a DVM that receives print from VSE, processes it
and then sends it on to RSCS for printing.  My purpose was so have
'VSE' print on the separator page, not the name of the DVM.

/Fran

On Thu, 15 Apr 2010 07:40:35 -0400 Les Geer (607-429-3580) said:
Has the use of DIAGD4 resolved the situation?  Is the correct origin
user ID passed on the P control file record?  Does the daemon find
this and authenticate properly?



Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-15 Thread Benedict, Martin
No, we do not have an nje defined.


Martin V. Benedict, Sr.
Sr. Systems Programmer
IT Department
The Golub Corporation - Price Chopper Markets
461 Nott Street
Schenectady, New York, 12308
Phone:518-379-1261
Cellular: 518-788-3742
Fax:  518-379-3514
www.pricechopper.com
martybened...@pricechopper.com

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Les Geer (607-429-3580)
Sent: Wednesday, April 14, 2010 8:01 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: RSCS: Printing to Ricoh Copier with LPR

  The problem that we have is that some of the prints come from a CMS
users rdr. The originid is what actually gets passed. If the report
came
from the vse system to the CMS user, then the origin id is the name of
the VSE guest, and that can't be changed that I can see. We would need
to somehow alter the origin id in order to be able to have a valid user
id. We need to have each print job tied to a specific person and not a
vm guest name.


As others have suggested, you can use Diagnose x'F8' to change a CMS
users spool file origin information.  From VSE, do you have an NJE
link defined to RSCS?  If so, I believe you can specify origin
information when you submit the job to VSE.


Best Regards,
Les Geer
IBM z/VM and Linux Development


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-15 Thread Benedict, Martin
I just downloaded the package fro, Fran Hensler's web site and working
on installing. I didn't see any docs related to usage though.


Martin V. Benedict, Sr.
Sr. Systems Programmer
IT Department
The Golub Corporation - Price Chopper Markets
461 Nott Street
Schenectady, New York, 12308
Phone:518-379-1261
Cellular: 518-788-3742
Fax:  518-379-3514
www.pricechopper.com
martybened...@pricechopper.com


-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Les Geer (607-429-3580)
Sent: Thursday, April 15, 2010 7:41 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: RSCS: Printing to Ricoh Copier with LPR

/* Sample DIAGD4 EXEC */
/*
Use DIAG D4 to change spool ownerid to original owner.
 */


/*  Do a QUERY RDR to find OWNERID  */


ownerid = Left(ownerid,8)  /* Who sent us spool file */
target  = Left(Userid(),8) /* Machine name this EXEC is running in
*/
Address Command 'DIAGD4' target ownerid
If Rc /= 0 Then Say 'DIAGD4 had a return code =' Rc


Are you able to change the origin user ID within the spool file
updated with Diag D4?


Has the use of DIAGD4 resolved the situation?  Is the correct origin
user ID passed on the P control file record?  Does the daemon find
this and authenticate properly?


Best Regards,
Les Geer
IBM z/VM and Linux Development


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-15 Thread Benedict, Martin
Les,
  Do you have a sample of an LPRZONE exit or configuration file?


Martin V. Benedict, Sr.
Sr. Systems Programmer
IT Department
The Golub Corporation - Price Chopper Markets
461 Nott Street
Schenectady, New York, 12308
Phone:518-379-1261
Cellular: 518-788-3742
Fax:  518-379-3514
www.pricechopper.com
martybened...@pricechopper.com


-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Les Geer (607-429-3580)
Sent: Tuesday, April 13, 2010 12:17 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: RSCS: Printing to Ricoh Copier with LPR

LPRXONE passes the user ID of the print job origin in the p control
file record.  Is this being used by the Ricoh?



Best Regards,
Les Geer
IBM z/VM and Linux Development

We have pretty much the same setup. However, we have a need to pass a
person's userid to the Ricoh. Our printers are setup with the badge
swipecard reader and we need to be able to pass a userid. We are
currently
using
the LPRXONE. If there is another that supports an actual userid, i
would
be willing to switch to test. We also are using RSCS to TCPIP/LPR to
the
printers.




On Wed, 7 Apr 2010 10:47:28 -0400, Fran Hensler f...@zvm.sru.edu
wrote:

On Tue, 06 Apr 2010 15:30:27 EDT Fran Hensler f...@zvm.sru.edu said:
We have various models of Ricoh copiers around campus to which we
have

been sending print from RSCS Networking Version 3, Release 2.0-0201.

Recently authorization codes were installed on some of them.
Without
the use of this code the print just goes into the bit bucket.
So from RSCS everything looks normal but nothing prints.

On the Ricoh Customer Help page http://tinyurl.com/yf2mtku
there is a question:
   How do I add a user code when printing from a Unix command line?
and the answer is:
   You may add a user code to a Unix print job by adding -o
usercode=
 to
the
command line.

   For example:

   lp -d restricted_printer -o usercode=3D12345 /etc/hosts


My question:
   Is there any way to get RSCS to send the usercode?  What PARM
statement would I use?


On Tue, 6 Apr 2010 20:42:49 -0400 Les Geer (607-429-3580) said:
Which RSCS LPR exit are you using?  LPRXONE does not currently
include
the -o record in the control file sent to the printer.  You would
need
to modify the exit to add it.  Unsure if the printer would accept
a usercode via a PCL or postscript command.  If so, then you could
add
it via the prefix eparm.

Best Regards,
Les Geer
IBM z/VM and Linux Development

Les -

I tried
*usercode=3D34043404 in ASCII
   EPARM=3D'S=3DN PREFIX=3D75736572636F653D3334303433343034'
and Exit LPRXONE took it but it didn't work.

I found a solution at: http://tinyurl.com/yk5vveh

The Ricoh configuration can specify unrestricted users by IP
address.  I entered the IP address of the mainframe and I'm now
able to print with RSCS LPR.

Thanks to Les Geer and David Boyes for offering possible
solutions.

rs
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-15 Thread Les Geer (607-429-3580)
 Do you have a sample of an LPRZONE exit or configuration file?


The LPRXONE ASSEMBLE source is on the install ID's 2B3 minidisk.
The sample LPRXONE configuration file is LPREXITS CONFSAMP on the
install ID's 406 minidisk.

Best Regards,
Les Geer
IBM z/VM and Linux Development


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-14 Thread Les Geer (607-429-3580)
  The problem that we have is that some of the prints come from a CMS
users rdr. The originid is what actually gets passed. If the report came
from the vse system to the CMS user, then the origin id is the name of
the VSE guest, and that can't be changed that I can see. We would need
to somehow alter the origin id in order to be able to have a valid user
id. We need to have each print job tied to a specific person and not a
vm guest name.


As others have suggested, you can use Diagnose x'F8' to change a CMS
users spool file origin information.  From VSE, do you have an NJE
link defined to RSCS?  If so, I believe you can specify origin
information when you submit the job to VSE.


Best Regards,
Les Geer
IBM z/VM and Linux Development


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-14 Thread Fran Hensler
Les -

I checked my code and I'm using DIAG D4.

/Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--
On Wed, 14 Apr 2010 08:01:08 -0400 Les Geer (607-429-3580) said:
  The problem that we have is that some of the prints come from a CMS
users rdr. The originid is what actually gets passed. If the report came
from the vse system to the CMS user, then the origin id is the name of
the VSE guest, and that can't be changed that I can see. We would need
to somehow alter the origin id in order to be able to have a valid user
id. We need to have each print job tied to a specific person and not a
vm guest name.


As others have suggested, you can use Diagnose x'F8' to change a CMS
users spool file origin information.  From VSE, do you have an NJE
link defined to RSCS?  If so, I believe you can specify origin
information when you submit the job to VSE.


Best Regards,
Les Geer
IBM z/VM and Linux Development


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-14 Thread Les Geer (607-429-3580)
Are you able to change the origin user ID within the spool file
updated with Diag D4?

Best Regards,
Les Geer
IBM z/VM and Linux Development

I checked my code and I'm using DIAG D4.

  The problem that we have is that some of the prints come from a CMS
users rdr. The originid is what actually gets passed. If the report came
from the vse system to the CMS user, then the origin id is the name of
the VSE guest, and that can't be changed that I can see. We would need
to somehow alter the origin id in order to be able to have a valid user
id. We need to have each print job tied to a specific person and not a
vm guest name.


As others have suggested, you can use Diagnose x'F8' to change a CMS
users spool file origin information.  From VSE, do you have an NJE
link defined to RSCS?  If so, I believe you can specify origin
information when you submit the job to VSE.




Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-14 Thread Fran Hensler
/* Sample DIAGD4 EXEC */
/*
Use DIAG D4 to change spool ownerid to original owner.
 */


/*  Do a QUERY RDR to find OWNERID  */


ownerid = Left(ownerid,8)  /* Who sent us spool file */
target  = Left(Userid(),8) /* Machine name this EXEC is running in */
Address Command 'DIAGD4' target ownerid
If Rc /= 0 Then Say 'DIAGD4 had a return code =' Rc

/Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--
On Wed, 14 Apr 2010 21:54:09 -0400 Les Geer (607-429-3580) said:
Are you able to change the origin user ID within the spool file
updated with Diag D4?

Best Regards,
Les Geer
IBM z/VM and Linux Development

I checked my code and I'm using DIAG D4.

  The problem that we have is that some of the prints come from a CMS
users rdr. The originid is what actually gets passed. If the report came
from the vse system to the CMS user, then the origin id is the name of
the VSE guest, and that can't be changed that I can see. We would need
to somehow alter the origin id in order to be able to have a valid user
id. We need to have each print job tied to a specific person and not a
vm guest name.


As others have suggested, you can use Diagnose x'F8' to change a CMS
users spool file origin information.  From VSE, do you have an NJE
link defined to RSCS?  If so, I believe you can specify origin
information when you submit the job to VSE.




Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-13 Thread Martin Benedict
We have pretty much the same setup. However, we have a need to pass a 
person's userid to the Ricoh. Our printers are setup with the badge swipe
 
card reader and we need to be able to pass a userid. We are currently usi
ng 
the LPRXONE. If there is another that supports an actual userid, i would 
be 
willing to switch to test. We also are using RSCS to TCPIP/LPR to the 
printers.


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-13 Thread Martin Benedict
We have pretty much the same setup. However, we have a need to pass a 
person's userid to the Ricoh. Our printers are setup with the badge swipe
 
card reader and we need to be able to pass a userid. We are currently usi
ng 
the LPRXONE. If there is another that supports an actual userid, i would 
be 
willing to switch to test. We also are using RSCS to TCPIP/LPR to the 
printers.




On Wed, 7 Apr 2010 10:47:28 -0400, Fran Hensler f...@zvm.sru.edu wrote:

On Tue, 06 Apr 2010 15:30:27 EDT Fran Hensler f...@zvm.sru.edu said:
We have various models of Ricoh copiers around campus to which we have

been sending print from RSCS Networking Version 3, Release 2.0-0201.

Recently authorization codes were installed on some of them.  Without
the use of this code the print just goes into the bit bucket.
So from RSCS everything looks normal but nothing prints.

On the Ricoh Customer Help page http://tinyurl.com/yf2mtku
there is a question:
   How do I add a user code when printing from a Unix command line?
and the answer is:
   You may add a user code to a Unix print job by adding -o usercode=
 to 
the
command line.

   For example:

   lp -d restricted_printer -o usercode=12345 /etc/hosts


My question:
   Is there any way to get RSCS to send the usercode?  What PARM
statement would I use?


On Tue, 6 Apr 2010 20:42:49 -0400 Les Geer (607-429-3580) said:
Which RSCS LPR exit are you using?  LPRXONE does not currently include
the -o record in the control file sent to the printer.  You would need
to modify the exit to add it.  Unsure if the printer would accept
a usercode via a PCL or postscript command.  If so, then you could add
it via the prefix eparm.

Best Regards,
Les Geer
IBM z/VM and Linux Development

Les -

I tried
*usercode=34043404 in ASCII
   EPARM='S=N PREFIX=75736572636F653D3334303433343034'
and Exit LPRXONE took it but it didn't work.

I found a solution at: http://tinyurl.com/yk5vveh

The Ricoh configuration can specify unrestricted users by IP
address.  I entered the IP address of the mainframe and I'm now
able to print with RSCS LPR.

Thanks to Les Geer and David Boyes for offering possible
solutions.

/Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 yea
rs
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock

--

=



Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-13 Thread Les Geer (607-429-3580)
LPRXONE passes the user ID of the print job origin in the p control
file record.  Is this being used by the Ricoh?



Best Regards,
Les Geer
IBM z/VM and Linux Development

We have pretty much the same setup. However, we have a need to pass a
person's userid to the Ricoh. Our printers are setup with the badge
swipecard reader and we need to be able to pass a userid. We are currently
using
the LPRXONE. If there is another that supports an actual userid, i would
be willing to switch to test. We also are using RSCS to TCPIP/LPR to the
printers.




On Wed, 7 Apr 2010 10:47:28 -0400, Fran Hensler f...@zvm.sru.edu wrote:

On Tue, 06 Apr 2010 15:30:27 EDT Fran Hensler f...@zvm.sru.edu said:
We have various models of Ricoh copiers around campus to which we have

been sending print from RSCS Networking Version 3, Release 2.0-0201.

Recently authorization codes were installed on some of them.  Without
the use of this code the print just goes into the bit bucket.
So from RSCS everything looks normal but nothing prints.

On the Ricoh Customer Help page http://tinyurl.com/yf2mtku
there is a question:
   How do I add a user code when printing from a Unix command line?
and the answer is:
   You may add a user code to a Unix print job by adding -o usercode=
 to
the
command line.

   For example:

   lp -d restricted_printer -o usercode=3D12345 /etc/hosts


My question:
   Is there any way to get RSCS to send the usercode?  What PARM
statement would I use?


On Tue, 6 Apr 2010 20:42:49 -0400 Les Geer (607-429-3580) said:
Which RSCS LPR exit are you using?  LPRXONE does not currently include
the -o record in the control file sent to the printer.  You would need
to modify the exit to add it.  Unsure if the printer would accept
a usercode via a PCL or postscript command.  If so, then you could add
it via the prefix eparm.

Best Regards,
Les Geer
IBM z/VM and Linux Development

Les -

I tried
*usercode=3D34043404 in ASCII
   EPARM=3D'S=3DN PREFIX=3D75736572636F653D3334303433343034'
and Exit LPRXONE took it but it didn't work.

I found a solution at: http://tinyurl.com/yk5vveh

The Ricoh configuration can specify unrestricted users by IP
address.  I entered the IP address of the mainframe and I'm now
able to print with RSCS LPR.

Thanks to Les Geer and David Boyes for offering possible
solutions.

rs
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-13 Thread Martin Benedict
Les,
  The problem that we have is that some of the prints come from a CMS use
rs 
rdr. The originid is what actually gets passed. If the report came from t
he 
vse system to the CMS user, then the origin id is the name of the VSE 
guest, and that can't be changed that I can see. We would need to somehow
 
alter the origin id in order to be able to have a valid user id. We need 
to 
have each print job tied to a specific person and not a vm guest name.



On Tue, 13 Apr 2010 12:16:39 -0400, Les Geer (607-429-3580) 
lg...@vnet.ibm.com wrote:

LPRXONE passes the user ID of the print job origin in the p control
file record.  Is this being used by the Ricoh?



Best Regards,
Les Geer
IBM z/VM and Linux Development

We have pretty much the same setup. However, we have a need to pass a
person's userid to the Ricoh. Our printers are setup with the badge
swipecard reader and we need to be able to pass a userid. We are curren
tly
using
the LPRXONE. If there is another that supports an actual userid, i woul
d
be willing to switch to test. We also are using RSCS to TCPIP/LPR to th
e
printers.




On Wed, 7 Apr 2010 10:47:28 -0400, Fran Hensler f...@zvm.sru.edu wrote
:

On Tue, 06 Apr 2010 15:30:27 EDT Fran Hensler f...@zvm.sru.edu said:
We have various models of Ricoh copiers around campus to which we ha
ve

been sending print from RSCS Networking Version 3, Release 2.0-0201.


Recently authorization codes were installed on some of them.  Withou
t
the use of this code the print just goes into the bit bucket.
So from RSCS everything looks normal but nothing prints.

On the Ricoh Customer Help page http://tinyurl.com/yf2mtku
there is a question:
   How do I add a user code when printing from a Unix command line?
and the answer is:
   You may add a user code to a Unix print job by adding -o usercode
=
 to
the
command line.

   For example:

   lp -d restricted_printer -o usercode=3D12345 /etc/hosts


My question:
   Is there any way to get RSCS to send the usercode?  What PARM
statement would I use?


On Tue, 6 Apr 2010 20:42:49 -0400 Les Geer (607-429-3580) said:
Which RSCS LPR exit are you using?  LPRXONE does not currently includ
e
the -o record in the control file sent to the printer.  You would nee
d
to modify the exit to add it.  Unsure if the printer would accept
a usercode via a PCL or postscript command.  If so, then you could ad
d
it via the prefix eparm.

Best Regards,
Les Geer
IBM z/VM and Linux Development

Les -

I tried
*usercode=3D34043404 in ASCII
   EPARM=3D'S=3DN PREFIX=3D75736572636F653D3334303433343034'
and Exit LPRXONE took it but it didn't work.

I found a solution at: http://tinyurl.com/yk5vveh

The Ricoh configuration can specify unrestricted users by IP
address.  I entered the IP address of the mainframe and I'm now
able to print with RSCS LPR.

Thanks to Les Geer and David Boyes for offering possible
solutions.

rs
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-13 Thread Fran Hensler
DIAG D4 and change the ORIGIN of a file in the RDR to whatever you
wish.  Then TRANSFER the file to RSCS.
 
Get the DIAGD4 VMARC on my VM download page at:
http://zvm.sru.edu/~download
 
I haven't tried this on the Ricoh.
 
/Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--
On Tue, 13 Apr 2010 12:38:48 -0500 =?iso-8859-1?Q?Martin_Benedict?= said:
Les,
  The problem that we have is that some of the prints come from a CMS users
rdr. The originid is what actually gets passed. If the report came from the
vse system to the CMS user, then the origin id is the name of the VSE
guest, and that can't be changed that I can see. We would need to somehow
alter the origin id in order to be able to have a valid user id. We need to
have each print job tied to a specific person and not a vm guest name.



On Tue, 13 Apr 2010 12:16:39 -0400, Les Geer (607-429-3580)
lg...@vnet.ibm.com wrote:

LPRXONE passes the user ID of the print job origin in the p control
file record.  Is this being used by the Ricoh?



Best Regards,
Les Geer
IBM z/VM and Linux Development

We have pretty much the same setup. However, we have a need to pass a
person's userid to the Ricoh. Our printers are setup with the badge
swipecard reader and we need to be able to pass a userid. We are currently
using
the LPRXONE. If there is another that supports an actual userid, i would
be willing to switch to test. We also are using RSCS to TCPIP/LPR to the
printers.




On Wed, 7 Apr 2010 10:47:28 -0400, Fran Hensler f...@zvm.sru.edu wrote:

On Tue, 06 Apr 2010 15:30:27 EDT Fran Hensler f...@zvm.sru.edu said:
We have various models of Ricoh copiers around campus to which we have

been sending print from RSCS Networking Version 3, Release 2.0-0201.

Recently authorization codes were installed on some of them.  Without
the use of this code the print just goes into the bit bucket.
So from RSCS everything looks normal but nothing prints.

On the Ricoh Customer Help page http://tinyurl.com/yf2mtku
there is a question:
   How do I add a user code when printing from a Unix command line?
and the answer is:
   You may add a user code to a Unix print job by adding -o usercode to
the
command line.

   For example:

   lp -d restricted_printer -o usercode=3D12345 /etc/hosts


My question:
   Is there any way to get RSCS to send the usercode?  What PARM
statement would I use?


On Tue, 6 Apr 2010 20:42:49 -0400 Les Geer (607-429-3580) said:
Which RSCS LPR exit are you using?  LPRXONE does not currently include
the -o record in the control file sent to the printer.  You would need
to modify the exit to add it.  Unsure if the printer would accept
a usercode via a PCL or postscript command.  If so, then you could add
it via the prefix eparm.

Best Regards,
Les Geer
IBM z/VM and Linux Development

Les -

I tried
*usercode=3D34043404 in ASCII
   EPARM=3D'S=3DN PREFIX=3D75736572636F653D3334303433343034'
and Exit LPRXONE took it but it didn't work.

I found a solution at: http://tinyurl.com/yk5vveh

The Ricoh configuration can specify unrestricted users by IP
address.  I entered the IP address of the mainframe and I'm now
able to print with RSCS LPR.

Thanks to Les Geer and David Boyes for offering possible
solutions.

rs
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-13 Thread Benedict, Martin
Les,
  The problem that we have is that some of the prints come from a CMS
users rdr. The originid is what actually gets passed. If the report came
from the vse system to the CMS user, then the origin id is the name of
the VSE guest, and that can't be changed that I can see. We would need
to somehow alter the origin id in order to be able to have a valid user
id. We need to have each print job tied to a specific person and not a
vm guest name.


Martin V. Benedict, Sr.
Sr. Systems Programmer
IT Department
The Golub Corporation - Price Chopper Markets
461 Nott Street
Schenectady, New York, 12308
Phone:518-379-1261
Cellular: 518-788-3742
Fax:  518-379-3514
www.pricechopper.com
martybened...@pricechopper.com

-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Les Geer (607-429-3580)
Sent: Tuesday, April 13, 2010 12:17 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: RSCS: Printing to Ricoh Copier with LPR

LPRXONE passes the user ID of the print job origin in the p control
file record.  Is this being used by the Ricoh?



Best Regards,
Les Geer
IBM z/VM and Linux Development

We have pretty much the same setup. However, we have a need to pass a
person's userid to the Ricoh. Our printers are setup with the badge
swipecard reader and we need to be able to pass a userid. We are
currently
using
the LPRXONE. If there is another that supports an actual userid, i
would
be willing to switch to test. We also are using RSCS to TCPIP/LPR to
the
printers.




On Wed, 7 Apr 2010 10:47:28 -0400, Fran Hensler f...@zvm.sru.edu
wrote:

On Tue, 06 Apr 2010 15:30:27 EDT Fran Hensler f...@zvm.sru.edu said:
We have various models of Ricoh copiers around campus to which we
have

been sending print from RSCS Networking Version 3, Release 2.0-0201.

Recently authorization codes were installed on some of them.
Without
the use of this code the print just goes into the bit bucket.
So from RSCS everything looks normal but nothing prints.

On the Ricoh Customer Help page http://tinyurl.com/yf2mtku
there is a question:
   How do I add a user code when printing from a Unix command line?
and the answer is:
   You may add a user code to a Unix print job by adding -o
usercode=
 to
the
command line.

   For example:

   lp -d restricted_printer -o usercode=3D12345 /etc/hosts


My question:
   Is there any way to get RSCS to send the usercode?  What PARM
statement would I use?


On Tue, 6 Apr 2010 20:42:49 -0400 Les Geer (607-429-3580) said:
Which RSCS LPR exit are you using?  LPRXONE does not currently
include
the -o record in the control file sent to the printer.  You would
need
to modify the exit to add it.  Unsure if the printer would accept
a usercode via a PCL or postscript command.  If so, then you could
add
it via the prefix eparm.

Best Regards,
Les Geer
IBM z/VM and Linux Development

Les -

I tried
*usercode=3D34043404 in ASCII
   EPARM=3D'S=3DN PREFIX=3D75736572636F653D3334303433343034'
and Exit LPRXONE took it but it didn't work.

I found a solution at: http://tinyurl.com/yk5vveh

The Ricoh configuration can specify unrestricted users by IP
address.  I entered the IP address of the mainframe and I'm now
able to print with RSCS LPR.

Thanks to Les Geer and David Boyes for offering possible
solutions.

rs
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-13 Thread Fran Hensler
Martin -
 
The DIAG D4 instruction can be used to change the ORIGIN of a
file in the RDR.  I pass the real ID of the user in the POWER
DIST=  parameter and I send the print to a DVM where DIAGD4 is
running.  DIAGD4 changes the ORIGIN to whatever is in the DIST
and then transfers the RDR to RSCS.
 
You can get the DIAGD4 package on my VM Download page at:
http://zvm.sru.edu/~download.
 
/Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--
 
On Tue, 13 Apr 2010 13:35:15 -0400 Benedict, Martin said:
Les,
  The problem that we have is that some of the prints come from a CMS
users rdr. The originid is what actually gets passed. If the report came
from the vse system to the CMS user, then the origin id is the name of
the VSE guest, and that can't be changed that I can see. We would need
to somehow alter the origin id in order to be able to have a valid user
id. We need to have each print job tied to a specific person and not a
vm guest name.

On Tue, 13 Apr 2010 08:08:51 -0400 Benedict, Martin said:
All,

  We are converting to ELP printing. This is Enhanced Locked Printing,
were you need to swipe a badge on the printer to login and receive your
prints. This works fine for windows based printing. However, I am trying
to find a way to send the vmuserid to RSCS, then onto VM/TCPIP and to
the printer via LPR to lock down our vm prints to corporate printers.
These reports are generally from a VM users rdr, and sometimes from  1
or more VSE guest machines. Feel free to respond directly if need be.



Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-07 Thread Fran Hensler
On Tue, 06 Apr 2010 15:30:27 EDT Fran Hensler f...@zvm.sru.edu said:
We have various models of Ricoh copiers around campus to which we have
been sending print from RSCS Networking Version 3, Release 2.0-0201.

Recently authorization codes were installed on some of them.  Without
the use of this code the print just goes into the bit bucket.
So from RSCS everything looks normal but nothing prints.

On the Ricoh Customer Help page http://tinyurl.com/yf2mtku
there is a question:
   How do I add a user code when printing from a Unix command line?
and the answer is:
   You may add a user code to a Unix print job by adding -o usercode= to the
command line.

   For example:

   lp -d restricted_printer -o usercode=12345 /etc/hosts


My question:
   Is there any way to get RSCS to send the usercode?  What PARM
statement would I use?


On Tue, 6 Apr 2010 20:42:49 -0400 Les Geer (607-429-3580) said:
Which RSCS LPR exit are you using?  LPRXONE does not currently include
the -o record in the control file sent to the printer.  You would need
to modify the exit to add it.  Unsure if the printer would accept
a usercode via a PCL or postscript command.  If so, then you could add
it via the prefix eparm.

Best Regards,
Les Geer
IBM z/VM and Linux Development

Les -

I tried
*usercode=34043404 in ASCII
   EPARM='S=N PREFIX=75736572636F653D3334303433343034'
and Exit LPRXONE took it but it didn't work.

I found a solution at: http://tinyurl.com/yk5vveh

The Ricoh configuration can specify unrestricted users by IP
address.  I entered the IP address of the mainframe and I'm now
able to print with RSCS LPR.

Thanks to Les Geer and David Boyes for offering possible
solutions.

/Fran Hensler at Slippery Rock University of Pennsylvania USA for 46 years
mailto:f...@zvm.sru.edu  http://zvm.sru.edu/~fjh  +1.724.738.2153
  Yes, Virginia, there is a Slippery Rock
--


Re: RSCS: Printing to Ricoh Copier with LPR

2010-04-06 Thread David Boyes
On 4/6/10 8:42 PM, Les Geer lg...@vnet.ibm.com wrote:


 My question:
   Is there any way to get RSCS to send the usercode?  What PARM
 statement would I use?
 
 
 Which RSCS LPR exit are you using?  LPRXONE does not currently include
 the -o record in the control file sent to the printer.  You would need
 to modify the exit to add it.  Unsure if the printer would accept
 a usercode via a PCL or postscript command.  If so, then you could add
 it via the prefix eparm.

If you're willing to set up a Linux guest between RSCS and the printer, CUPS
has a concept of an instance, which is basically a package of options for
a particular printer. The neat thing is you can use plain LPR (which RSCS
does speak without problem) to talk to cups-lpd, and RSCS can specify the
printer name as printer/instance, and you get the job options added to
the job when it passes through.

You set up the instances on the Linux side with lpoptions, including the
magic user code, and on the RSCS side, you point it at the Linux guest and
the printer name is printer/instance, and you're done. No mods, no fuss,
and users can modify the instances if you put them in the lpadmin group on
the Linux guest. Also adds IPP support, encrypted printing, authentication,
and a whole bunch more good stuff that RSCS will probably never get.
This trick works really well for signature fonts or doing forms flash over
output from RSCS, BTW.

Would anyone find an appliance to do this useful? I could probably whip
something up. 

-- db