I'm not sure how to include a custom filter for a printer (a HP 6MP - a
lightweight PCL/Postscript printer).  Having set it up in printtool as a
postscipt printer it works fine and used the 'provided' RH filter called
'filter'

The background to the problem is that new Academic Transcript paper was
ordered from a stationer and apparently the placement of some printed
headings from the top margin were given in error to the stationer

I've taken a look at the file which would otherwise be directed to the
printer - which is in postscrpt - and having made some alterations to it
via sed the academic transcript can be printed on the new transscript
printer without looking like a mess.

In other words  

        sed -f make-mods.sed transcript.ps |lpr -Presults

works as desired

The queue results is a remote queue and the HP is feed via a printserver
on an IP network.


The entry for the filter (the input filter) as provided by RH is called
filter and resides in /var/spool/lpd/queue_name (where the name of the 
queue is results

I've tried the following without success (assuming that filters read from
stdin and write to stdout)

        cd /var/spool/lpd/results
        mv filter filter-previous       which has mode 755
        cat > filter
        sed -f make-mods.sed | /var/spool/results/filter-previous
        ^d
        chmod 755 filter
then
        lpr -Presults transscript.ps

The status and lock files show the time of printing but nothing comes out
on the printer.

The same result occurs if the contens of filter are replaced with

        cat - | /var/spool/results/filter-previous 

which should be functionally equivelent to keeping the original filter
script.

Obviously, I don't know how to make the "modified" ps file be filterd by
the former filter called 'filter'.  The HOWTOs don't seem to address this
aspect either.  I'd be grateful for a comment.


cheers, Kyle.


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to