[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: printing image full page



T o n g wrote:
> I'm looking for a script-able way to print any arbitrary image onto a 
> full printer page (letter, A4, etc). 

I think the following would do it:

  #!/bin/sh
  convert "$1" /tmp/printer-image.pdf
  lpr /tmp/printer-image.pdf

Of course that is just the idea.  More details should be filled in.  I
would guess that the images would need to be scaled first.  And no, I
didn't actually try it myself.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: