OEM/Developer Features
Developers, you can make Zan Image Printer your own! Zan Image Printer provides an installation configuration file(setup.ini) to control the installation. With this configuration file, you can perform a silent mode installation, install multiple printers, setup a custom printer name, define a company URL, set the supported DPI resolutions and paper sizes, and determine whether or not all users share the same settings.

Both the install and uninstall programs support the -silent switch to run automatically without user interaction.
To install Zan Image Printer silently run:
zvprt5_setup -silent

To uninstall one Zan Image Printer silently run:
uninstall --p "printername"
Example: uninstall --p "zan image printer(bw)"

To uninstall all Zan Image Printers silently run:
uninstall -silent

All the files(including zvprt5_setup.exe, setup.ini and uninstall.exe) are stored within the self-extracting Microsoft CAB file zvprt5.exe. You can use WinZip or Winrar to extract the files.

The sample setup.ini below shows how to configure the setup program:
[setup]
homepage = http://www.zan1011.com/
showstatusdialog = 1
showaskdialog = 0
showconfigdialog = 1
showfinishdialog = 0
product = Zan Image Printer
defaultprinter = 
installdir=
custompaper_1=my custom paper 1, 12.5x13.8
custompaper_2=my custom paper 2, 6 mm x 8 mm
custompaper_3=my custom paper 3, 6" x 11"
custompaper_4=my custom paper 4, 2.5 cm x 3.6 cm


[printer_1]
install = 1
printername = Zan Image Printer(bw)
location=http://www.zan1011.com/
comment=
dpi = default
defaultdpi = 300
paper=default
defaultpaper=Letter
color=default
defaultcolor=bw
orientation=default
defaultorientation=
allusers = 1
autostart = 0
copyinifiles_1=save.ini, image_bw.ini, general.ini
copyinifiles_2=app.ini, advimage.ini, text.ini
copyinifiles_3=docuname.ini, paper.ini, histdb_docuname.ini
copyinifiles_4=event.ini, message.ini, watermark.ini, ftp.ini
copyinifiles_5=email.ini,printerredirection.ini,sentineltemplate.txt
copyinifiles_6=histdb_emailserver.ini,orientation.ini,histdb_ftpusername.ini

[printer_2]
install = 1
printername = Zan Image Printer(color)
location=http://www.zan1011.com/
comment=
dpi = default
defaultdpi =200x200
paper=default
defaultpaper=Letter
color=default
defaultcolor=color
orientation=default
defaultorientation=
allusers = 1
autostart = 0
copyinifiles_1=save.ini, image_color.ini, general.ini
copyinifiles_2=app.ini, advimage.ini, text.ini
copyinifiles_3=docuname.ini, paper.ini, histdb_docuname.ini
copyinifiles_4=event.ini, message.ini, watermark.ini, ftp.ini
copyinifiles_5=email.ini, printerredirection.ini,sentineltemplate.txt
copyinifiles_6=histdb_emailserver.ini,orientation.ini

[printer_3]
install = 0
printername = Zan Image Printer(fax)
location=http://www.zan1011.com/
comment=
dpi = group2
defaultdpi =204x196
paper=Letter, A4
defaultpaper=Letter
color=bw
defaultcolor=bw
orientation=default
defaultorientation=
allusers = 1
autostart = 0
copyinifiles_1=save.ini, image_fax.ini, general.ini
copyinifiles_2=app.ini, advimage.ini, text.ini
copyinifiles_3=docuname.ini, paper.ini, histdb_docuname.ini
copyinifiles_4=event.ini, message.ini, watermark.ini, ftp.ini
copyinifiles_5=email.ini,printerredirection.ini,sentineltemplate.txt
copyinifiles_6=histdb_emailserver.ini,orientation.ini

[printer_16]
install = 1
printername = fax(200 x 200)
location=http://www.zan1011.com/
comment=
dpi = 200
defaultdpi =
paper=A4,Letter
defaultpaper=A4
color=default
defaultcolor=bw
orientation=default
defaultorientation=
allusers = 1
autostart = 0
copyinifiles_1=save.ini, image_fax.ini, general.ini
copyinifiles_2=app.ini, advimage.ini, text.ini
copyinifiles_3=docuname.ini, paper.ini, histdb_docuname.ini
copyinifiles_4=event.ini, message.ini, watermark.ini, ftp.ini
copyinifiles_5=email.ini,printerredirection.ini,sentineltemplate.txt
copyinifiles_6=histdb_emailserver.ini,orientation.ini


[printer_20]
install = 1
printername = screen(96 x 96)
location=http://www.zan1011.com/
comment=
dpi = group3
defaultdpi =96
paper=Letter
defaultpaper=
color=default
defaultcolor=bw
orientation=default
defaultorientation=
allusers = 1
autostart = 0
copyinifiles_1=save.ini, image_bw.ini, general.ini
copyinifiles_2=app.ini, advimage.ini, text.ini
copyinifiles_3=docuname.ini, paper.ini, histdb_docuname.ini
copyinifiles_4=event.ini, message.ini, watermark.ini, ftp.ini
copyinifiles_5=email.ini,printerredirection.ini,sentineltemplate.txt
copyinifiles_6=histdb_emailserver.ini,orientation.ini

The setup.ini allows you to install up to 20 printers during each installation.
The AppName(i.e. setup, printer_1, printer_2, printer_16, printer_20) in the setup.ini file specifies the name of the section containing the key name. AppName is enclosed in square bracket pairs([]).
The valid AppName for a printer is printer_N, where N is a number from 1 to 20.

Keyname(Keyname is a key under the [setup] or [printer_N] section) Valid Values(if applicable) Description
homepage Your company's website
showstatusdialog 0
1
Whether to display the status dialog during the installation(0 = false, 1 = true)
showaskdialog 0
1
Whether to display the first dialog box that will ask if you wish to continue before the installation starts(0 = false, 1 = true)
showconfigdialog 0
1
Whether to display the setup options dialog(0 = false, 1 = true)
showfinishdialog 0
1
Whether to display the setup finished dialog after installation(0 = false, 1 = true)
installdir The folder where the Zan Image Printer files will be installed. If the installdir does not contain path separator characters, the setup will install Zan Image Printer to the Program Files\installdir directory. If the installdir contains path separator characters, it is assumed to specify a complete path.

Examples (assume the Program Files folder is C:\Program Files):
installdir=zvprt50: this will install Zan Image Printer to C:\Program Files\zvprt50
installdir=\myproduct\zvprt50: this will install Zan Image Printer to C:\Program Files\myproduct\zvprt50
installdir=\\myserver\zvprt50: this will install Zan Image Printer to \\myserver\zvprt50
custompaper_X, where X stands for a number from 1 to 20 define the custom paper to be created by specifying its name and measurement The custom paper is defined in the following format:
name, width unit x height unit
The unit can be "(inch), mm, or cm. If unit is omitted, paper size in inch is assumed. Examples:
custompaper_1=my custom paper 1, 12.5x13.8
custompaper_2=my custom paper 2, 6 mm x 8 mm
custompaper_3=my custom paper 3, 6" x 11"
custompaper_4=my custom paper 4, 2.5 cm x 3.6 cm
product Your own OEM brand name
allusers 0
1
Whether or not all users should share the same settings(0 = false, 1 = true)
autostart 0
1
Whether to launch zvprtsrv for this printer when Windows starts(0 = false, 1 = true)
location The printer's location information, if any, will appear in the General tab of the printer's Properties dialog
comment The printer's comment information, if any, will appear in the General tab of the printer's Properties dialog
defaultprinter the default printer name, leave blank if you don't want to change the current default printer Assign a printer as your default
install 0
1
Whether to install this printer(0 = false, 1 = true)
printername Your own OEM printer name. A printer name cannot contain any of the following characters:
\ / : * ? " < > |
dpi You can specify DPI resolution or a list of DPI resolutions separated by commas(,). Each printer can only be installed with the DPI resolutions from one group.
default: 75 x 75, 100 x 100, 120 x 120, 150 x 150, 200 x 100, 200 x 200, 240 x 240, 300 x 300, 360 x 360, 400 x 400, 600 x 600
group1: 75 x 75, 100 x 100, 120 x 120, 150 x 150, 200 x 100, 200 x 200, 240 x 240, 300 x 300, 360 x 360, 400 x 400, 600 x 600, 720 x 720, 1200 x 1200, 2400 x 2400
group2: 204 x 98, 204 x 196
group3: 72 x 72, 96 x 96, 144 x 144, 288 x 144, 288 x 288
group4: 240 x 144, 240 x 288
If the horizontal and vertical resolutions are the same, you can enter a single number to specify the resolution, i.e. 300x300 can be abbreviated to 300.
Configure the supported DPI resolutions
defaultdpi Specify the default DPI resolution
paper Paper size or a list of paper sizes separated by commas(,)
All: all paper sizes
9X11
10X11
10X14
11X17
12X11
15X11
A0
A1
A2
A3
A3_EXTRA
A3_ROTATED
A4
A4_EXTRA
A4_PLUS
A4_ROTATED
A5
A5_EXTRA
A5_ROTATED
A6
A6_ROTATED
B0(ISO)
B0(JIS)
B1(ISO)
B1(JIS)
B2(ISO)
B2(JIS)
B3(ISO)
B3(JIS)
B4
B4(JIS)
B4_JIS_ROTATED
B5(ISO)
B5(JIS)
B5_JIS_ROTATED
B6(ISO)
B6_JIS
B6_JIS_ROTATED
CSHEET
DSHEET
ESHEET
ENV_9
ENV_10
ENV_11
ENV_12
ENV_14
ENV_DL
ENV_C3
ENV_C4
ENV_C5
ENV_C6
ENV_C65
ENV_B4
ENV_B5
ENV_B6
ENV_ITALY
ENV_MONARCH
ENV_PERSONAL
ENV_INVITE
EXECUTIVE
F sheet
FOLIO
FANFOLD_STD_GERMAN
FANFOLD_LGL_GERMAN
JAPANESE_POSTCARD
DBL_JAPANESE_POSTCARD
LEDGER
LEGAL
LEGAL_EXTRA
LETTER
LETTER_PLUS
LETTER_EXTRA
NOTE
QUARTO
Square(64x64)
Square(128x128)
Square(256x256)
Square(512x512)
A_PLUS
B_PLUS
STATEMENT
TABLOID
TABLOID_EXTRA
FANFOLD_INVITE
FANFOLD_US
CUSTOMSIZE

Default: all paper sizes except B5(ISO), EXECUTIVE, and FANFOLD_INVITE
Configure the supported paper sizes
defaultpaper Specify the default paper size
color bw
color
Configure the supported color modes
defaultcolor Specify the default color
orientation Portrait
Landscape
Configure the orientation
defaultorientation Specify the default orientation
copyinifiles_X, where X stands for a number from 1 to 10. All Zan Image Printer specific settings are saved in INI files, the copyinifiles_X sections list the ini files to copy from the source directory to the printer's configuration directory. Click here to see the list of available INI files Change these default INI setting files to meet your needs before doing an install.
You can also specify different INI setting files for each printer. If the INI file name contains an underscore(_), the setup program will automatically rename to use only the part before the underscore. In the above sample setup.ini file, image_bw.ini is the INI setting file for Zan Image Printer(bw), image_color.ini is the INI setting file for Zan Image Printer(color). During the installation, image_bw.ini will be renamed to image.ini and copied to the INI settings file folder for Zan Image Printer(bw). image_color.ini will also be renamed to image.ini, but will be copied to the INI settings file folder for Zan Image Printer(color).


After you have extracted all the files from the self-extracting Microsoft CAB executable zvprt5.exe, please follow the steps below to test your customized installation:
1. Review and change the template installation configuration file setup.ini to fit your needs.
2. Open the resource DLL zvprtres_x86.dll and zvprtres_x64.dll with Microsoft Visual Studio or a third party resource editor. You may change all strings such as "Zan Image Printer" to use your own company name, and you may change the text and images on the About/Registration pages.
3. Start the installation by calling zvprt5_setup.exe from your own setup program. zvprt5_setup.exe is a stub installer that will auto detect the operating system type (x64 or x86) and load the correct version of the full installer (zvprt5_setup_x86.exe or zvprt5_setup_x64.exe), so that you can easily install Zan Image Printer on both 32 and 64 bit computers.

If you are interested in purchasing an OEM license, please email us at sales@zan1011.com, we will send you an OEM license agreement to review. OEM licenses require a completed and signed licensing agreement. You may also need to provide a company logo which will be shown on the About page.

We will change the resource dll and HTML help files based on your company logo, the OEM brand printer name, and the company URL which you provide.
The licensed OEM full version is a royalty-free version available for unlimited redistribution. It does not require the user to manually enter a registration code. With the licensed OEM full version, you have your company's logo and brand appear on the software, and you can ship every one of your products preloaded/bundled with a copy of Zan Image Printer.