HP3000-L Archives

April 2002, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Johan Harmsen <[log in to unmask]>
Reply To:
Johan Harmsen <[log in to unmask]>
Date:
Tue, 16 Apr 2002 20:03:30 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
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 *

ATOM RSS1 RSS2