Re: flatbed scanner, postscript printer

becka@rz.uni-duesseldorf.de
Thu, 9 Oct 1997 20:17:32 +0100 (MET)

Hi !

> I was just curious if anyone has a flatbed scanner configured to do
> photocopies to a printer by default, perhaps remapping a button on the
> scanner or connecting a switch to a spare pin on the parallel port to
> trigger the actual 'copy' procedure.
Should be a simple matter of a script, except for the "spare pin".
I do not know, if some scanners have a programmable button (probably there
are such things ...), but other sources could be used if it has none.
A simple daemon could monitor the button and call scanimage plus some
PBM-tools to do the copy.

These lines are from a cgi-script I use to "remote-scan" (the scanner is
connected to a headless server machine).

POSTPROC=" | /usr/bin/pbm/pnmtops -width 8.3 -height 11.5 | lpr -Php"
eval /usr/local/bin/scanimage $MODE --resolution $RES \
-l $X1 -t $Y1 -x $XSIZE -y $YSIZE $POSTPROC

> Also if anyone has information on getting HP's copy/print/scan OfficeJet
> printer to work, this would be appreciated as well.
Well - I suppose printing should be easy. They don't have used something
other than HP-PCL, have they ? Copying possibly too ...

> having heard that even the QuickCam was supported by sane.
> Unfortunately since this isn't the case at the moment, I'm looking
> for another solution.
Try to get the docs from HP. The worst problem is probably the bi-directional
protocol spoken on the lpt port ...

CU,ANdy

-- 
Andreas Beck              |  Email :  <becka@sunserver1.rz.uni-duesseldorf.de>

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com