printcap filters


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



From - Wed Nov  8 20:29:31 2000
Path: news.randori.com!newsfeeder.randori.com!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp2.aus1.giganews.com!nntp3.aus1.giganews.com!news1.giganews.com.POSTED!not-for-mail
From: Gary Quiring <garyq@emcosales.com>
Newsgroups: comp.unix.sco.misc
Subject: SCO fixes filters with printcap Message-ID: <63EJOnt5u9FldAMZE6XT7QYlmHLj@4ax.com>
X-Newsreader: Forte Agent 1.6/32.525
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 47
NNTP-Posting-Date: Wed, 08 Nov 2000 09:34:52 CST
Organization: Giganews.Com - Premium News Outsourcing
X-Trace: sv2-89MYCQ3wdgIsJQFAZ6peN9vNPSefPzkxeYt5Hau7x9OD0RfW26UEHbD9d3VWuqivkXP1GKmDlUdBSln!EW8SoW8YI99nELB3eDVJMoWuqEpmfw==
X-Complaints-To: abuse@GigaNews.Com
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
Date: Wed, 08 Nov 2000 15:34:52 GMT
Xref: news.randori.com comp.unix.sco.misc:68463
X-Mozilla-Status: 8001
X-Mozilla-Status2: 00000000


Hate these ads?




For anyone that might be interested, five years later SCO has finally made
an effort to fix filters with printcap in OpenServer.



I don't have the ambition to try it, as I'm really happy using netcat.














Here's the email I received from them:



Gary,



re: lpd and filters


ad



I am happy to announce that we have a new lpd that we have tested and found
to 
function normally with filters on SCO Open Server 5.0.5. I am placing the
new
lpd binary at ftpput.caldera.com/tmp/828940. After download the file should be
the following permissions and size;



-rws--x--x      1 root  bin     86288   lpd



We were able to use filters properly when having the "of" param in 
/etc/printcap point directly to the "executable" filter. The following is
an
example of a filter we used and then an example of our /etc/printcap file;









# vi /filter/828940
#!/bin/sh
exec /bin/hd




# vi /etc/printcap
rhea.lpd:\



:lp=:rm=rhea.uss.caldera.com:rp=rhea.lpd:sd=/usr/spool/lpd/rhea.lpd:mx#0:of=/filter/828940:




We used /bin/hd and /usr/bin/xtod in the 828940 filter and got the desired 
output when printing.



We are very interested to see this work for you. Please reply at your
earliest
convenience with the results.



Regards,
Michael Stokes
SCO Support Engineer II





Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them.

I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.




Comments


Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments

If you want a picture to show with your comment, go get a Gravatar



/Bofcusm/720.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here


book graphic unix and linux troubleshooting guide

My Troubleshooting E-Book will show you how to solve tough problems on Linux and Unix systems!





More:
       - Newsgroup








card_image







Change Congress