Jan H. Julian wrote:

> Can anyone tell me how to activate the Feature for aps which
> prints the file name at the top or bottom of each page?  I
> found the description of the FEATURE=2 in the apsfilterrc
> file, but I am not sure how to invoke the variable.   Do I
> need to reconfigure aps using SETUP or Yast?
>
> Jan H. Julian
> [EMAIL PROTECTED]

Is there such an option? I got around it by writing a filter script for my
"raw" queue which wraps text to the page width and paginates it with page
numbers and a header including the file name (see attached).

To use it you need your "raw" printcap entry to say this:

     :pr=/usr/local/bin/foldpr:pw#78:\

though you'll set the nn in the pw#nn bit to however many columns your printer
can fit across the page in its default fixed-width font pitch size, and you
might need to change the defaults at the top of the foldpr script too.

You invoke it like this

    lpr -Praw -Fp myfile.txt

It's only a partial solution  I admit. It was of use to me because I couldn't
print anything reliably from Linux on my HPLJ IIID apart from raw ascii text
until I upgraded the memory (anybody know why apsfilter can't tell when the
printer buffer is full?).

Ralph

--
[EMAIL PROTECTED]        Ralph Clark, Virgo Solutions Ltd (UK)
   __   _
  / /  (_)__  __ ____  __    * Powerful * Flexible * Compatible * Reliable *
 / /__/ / _ \/ // /\ \/ /  *Well Supported * Thousands of New Users Every Day*
/____/_/_//_/\_,_/ /_/\_\    The Cost Effective Choice - Linux Means Business!

foldpr

Reply via email to