SUMMARY: capability pw#

From: Antonia Gomez <antonia_at_fib.upc.es>
Date: Wed Sep 27 19:17:43 1995

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_at_fib.upc.es
---------------------------------------------------------------------
Received on Wed Sep 27 1995 - 19:17:43 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:46 NZDT