1830899 Members
2681 Online
110017 Solutions
New Discussion

Print Jobs

 
SOLVED
Go to solution
Jorge Cocomess
Super Advisor

Print Jobs

Hi,

Is there a way to print one report to two (2) printers in VMS? Currently, running VMS 7.3-2

Thanks,
J
11 REPLIES 11
Phil.Howell
Honored Contributor
Solution

Re: Print Jobs

If you have advanced server you can use the "/ROUTE" option to multiple queues.
You could issue the print command twice,
with different queues.
You could set one queue as /RETAIN and have a process to requeue the jobs to another.
"Relay queues" may also be an option
Phil

Arch_Muthiah
Honored Contributor

Re: Print Jobs

Jorge,

There is a freeware, EXECSYMB symbiont using which we can create one virtual queue that in turn queues the print file to the the actual two print queues.

Archunan

Regards
Archie
Arch_Muthiah
Honored Contributor

Re: Print Jobs

Jorge,

As phil said, we can use /RETAIN also which work on device queues. We need a commandd procedure to checks for the retained jobs and can requeue them to the second printer.

And there is a another good discussion...
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=760035


Archunan
Regards
Archie
Jorge Cocomess
Super Advisor

Re: Print Jobs

Archunan and Phil,

Yes, currently I have it /Retain=Until="+1:00" on most of my print queues -- I like the idea about requeing the report to another queue by using a routine. Where can I find this routine or look for? I can move around in VMS pretty good but not as good when it come to writing procedure like this.

Thanks for your response.

Jorge
Arch_Muthiah
Honored Contributor

Re: Print Jobs

Jorge,
You can download from here...
http://vms.process.com/scripts/fileserv/fileserv.com?EXECSYMB

Archunan
Regards
Archie
Jorge Cocomess
Super Advisor

Re: Print Jobs

Archunan,

I've downloaded the zip file as you suggested. I looked and I did not find a file with instructions on how to use some of these com procedures. Where do I go from here? Please help.

Points has been posted for all those who helped.

Thanks,
J
Phil.Howell
Honored Contributor

Re: Print Jobs

print_setup.com in the examples has a waitloop that requeues jobs.
Phil
Arch_Muthiah
Honored Contributor

Re: Print Jobs

Jorge,

Once downloaded, unzip it, and BUILD EXECSYMB.EXE as it won't be available nowdays due to various hardware/OS compatiblity support purposes. Rename if any *.obj_alpha to *.obj files if you do BUILD on alpha. Then copy the EXECSYMB.EXE and one more EXE to the respective directory as mentioned in the aaareadme.1st and aaareadme.txt files along with these readme files, there are couple of sample COM procedures (sample.com and sampleproc.com) will give some idea.

This link gives brief description of the EXECSYMB queue processor command procedure files especially print_setup.com.

http://www.tmk.com/ftp/multinet-contributed-software/execsymb/ex_examples/aaareadme.txt

http://vmsone.com/~decuslib/vaxsig/vax89b1/gcef89/mddupd/execsymb.for



Archunan
Regards
Archie
Phil.Howell
Honored Contributor

Re: Print Jobs

You don't have to use the execsymb,
what you want can be done using dcl
and the f$getqui lexical function, see
help set entry
help lex f$getqui
Phil
Phil.Howell
Honored Contributor

Re: Print Jobs

You could adapt this to your needs
Phil
Jorge Cocomess
Super Advisor

Re: Print Jobs

Phil - Thanks for the com procedure. When do I run this procedure? There is just one report that I like to print at two different printers, not all the reports that are printing to this printer. What's your recommendation to run this routine?

Again, many thanks for your time.

Jorge