[NCLUG] linux-based "LanFax" server for an HP scanner

Gabriel L. Somlo gsomlo at gmail.com
Wed Aug 7 14:00:19 MDT 2013


On Wed, Aug 07, 2013 at 01:41:02PM -0600, Stephen Warren wrote:
> > Because the .hpf metadata file doesn't include the notification email
> > entered by the user :(
> That implies that the scanner has some local storage that maps job ID to
> email address etc. Is that really true?

Yeah, it is true. The most I was able to get out of it was to

  echo "01234567890 OK" > FOO.001

on the Samba server, and have the scanner actually email me
a "Job Notification: Failed" report:


  The following job has encountered an error. Retry the job. If the
  problem continues contact the administrator.

  ----- Original Job Details -----
  Device Name: HP Scanjet Enterprise 8500 fn1 Document Capture
  Workstation
  User:
  Date: Aug/7/2013 1:36:22 PM (-0400 GMT)
  Scanned Pages: 1

  ----- Destination(s) -----
  1234567890 Internal error

  ----- Additional Details -----
  No additional details available.


For the record, the FOO.hpf file looked like this:

  ##fine
  ##nodelay
  ##b9600
  ##ecm
  ##description Fax from HP MFP Digital Sending Software
  ##tif
  ##nocover
  ##ScannerName HP Scanjet Enterprise 8500 fn1
  ##UserName HP_SCANNER-GUEST
  ##Creation
  ##Retry-limit 3 5
  ##Filename FOO.tif
  ##dial 1234567890
  ##ScannerIPadr 10.2.16.46
  ##ScannerHostname foo.bar.example.edu
  ##ScannerSerialNumber L2717A_SG26J01223

There may be multiple "##dial XXXYYYZZZZ" lines in there, and
one is expected to generate a FOO.00n file for each such line...

As I mentioned earlier, creating an empty .001 file caused the
scanner to crash. So did echo-ing other random text (I originally
naively thought the scanner will just cut'n'paste whatever I put
in there and email it to the user :)

Thanks,
--G


More information about the NCLUG mailing list