[sane-devel] Two questions: ESC/P control set, and drum scanners
On Mon, Jun 11, 2012 at 5:26 AM, Alessandro Zummo azummo-lists at towertech.it wrote: On Sun, 10 Jun 2012 09:23:45 +0900 Gernot Hassenpflug aikishugyo at gmail.com wrote: I'm wondering if there is a backend already that uses a protocol based on ESC/P command set? ?epson2 Thanks! I figured I might have to look at that one sometime, although I suspect it is a lot more complex than what I need right now. Regards, Gernot
[sane-devel] Two questions: ESC/P control set, and drum scanners
Gernot Hassenpflug aikishugyo at gmail.com writes: On Mon, Jun 11, 2012 at 5:26 AM, Alessandro Zummo azummo-lists at towertech.it wrote: On Sun, 10 Jun 2012 09:23:45 +0900 Gernot Hassenpflug aikishugyo at gmail.com wrote: I'm wondering if there is a backend already that uses a protocol based on ESC/P command set? ?epson2 Thanks! I figured I might have to look at that one sometime, although I suspect it is a lot more complex than what I need right now. The epson, epson2 and epkowa backends all support the ESC/I protocol. The ESC/P protocol that I'm somewhat familiar with is for *printers* (and printers only, AFAIK). In your original mail you mentioned ESC S and ESC s commands. In the ESC/I protocol those commands are for get-command-parameters and set-auto-area-segmentation, respectively. This doesn't jive with what you described so I doubt those backends will be of any use. Do your logs include ESC f, ESC G and/or FS F, FS G (status and start scan commands)? If not, then these backends definitely aren't what you're looking for. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962
[sane-devel] Two questions: ESC/P control set, and drum scanners
On Mon, Jun 11, 2012 at 8:28 AM, Olaf Meeuwissen olaf.meeuwissen at avasys.jp wrote: Gernot Hassenpflug aikishugyo at gmail.com writes: On Mon, Jun 11, 2012 at 5:26 AM, Alessandro Zummo azummo-lists at towertech.it wrote: On Sun, 10 Jun 2012 09:23:45 +0900 Gernot Hassenpflug aikishugyo at gmail.com wrote: I'm wondering if there is a backend already that uses a protocol based on ESC/P command set? The epson, epson2 and epkowa backends all support the ESC/I protocol. The ESC/P protocol that I'm somewhat familiar with is for *printers* (and printers only, AFAIK). In your original mail you mentioned ESC S and ESC s commands. ?In the ESC/I protocol those commands are for get-command-parameters and set-auto-area-segmentation, respectively. ?This doesn't jive with what you described so I doubt those backends will be of any use. Do your logs include ESC f, ESC G and/or FS F, FS G (status and start scan commands)? ?If not, then these backends definitely aren't what you're looking for. Hi Olaf, No, there are no other commands apart from various ESC S, and then ESC s for data reading. It appears very simple compared to, say, the pixma protocol. Once I have a few more log files I will write out the protocol here, so far I have only clearly identified the resolution command, and data reading, and what are presumable ready/OK pairs. So maybe Canon just created some pre-pixma command format I can rip out all the complicated stuff in the pixma backend and try to make a new backend to support this. I figured though it might be easier to rip out things or replace commands in a backend that uses ESC/P style commands already. Regards, Gernot Hassenpflug
[sane-devel] Two questions: ESC/P control set, and drum scanners
Hi all, I've got 2 questions: 1) About scanners using ESC/P command set I've just received some UsbSnoop data for a Canon MP130 multi-funtion machine. Unlike the usual pixma command set, this seems to use an extremely simple and abbreviated set of commands that looks like ESC/P. The pre-data and post-data interaction uses an ESC S (capital letter) for write and read, and the data reading uses ESC s (small letter). I'm wondering if there is a backend already that uses a protocol based on ESC/P command set? 2) about drum-scanners I have a couple of ALPS drum-scanner printer/scanner combos (MD-4000 and MD-1500) which function through either a SCSI connection (for Macs) or a parallel connection (for PCs). I haven't yet installed the native scan software for Windows so I don't have any data yet, but I wonder which backend might be best to look at for support. I don't know if I should be expecting SCSI-over-parallel or something complicated, and am unsure at this stage how easy it will be to snoop the parallel connection. What is a recommended way to do that? I am thinking that maybe I can install Windows2000 (not sure if the scan software can run on XP) in a VM, and then install the parallel driver via a USB converter cable (the printers function well like that). If that works, I can use UsbSnoop. But if not, I'll have to find a way to snoop the parallel port maybe? For that would I need portmon, or is there some other recommended software? Regards, Gernot Hassenpflug
[sane-devel] Two questions: ESC/P control set, and drum scanners
On Sun, 10 Jun 2012 09:23:45 +0900 Gernot Hassenpflug aikishugyo at gmail.com wrote: I'm wondering if there is a backend already that uses a protocol based on ESC/P command set? epson2 -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it