Results 1 to 3 of 3

Thread: Command line: Resizing on / Print with best fit to page

  1. #1

    Smile Command line: Resizing on / Print with best fit to page

    Hi,

    when i manually print a image using Irfanview, i find the option "best fit to page" when printing.

    I do not find the way to do the same using irfanview command line /Print to get the print of my image.

    is it possible or not ?

    Thanks for your reply.

    G@dz
    Last edited by Godzestla; 24.05.2011 at 09:31 AM.

  2. #2
    Moderator Enterprise User Bhikkhu Pesala's Avatar
    Join Date
    May 2007
    Location
    East London
    Posts
    6,151
    OS
    64-bit Win 10
    CPU Cores
    1

    Default

    Take a look at i_options.txt in the IrfanView installation folder. The command line options for print are listed there. Though I have not tested it, I think you will find that /print will use the current dialogue settings, which are saved in i_view32.ini That is, the last used Fit to Page option will be used with the command line.

    Example for print:
    i_view32.exe c:\test.jpg /print
    => Open 'c:\test.jpg', print the image to default printer and close IrfanView
    i_view32.exe c:\test.jpg /print="Printer Name"
    => Open 'c:\test.jpg', print the image to specific printer and close IrfanView
    i_view32.exe c:\*.jpg /print
    => Print all JPGs from "C:\" and close IrfanView
    Note: the current settings from the INI file are used.

  3. #3

    Cool

    Hi Bhikkhu, i've tested the standard print to the default printer using "i_view32.exe c:\test.jpg /print" but the results is the print of the image at the original size
    . In this case this produce a tiny print (due to the image definition) and i need that to be printed resized with best fit to page (as you can get it using the print option inside Irfanview interactive facilities). I get that trying to print from a c++ program. When i call a simple Windows print from the same application, i get a resized print but cannot skip a dialogue print (Vista machine). My apologies if many language mistakes. I typed this reply from my iPad whith a not easy text editor.
    Last edited by Godzestla; 24.05.2011 at 09:34 AM. Reason: Language errors and typing errors

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •