Hi Jay
This is standard functionality of UNISPOOL, and can be fully automated. The
exact scenario depends a little on your environment but this is the general
idea.
Pre-requisite is that you can uniquely identify the report, based on the
name for example.
Suppose the name of the file is MYREPORT and you want to print the report on
the device PRINT1
and PRINT2. You need one additional device to do the distribution, lets
assume this device is called MYDIST.
What you do is create a control procedure
PROCEDURE Distrib
if FILENAME = "MYREPORT"
copyspoolfile dev=PRINT2
endif
end
You configure MYDIST in UNISPOOL as a type 4 device, with target device
PRINT1 and header procedure Distrib. The devices PRINT1 and PRINT2 must
represent physical printers, and the device PRINT1 must be configured in
UNISPOOL.
In your application you send just one copy of MYREPORT to device MYDIST,
UNISPOOL will take care of printing one copy on PRINT1 and one on PRINT2
Please let me know if you need further information
Holland House B.V.
Johan Harmsen
----- Original Message -----
From: "Jay Willis" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Tuesday, 16 April, 2002 16:12
Subject: [HP3000-L] Need to send a copy of a report to each of 2 printers
> I just got a request to have a program produce two copies of a report,
> one copy to each of two printers. This program will be run regularly, so
> I want this in a job and don't want to have to go into Unispool to
> fiddle with the spoolfiles. Any suggestions?
>
> Jay <need to get back to my w-4 so i don't pay quite so much next year
> :-(>
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|