On 16/06/16 23:05, Andrew Greig via luv-main wrote:
> I appreciate your help with this. I was not able to get:
> inotifywait -e ~/Pictures/Webcam
> to return any data to me.

Sorry, that was my typo, should have been
  inotifywait -m ~/Pictures/Webcam

(the '-m' is to keep it running, by default it will report all events)

> lpr -P HP "$filename" bit to make sure it would work. I set the paper
> size i the printer to 6"x4" photo, yet it printed out 4 tiled images for
> the picure (1/4 each tile) is that what the format part of the script
> was meant to correct?

The format part is just to make inotifywait report only the filename.

I'm not sure why you are getting a tiled image, might be to do with the
size of the image or with the paper size. You may need to add some
options to the lpr command (eg '-o fit-to-page' to force the image to
the page size, and/or '-o media=Custom.4x6in' to set the page size).

Glenn
-- 
sks-keyservers.net 0x6d656d65

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
luv-main mailing list
[email protected]
https://lists.luv.asn.au/cgi-bin/mailman/listinfo/luv-main

Reply via email to