Re: Impresora remota y PS
On Tue, Nov 17, 1998 at 03:01:04PM +0100, Jose Illescas wrote:
> Por que en la impresora aparece "lenguaje solicitado no disponible".
Ah... es una HP LJ 5? Debería funcionar. La tarjeta es una JetDirect? Creo
que hay un FAQ sobre eso... del Printing-HOWTO:
HP Laserjet printers with Jet Direct interfaces generally support two
built in lpd queues - "raw" which accepts PCL (and possibly Postscript)
and "text" which accepts straight ascii (and copes automatically with the
staircase effect). If you've got a JetDirect Plus3 three-port box, the
queues are named "raw1", "text2", and so forth.
Some printers (and printer networking "black boxes") support only a cheesy
little non-protocol involving plain TCP connections. Notable in this
category are early-model JetDirect (including some JetDirectEx) cards.
Basically, to print to the printer, you must open a TCP connection to the
printer on a specified port (typically 9100, or 9100, 9101 and 9102 for
three-port boxes) and stuff your print job into it. This can be
implemented, among other ways, in Perl:
en el primer caso, tienes el nombre de la cola de impresion mal, no es
"trusa" sino "raw" a menos, claro, que la impresora este configurada de otra
forma (que es posible). En el segundo, tienes que abrir una conexion al
puerto correcto, con rm=maquina%puerto *creo*, mira printcap(5)
Marcelo
Reply to: