HP3000-L Archives

September 2002, Week 1

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:
Donna Garverick <[log in to unmask]>
Reply To:
Donna Garverick <[log in to unmask]>
Date:
Tue, 3 Sep 2002 10:25:32 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
"Craig M. Lalley" wrote:

> What if? I wanted to take a spoolfile from one HP3000 and print it on
> another HP3000.
>
> Let's make it interesting.
>
> There are no NS Services i.e. DSCOPY.  FTP and WRQ are fair game.

if you've got ftp between the two 3000s then most of the 'battle' has been
'won'....

> How does the file get "attached" to the SPOOLER?

i wrote a script (everyone say 'duh' :-) to do this sometime ago.  it uses
dscopy....but it's only a transport method.  there'd be a bit more
'twiddling' to make it work with ftp....something along the lines of 'site
stream'....but no deep magic (imo).

the notable 'highlights' from this script are -- 'inventing' a name for
$stdlists (not too difficult....just construct a name from hptimef);
remembering to 'get rid' of the spoolfile on the sending system (unless you
really want it laying about :-); and getting it spooled on the receiving
system.  to do that, i did:

remote spoolf !_ps_fname;print;dev=!dev;pri=!pri;copies=!copies

(all the ci variables are properly initialized, of course)

in this case, if there is no dscopy, that's where the 'site stream' business
comes into play.  you could always construct a listener process on the
receiving machine that watches a predetermined location for files.  the task
becomes marginally more difficult if you want to support multiple print
devices, priorities and copies.                - d

--
Any sufficiently advanced technology is undistinguished from magic.
   - Aurthur Clarke

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2