Printing a series of images to exact dimensions
Question
I'd like to script printing of a series of photographs, but to exact dimensions. (e.g. all jpegs in dir /tmp/printing, at 1.5" x 1.0", 6 to a page)
I happen to have my hands on a Ubuntu Linux box and a deskjet printer (hp5150) but could probably use Windows or possibly get another printer if absolutely required.
I'm reasonably familiar with shell scripting but I'm not having much luck finding a command line method of printing photos while specifying the target dimensions. GIMP seemed an obvious choice but my google-fu and general fiddling hasn't shown me how to do it.
Can anyone help (preferably with an example :)! ).
Thanks!
EDIT: Thanks to PEZ, I have a mechanism for printing mutiple images to a sheet, but I can't see how to resize images to set dimension, even using ImageMajick. I can resize to a dimension specified in pixels, is it a case of determining (or setting?) the DPI of the printer and calculating the pixel dimensions to get the printed dimensions?
Solution
I don't have my hands on a Linux box right now, but I think it should work to use something like ImageMagick (the "convert" command) to scale to images and then use the n-up printing of CUPS to print the images. The print command would look something like so:
lp -o number-up=6 my_scaled_image_*.jpg
OTHER TIPS
Check out this site for batch processing in GIMP: http://gimp.org/tutorials/Basic_Batch/