[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tru64-unix-managers
Subject:    SUMMARY: capability pw#
From:       Antonia Gomez <antonia () fib ! upc ! es>
Date:       1995-09-30 18:06:38
[Download RAW message or body]

Return-path: <alpha-osf-managers-relay@sws1.ctd.ornl.gov>
Received: from sws1.CTD.ORNL.GOV by SLUVCA.SLU.EDU (PMDF V5.0-4 #5070)
 id <01HVVFOC9FTC8Y5JL2@SLUVCA.SLU.EDU> for ALPHAOSF@SLUAVA.SLU.EDU; Sat,
 30 Sep 1995 03:39:23 -0600 (CST)
Received: (from daemon@localhost) by sws1.CTD.ORNL.GOV (8.6.10/8.6.10)
 id HAA17657 for aomaa; Fri, 29 Sep 1995 07:32:26 -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 HAA17609 for
 <alpha-osf-managers@sws1.ctd.ornl.gov>; Fri, 29 Sep 1995 07:32:18 -0400
Received: from avb.slu.edu by oaunx1.ctd.ornl.GOV (8.6.10/3.0-C)
 id HAA19020; Fri, 29 Sep 1995 07:02:47 -0400
Received: from DECNET-MAIL (SYSTEM@AVB) by SLUVCA.SLU.EDU (PMDF V5.0-4 #5070)
 id <01HVU444PICGA3CA3E@SLUVCA.SLU.EDU> for alpha-osf-managers@ornl.gov; Fri,
 29 Sep 1995 04:56:59 -0600 (CST)
Date: Fri, 29 Sep 1995 04:56:59 -0600 (CST)
From: Antonia Gomez <antonia@fib.upc.es>
Subject: SUMMARY: capability pw#
Sender: alpha-osf-managers-relay@sws1.ctd.ornl.gov
To: alpha-osf-managers@ornl.gov
Reply-to: Antonia Gomez <antonia@fib.upc.es>
Message-id: <01HVU444XTCIA3CA3E@SLUAVA.SLU.EDU>
Organization: SAINT LOUIS UNIVERSITY  St. Louis, MO
X-VMS-To: IN%"alpha-osf-managers@ornl.gov"
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Followup-to: poster

Return-path: <alpha-osf-managers-relay@sws1.ctd.ornl.gov>
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
 <alpha-osf-managers@sws1.ctd.ornl.gov>; 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 <antonia@fib.upc.es>
Subject: SUMMARY: capability pw#
Sender: alpha-osf-managers-relay@sws1.ctd.ornl.gov
To: alpha-osf-managers@ornl.gov
Reply-to: Antonia Gomez <antonia@fib.upc.es>
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=<hostname> 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
---------------------------------------------------------------------

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic