Out of curiosity...
As I understand it, the current belief is that these codes are required to
put the printer in a mode where it will accept data via USB. If that's
the case, will it still accept data via the parallel port?
Basically, can you attach two computers to this printer, one via USB and
one via parallel port?
Matt Dharm
On Mon, 3 Apr 2000, Manuel A. McLure wrote:
> This worked! I created a filter as follows:
>
> #!/bin/bash
> exec cat /var/spool/lpd/epson-raw/epson-usb-codes -
>
> and the printer now works fine with raw documents sent from Windows through
> Samba.
>
> Thanks a lot!
> --
> Manuel A. McLure - Unify Corp. Technical Support <[EMAIL PROTECTED]>
> Vah! Denuone Latine loquebar? Me ineptum. Interdum modo elabitur.
>
>
> -----Original Message-----
> From: Jurgen Botz [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 31, 2000 1:45 PM
> To: [EMAIL PROTECTED]
> Cc: linux-usb mailing list
> Subject: Re: [linux-usb] Help with USB printer and usbdevfs
>
>
> "Stephen J. Gowdy" wrote:
> > I was going to say that this should probably be fixed in the
> > uniprint driver but I guess that doesn't work if printing from lp0.
> > Perhaps this should be in the printer.c module just for the Epson800?
>
> No, the best thing is to send this from the lpd filter script. On
> RedHat when you set up a printer it installs a filter script specific
> to that queue... modify that script to send the sequence to stdout,
> i.e. put a file with the sequence in the queue directory and have the
> filter script cat that file as the first thing it does. This is
> really the "right" way of dealing with this, since this way it works
> even with input which never gets sent to gs, and is specific to the
> print queue, which in turn is specific to the usb device.
>
> To make it easier, I've attached the sequence as a binary file which
> you can use for this.
>
> The alternative, as someone suggested, would be to deal with this the
> same way you might deal with "firmware" which needs to be sent to a
> device whenever it comes on-line (probably by invoking a user-space
> program when the device appears on the bus). That might be more
> elegant if only because the sequence only needs to be sent once, but
> it might actually be the wrong thing because it may be possible to
> connect a printer to two computers, one via USB and one via parallel.
>
> - J�rgen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
--
Matthew Dharm Home: [EMAIL PROTECTED]
Engineer, Qualcomm, Inc. Work: [EMAIL PROTECTED]
Would you mind not using our Web server? We're trying to have a game of
Quake here.
-- Greg
User Friendly, 5/11/1998
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]