On Wed, Sep 22, 2010 at 02:58:08PM -0700, Kirk Goins wrote:
> I'm testing a Linux based Thin Client and need a little help. These
> will be replacing several Windows PCs. These PC currently have a thermal
> printers by Zebra attached via a parallel port. These printers need to
> have a logo uploaded after a power reset. On the Window's PC they do
> the following via a .bat file.
>
> cd\
> copy file.ext lpt1:
>
> I need to do this same thing on this thin client. Assuming I can get to
> bash, how would I do this simple script?
sudo cp <filespec> /dev/parport0
Assuming your system has one parallel port.
You can set up the sudoers to allow this command without a password challenge.
--
Michael Rasmussen, Portland Oregon
Trading kilograms for kilometers since 2003
Be appropriate && Follow your curiosity
http://www.jamhome.us/
The Fortune Cookie Fortune today is:
The bike becomes an extension of you rather than something you control.
~ Walter Lapchynski on fixed gear bikes.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug