From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075323306741.tru64-unix-managers.marc@archive.invalid> From: Antonia Gomez Date: Wed, 27 Sep 1995 14:06:29 +0000 To: tru64-unix-managers Subject: SUMMARY: capability pw# X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075323306741 Hello! My message was: > >Hello! > >My problem is: > >I have defined in the file /etc/printcap the capability : > pw#80 >however, when I send to print some file with lines of more 80 characters, >this capability is not respected, always printing more of 80 characters. > >Anybody can help me? > >Thanks in advanced. > The answers are: Knut Helleboe: If you print to a remote printer usually no locally added filters/capabilities will work remotely. Granse: if your printer is an remote printer (rm= in the printcap, then the pw of the remote host is used. Barry Treahy: My experience has allways been that the PW only impacts the size/positioning of the banner page. Sean Watson: The pw# and pl# printcap entries are simply passed to the input filter (if=xxx). If you don't specify a filter, output is simple passed on unmodified (and the length entry is ignored). If you do have a filter, but it ignores the -w flag (-l for length), you will have similar problems. The output filter also gets -w and -l (as set in pw# and pl#) so you can do the filtering there also. If you use the c, d, g, f, n, t, or v options on lpr, you will get the cf, df, gf, rf, nf, tf, or vf filter and it will be passed values from px# and py# (page size in pixels). Phil Krause: In the documentation for printcap read up on if & of. EX. :if=/usr/lbin/lg31of -w80 -l59:\ This will keeep the length of line (width) to 80 and the number of lines to 59. ______________________________________________________________ Thank you very much and specially to Sean Watson. Bye! --------------------------------------------------------------------- e-mail: antonia@fib.upc.es ---------------------------------------------------------------------