Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!metro!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!www.nntp.primenet.com!nntp.primenet.com!nntp.uio.no!nntp.zit.th-darmstadt.de!fu-berlin.de!uniol!uni-erlangen.de!news.tu-chemnitz.de!irz401!orion.sax.de!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.protocols.smb,comp.sys.hp.hpux,comp.os.linux.setup,comp.unix.bsd.freebsd.misc,comp.unix.admin Subject: Re: smbprint & /etc/printcap Date: 25 Oct 1996 09:03:18 GMT Organization: Private BSD site, Dresden Lines: 22 Message-ID: <54pvom$897@uriah.heep.sax.de> References: <4ic3v9$odd@risky.ecs.umass.edu> <54lld2$b6r@news.zipnet.net> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.6 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Xref: euryale.cc.adfa.oz.au comp.protocols.smb:8705 comp.sys.hp.hpux:48588 comp.os.linux.setup:79863 comp.unix.bsd.freebsd.misc:30058 comp.unix.admin:49238 mi@rtfm.ziplink.net (Mikhail Teterin) wrote: > For any M$ systems this would have been the end of it. On Unix, > this means, you just need some scripting. Make a script of your own, > which will pipe it's stdin into the apsfilter, and apsfilter's > stdout into some file. Then -- just send this file to the > printer using your favourite smb-script: You can even avoid the file, and pipe the output directly back into lpr. The only drawback of this is that the owner of the job for the second lpr call will be `daemon' then, so the originator of the job is no longer allowed to remove it from the queue. Other than this -- we are using it regularly this way. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)