Announcement

Collapse
No announcement yet.

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

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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, 09:31 AM.

    #2
    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.
    Before you post ... Edit your profile • IrfanView 4.62 • Windows 10 Home 19045.2486

    Irfan PaintIrfan View HelpIrfanPaint HelpRiot.dllMore SkinsFastStone CaptureUploads

    Comment


      #3
      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, 09:34 AM. Reason: Language errors and typing errors

      Comment

      Working...
      X