Hola:

Estoy intentando usar magicfilter para una impresora remota
pero no se como hacerlo funcionar.
He visto en la documentacion que hay que mandar el trabajo a una
impresora local y en el filtro redirigirlo a la remota pero no
consigo hacerlo.

Sin utilizar filtro si he conseguido hacerla funcionar.

Adjunto ficheros printcap y filtro.


Saludos
Fernando.
{:-{D>
#
# Copyright (c) 1983 Regents of the University of California.
# All rights reserved.
#
# Redistribution and use in source and binary forms are permitted
# provided that this notice is preserved and that due credit is given
# to the University of California at Berkeley. The name of the University
# may not be used to endorse or promote products derived from this
# software without specific prior written permission. This software
# is provided ``as is'' without express or implied warranty.
#
#       @(#)etc.printcap        5.2 (Berkeley) 5/5/88
#
# > This file was generated by /usr/sbin/magicfilterconfig. <
#
lp|lj|hplj3|HP Laserjet III:\
        :lp=/dev/null:sd=/var/spool/lpd/hplj3:\
        :sh:pw#80:pl#72:px#1440:mx#0:\
        :if=/etc/filtro.remoto.fer:\
        :af=/var/log/lp-acct:lf=/var/log/lp-errs

rlp|ljr|hplj3r|HP Laserjet III remota:\
        :lp=/dev/null:\
        :rm=desa2:\
        :rp=sun_l:\
        :sd=var/spool/lpd/hplj3r

#! /bin/sh
/etc/magicfilter/ljet3-filter | lpr -P rlp

Responder a