Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: smk@cbnews.att.com (Stephen M. Kennedy) Newsgroups: comp.sys.sun Subject: Problems with printer text filter Message-ID: <3563@cbnews.ATT.COM> Date: 8 Feb 89 03:19:53 GMT Sender: usenet@rice.edu Organization: AT&T Bell Laboratories Lines: 11 Approved: Sun-Spots@rice.edu Original-Date: 27 Jan 89 19:48:50 GMT X-Sun-Spots-Digest: Volume 7, Issue 141, message 3 of 15 I've been playing with writing an "if" filter for my printer and I've been having problems with the width argument. No matter what I do with 'pw#nn' in /etc/printcap, the width argument in argv[] always comes out to be '-w0'. On the other hand, the 'pl#nn' parameter works fine and sets the length argument in argv[] to '-lnn'. In fact, omitting both the pw and pl parameters produces '... -w0 -l66 ...'--shouldn't that be '-w132'? So, what's going on here? I doing here? I'm running SunOS 4.0.1, by the way. Steve Kennedy att!cbosgd!smk