HP3000-L Archives

December 2001, Week 5

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:
Lars Appel <[log in to unmask]>
Reply To:
Lars Appel <[log in to unmask]>
Date:
Sat, 29 Dec 2001 22:14:04 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (22 lines)
Neil,

in addition to the "magic script" of Samba that Michael already
mentioned, you might also use the print server functionality of
Samba. Simply configure a "dedicated dummy printer" in smb.conf
and adjust the "print command" to not invoke RawLP like done in
the default case, but some shell command or script that picks
up the "staged spoolfile" and performs the desired processing.

The Unix side would send the data with an smbclient similar to

 $ smbclient '\\your3k\dummyLP' -P -c 'print some-unix-file'

Your custom "print command" shell script on the 3000 would also
have to take care of returning the result file back to the Unix
side (e.g. by ftp or by using a similar smbclient trick).

Lars.

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

ATOM RSS1 RSS2