Article View: comp.text.desktop
Article #251Need hack for Interleaf printing.
From: Michael J Wargo
Date: Wed, 26 Sep 1990 21:01
Date: Wed, 26 Sep 1990 21:01
48 lines
2578 bytes
2578 bytes
A while ago I asked in comp.lang.postscript:
Would some kind soul please e-mail the method
for adding "DRAFT" in large gray letters to
a postscript document.
I received a number of responses. [Haven't tried them yet,
but I trust they'll all work :-).] Now, for the next part
of the problem... I'd like to generate new printers within
Interleaf that will take care of this little trick. Making
the new printers shouldn't be a problem, but, it appears
that the secret is in the printcap file. How do
you get the output of the pl2ps filter to pipe through another
filtering program (the one that does the "DRAFT" stuff) before
shipping it off to /usr/ucb/lpr ? The Interleaf generated
printcap entries for the two current printer entries is as follows:
1|ps_printer|Printer#1(laserwriter-II):\
:lpd=/usr/lib/lpd:lp=/dev/null:sd=/usr/spool/ipd1:\
:lf=/usr/spool/ipd1/log:pl#1:sh:sb:sf:rw:\
:if=/interleaf/tps4.0/sysio/spooler/plfilt:\
:printerleaf=/interleaf/tps4.0/sysio/ps/pl2ps -r 1270 -T pslw+ \
%! /usr/ucb/lpr -Plw -h:\
:other=/usr/ucb/lpr -Plw -h:
2|cx_printer|Printer#2(cx-laserwriter-II):\
:lpd=/usr/lib/lpd:lp=/dev/null:sd=/usr/spool/ipd2:\
:lf=/usr/spool/ipd2/log:pl#2:sh:sb:sf:rw:\
:if=/interleaf/tps4.0/sysio/spooler/plfilt:\
:printerleaf=/interleaf/tps4.0/sysio/ps/pl2ps -T cx \
%! /usr/ucb/lpr -Plw -s -h:\
:other=/usr/ucb/lpr -Plw -h:
Does anyone have a clue as to what needs to be done to accomplish this?
While I'm at it, how would you get Interleaf to output the postscript
code direct to a file, rather than sending it to the printer.
I'm betting that this is a similar problem as to the one sighted above.
I'm running Interleaf 4.0.74 on a Sun4/280 and SunOS 4.0.1.
Please reply by e-mail and I'll post a summary if interest warrants.
Thanks a ton,
Mike Wargo
preferred ----------> michael@agricola.mit.edu
mjwargo@athena.mit.edu
Technical Details
Message-ID:
<1990Sep26.210122.13587@athena.mit.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!julius.cs.uiuc.edu!apple!snorkelwacker!bloom-beacon!athena.mit.edu!mjwargoShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!julius.cs.uiuc.edu!apple!snorkelwacker!bloom-beacon!athena.mit.edu!mjwargo From: mjwargo@athena.mit.edu (Michael J Wargo) Newsgroups: comp.text.desktop Subject: Need hack for Interleaf printing. Keywords: Interleaf, printcap Message-ID: <1990Sep26.210122.13587@athena.mit.edu> Date: 26 Sep 90 21:01:22 GMT Sender: daemon@athena.mit.edu (Mr Background) Reply-To: mjwargo@athena.mit.edu (Michael J Wargo) Followup-To: comp.text.desktop Organization: Massachusetts Institute of Technology Lines: 48