Xnview command line /print - two images on page?

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

Xnview command line /print - two images on page?

Post 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
:-(
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

No sorry, currently no way to do that...
Pierre.
Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

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

Post by Galkin »

Thanks.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

Pierre.
Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

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

Post 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!!!
Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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
Pierre.
Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

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

Post 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.
Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

Hello,

Could you send me the xnview2.ini & a tif file?
Pierre.
Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

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

Post 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
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

ok, i found. If you want a test version, tell me
Pierre.
Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

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

Post by Galkin »

I am ready.
That it is necessary to do?
Galkin
Posts: 12
Joined: Thu Nov 11, 2010 9:26 am

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

Post 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
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

could you send me the xnview.ini?
Pierre.
Post Reply