Simple application to print part of an image - suggestions?

Patton Echols p.echols at
Wed Mar 4 21:46:47 UTC 2009

On 03/04/2009 02:34 AM, Chris G wrote:
> On Tue, Mar 03, 2009 at 08:00:08PM -0800, Patton Echols wrote:
>> On 03/03/2009 07:22 PM, Matthew Flaschen wrote:
>>> Which ImageMagick's display command can do easily.  I just gave the full
>>> steps in another email.
>> Oops, my bad.  And here I sent another reply.  I wish I had seen this 
>> and your other post for mouthing off  . . . Again!
>> As you'll see in my other reply, I was aware of display, but did not 
>> realize it would do all of that.  I had looked at the man page, but 
>> understood the options to be command line, not what could be done while 
>> looking at an image.  Very interesting. 
>> Thanks for the pointer
> ... but, as I said, it doesn't do what I want.  I can very easily
> select the part of the image I want and have it displayed in the
> ImageMagick window but I can't then get it to fill and A4 sheet when
> printed. 
> ImageMagick's display utility is almost exactly what I want except for
> the printing bit.
In theory the following should work, but see my problem below.

When using the display utility, as Matt described, before you print, 
click on View | Resize  The dialog will show the existing geometry eg 
640x480,0,0  Replace this with the number if pixels needed to fill the 
narrowest width of your page.  For example, if your printer is looking 
for 300 dpi and you have 8inch X 10.5 inch printable area, the narrow 
direction is 2400 dpi so you would use 2400x2400.  The "Constrain Ratio" 
checkbox is ticked  by default so your resized image will be some 
different size with a max of 2400

Then do the File | Print sequence.

I tried testing this and it works to a point.  A small crop expands a 
larger box  size, but not full width.   My printer is a HP 950c using 
and my box uses CUPS to print to it.  The IM display command prints to a 
postscript printer.  I'm not sure what is going on with my setup and I 
don't have time to dig into it. (Nor do I have any idea where I would look!)

More information about the ubuntu-users mailing list