Page 1 of 2

Xnview command line /print - two images on page?

Posted: Thu Nov 11, 2010 10:26 am
by Galkin
Xnview 1.97.6 , Windows XP, User code LTD Pharmcomplect

Command line:

xnview.exe sample.tif /print

Exist additional key for print two images on one page?

Analogous main window Xnview : Print-Page Layout-Page Layout=Pictures Collection=5"x7"(127x178 mm)[2]=[V]Multiple images per page

May be use -ini <file> options? Then description of structures <file>?

Sorry, my english is very bad
:-(

Re: Xnview command line /print - two images on page?

Posted: Fri Nov 12, 2010 8:53 am
by xnview
No sorry, currently no way to do that...

Re: Xnview command line /print - two images on page?

Posted: Fri Nov 12, 2010 11:32 am
by Galkin
Thanks.

Re: Xnview command line /print - two images on page?

Posted: Thu Mar 03, 2011 9:52 am
by xnview

Re: Xnview command line /print - two images on page?

Posted: Wed Apr 13, 2011 11:30 am
by Galkin
xnview wrote:Please try XnView 1.98 beta 1
XnView 1.98 beta 2

D:\xnview\xnview.exe -ini D:\xnview\1.ini /print D:\add\1.tif

1.ini:

[Print]
AllPages=0
AutoRotate=0
BottomMargin=0.20
CType=0
Columns=2
EFontBold=0
EFontHeight=10
EFontItalic=0
EFontName=Courier
ETextColor=0
FText=Page <Page Number>/<Page Count>
First=1
FontBold=0
FontHeight=10
FontItalic=0
FontName=Arial
Gamma=1.00
HText=
Height=10.00
HoriSpacing=1.00
JobPerPage=0
KeepRatio=1
Last=1
LeftMargin=0.20
Multiple=1
Option=5
Position=4
RightMargin=0.20
Rows=2
Text=
TextColor=0
TextPosition=0
TextUse=1
TopMargin=0.20
Units=0
UseFooter=1
UseHeader=0
VertSpacing=1.00
WFontBold=0
WFontHeight=10
WFontItalic=0
WFontName=Courier
WFontOrientation=0
WOrientation=0
WText=
WTextColor=0
WTextPosition=0
WUse=0
Width=10.00
XScale=2.00
YScale=2.00

It work !!!

Testet in 3 computers - OK

Very big thanks!!!

Re: Xnview command line /print - two images on page?

Posted: Fri May 13, 2011 4:54 pm
by Galkin
Galkin wrote:
xnview wrote:Please try XnView 1.98 beta 1
XnView 1.98 beta 3
It work !!!
Testet in 3 computers - OK
Very big thanks!!!
Sorry, we have some problem with command line in XnView.

When we use command like this
D:\XnView\xnview.exe -print \\Sertifikat\Sertif\r\tabel_841010.tif -ini D:\XnView\xnview2.ini
Xnviev works correctly.

But if we use symbol - "" (quotes) in key -print (for example -print "\\Sertifikat\Sertif\r\tabel_841010.tif"). XnView can't find file \\Sertifikat\Sertif\r\tabel_841010.tif.
So, command like this - D:\XnView\xnview.exe -print "\\Sertifikat\Sertif\r\tabel_841010.tif" -ini D:\XnView\xnview2.ini does not work.
We must use "" (quotes) because some our files have spaces in name(for example D:\tabel_1 0988.tif or D:\tabel12 8899.tif .etc).
How do we solve this problem?

Thanks in advance.

Re: Xnview command line /print - two images on page?

Posted: Mon May 16, 2011 6:43 am
by xnview
Galkin wrote: But if we use symbol - "" (quotes) in key -print (for example -print "\\Sertifikat\Sertif\r\tabel_841010.tif"). XnView can't find file \\Sertifikat\Sertif\r\tabel_841010.tif.
So, command like this - D:\XnView\xnview.exe -print "\\Sertifikat\Sertif\r\tabel_841010.tif" -ini D:\XnView\xnview2.ini does not work.
We must use "" (quotes) because some our files have spaces in name(for example D:\tabel_1 0988.tif or D:\tabel12 8899.tif .etc).
How do we solve this problem?
ok, i'll check

Re: Xnview command line /print - two images on page?

Posted: Tue Jun 07, 2011 11:36 am
by Galkin
xnview wrote:
Galkin wrote: But if we use symbol - "" (quotes) in key -print (for example -print "\\Sertifikat\Sertif\r\tabel_841010.tif"). XnView can't find file \\Sertifikat\Sertif\r\tabel_841010.tif.
So, command like this - D:\XnView\xnview.exe -print "\\Sertifikat\Sertif\r\tabel_841010.tif" -ini D:\XnView\xnview2.ini does not work.
We must use "" (quotes) because some our files have spaces in name(for example D:\tabel_1 0988.tif or D:\tabel12 8899.tif .etc).
How do we solve this problem?
ok, i'll check
Very big thanks! On XnView 1.98 Release no problem.

Re: Xnview command line /print - two images on page?

Posted: Tue Jul 19, 2011 11:36 am
by Galkin
Hello.
New problem.

We have some problem with command line in XnView.
We use XnView command line for printing files
(for example we use command like this D:\XnView\xnview.exe -print \\Sertifikat\Sertif\r\tabel_841010.tif -ini D:\XnView\xnview2.ini).
In Print Properties we set Page layout=Thumbnails, Columns=2, Rows=2 and trying to print.
If multipage file *.tif contains 1,2,3 or 5 pages XnViev works correctly, but if multipage file *.tif contains 4 pages, XnViev print empty sheet at the end of the print cycle.
When in Print Properties we set Page layout=Thumbnails, Columns=1, Rows=2 and trying to print. If multipage file *.tif contains 1,3 or 5 pages XnViev works correctly, but if multipage file *.tif contains 2 or 4 pages, XnViev print empty sheet at the end of the print cycle.
But if we use interface of XnView, it works correctly, regardless of the number of pages without empty sheets at the end of the print cycle .
Why XnView print empty list when we use command line? We can't find the reason for this. Help us please.

Re: Xnview command line /print - two images on page?

Posted: Tue Jul 19, 2011 2:22 pm
by xnview
Hello,

Could you send me the xnview2.ini & a tif file?

Re: Xnview command line /print - two images on page?

Posted: Wed Jul 20, 2011 6:44 am
by Galkin
2.ini - Page layout=Picture collection 5"x7"(127x178 mm)(2)
4.ini -Page layout=Picture collection 3.5"x5"(89x127 mm)(4)
02.ini - Page layout=Thumbnails Columns=1 Rows=2
04.ini - Page layout=Thumbnails Columns=2 Rows=2
E01.tif - file for print

Each of these ini files (when we priny E01.tif) gives empty sheet at the end of the print cycle
http://depositfiles.com/files/4qppqozd3

Re: Xnview command line /print - two images on page?

Posted: Wed Jul 20, 2011 3:08 pm
by xnview
ok, i found. If you want a test version, tell me

Re: Xnview command line /print - two images on page?

Posted: Thu Jul 21, 2011 8:38 am
by Galkin
I am ready.
That it is necessary to do?

Re: Xnview command line /print - two images on page?

Posted: Fri Jul 22, 2011 7:43 am
by Galkin
I am testing xnview (1.98.3 beta)
http://www.xnview.com/beta/xnviewb.zip

Command line
xnview.exe -print d:\xnview\01.tif -ini d:\xnview\xnview.ini
xnview.ini - It will not be involved, prints ONLY one image on sheet

Xnview 1.98.1 - work, but empty sheet

Re: Xnview command line /print - two images on page?

Posted: Fri Jul 22, 2011 12:01 pm
by xnview
could you send me the xnview.ini?