[PLUG] Copying a file to a network address rather than a device

Galen Seitz galens at seitzassoc.com
Fri Oct 7 19:12:25 UTC 2005


Chris Penwell <romanmir_ug at comcast.net> wrote:

> Why wouldn't that simply print the file? I was under the impression that if
> the printer receives something on port 9100 that it would print
> automatically.

It depends on the contents of the file.  If it were pure ASCII text that
might be the case, but presumably the file contains some sort of command
sequence that tells the printer to update its firmware.  


> Is there a way to telnet/ssh into the printer? I know on some jet direct
> print servers you can..

I think the telnet port is only used for configuration.  At least that's how
it works with my jet direct card.

galen

> 
> -----Original Message-----
> From: plug-bounces at lists.pdxlinux.org
> [mailto:plug-bounces at lists.pdxlinux.org] On Behalf Of Galen Seitz
> Sent: Friday, October 07, 2005 9:11 AM
> To: Rich Shepard; General Linux/UNIX discussion and help;civil and on-topic
> Subject: Re: [PLUG] Copying a file to a network address rather than a device
> 
> 
> Rich Shepard <rshepard at appl-ecosys.com> wrote:
> 
> >    I need to copy firmware upgrades to one of my printers. It's the only
> way
> > to do this under linux. The suggested syntax is 'cat <filename> >
> /dev/lp1'.
> > However, the printers are not directly connected to the server, but are
> > network nodes served by JetDirect cards.
> > 
> >    In /etc/cups/printers.conf, the printer needing the upgrade is defined
> as:
> > DeviceURI socket://colorp:9100; it's network address is: 192.168.55.194.
> > 
> >    Can I redirect the 'cat <filename>' to the IP address rather than the
> > device and end up with the same results?
> 
> Do you have a raw print queue, that is, one without any filters?  You
> might be able to just 'print' the file.  If not, the command 'nc' may do
> what you want.  Something like this might work:
> 
> nc 192.168.55.194 9100 < file
> 
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
> 



More information about the PLUG mailing list