From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075323306814.tru64-unix-managers.marc@archive.invalid> From: Antonia Gomez Date: Fri, 29 Sep 1995 10:56:59 +0000 To: tru64-unix-managers Subject: SUMMARY: capability pw# X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075323306814 Return-path: Received: from sws1.CTD.ORNL.GOV by SLUVCA.SLU.EDU (PMDF V5.0-4 #5070) id <01HVTZI897Z48Y56IA@SLUVCA.SLU.EDU> for ALPHAOSF@SLUAVA.SLU.EDU; Fri, 29 Sep 1995 03:05:41 -0600 (CST) Received: (from daemon@localhost) by sws1.CTD.ORNL.GOV (8.6.10/8.6.10) id NAA15587 for aomaa; Wed, 27 Sep 1995 13:44:48 -0400 Received: from oaunx1.ctd.ornl.GOV (oaunx1.ctd.ornl.gov [128.219.128.17]) by sws1.CTD.ORNL.GOV (8.6.10/8.6.10) with ESMTP id NAA15574 for ; Wed, 27 Sep 1995 13:44:44 -0400 Received: from diable.upc.es by oaunx1.ctd.ornl.GOV (8.6.10/3.0-C) id NAA02658; Wed, 27 Sep 1995 13:44:41 -0400 Received: by diable.upc.es (4.1/SMI-4.1) id AA21231; Wed, 27 Sep 1995 14:52:51 +0100 X400-Received: by /PRMD=Iris/ADMD=Mensatex/C=Es/; Relayed; Wed, 27 Sep 1995 14:02:37 +0000 X400-Received: by /PRMD=es/ADMD=Mensatex/C=es/; Relayed; Wed, 27 Sep 1995 14:06:29 +0000 Date: Wed, 27 Sep 1995 14:06:29 +0000 From: Antonia Gomez Subject: SUMMARY: capability pw# Sender: alpha-osf-managers-relay@sws1.ctd.ornl.gov To: alpha-osf-managers@ornl.gov Reply-to: Antonia Gomez Message-id: <303*/S=antonia/OU=fib/O=upc/PRMD=iris/ADMD=mensatex/C=es/@MHS> Content-identifier: 303 MIME-version: 1.0 (Generated by Ean X.400 to MIME gateway) Content-transfer-encoding: 7BIT X400-Content-type: P2-1984 (2) X400-MTS-identifier: [/PRMD=es/ADMD=/C=/;950927140629] X400-Originator: antonia@fib.upc.es X400-Recipients: non-disclosure:; Followup-to: poster 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 ---------------------------------------------------------------------