AudienceView Connect

Configuring the Registry Merge File

On the computer where AudienceView is installed, a Windows registry file must be run to add a known document type of .avpdf to the system and to give the system direction on how to handle it. In this case, using a specified PDF reader to send the document to the printer without explicit direction from the user. A template file can be found in %AudienceView%\Libs\autoprint_merge.reg. This file must be edited before being run.
It is possible to use Adobe Acrobat and ghostScript, but the following example uses Fox-it Reader using the path suggested by the installer:

C:\Program Files\Foxit Software\Foxit Reader\Foxit Reader.exe

Once the path of the graphic reader is installed on the computer where auto-print is going to be enabled, the next step is to update autoprint_merge.txt file with the path before doing the operative system registry merge.

The autoprint_merge.txt file is pre-configured with the default path of each of the supported graphic reader.

autoprint_merge.txt
REGEDIT4
;=====
; Creates a file association for the .avp extension.
; An "Auto Print &PDF File" context menu command is created
; that associates .avp files with a (WSH) script.
;=====

[HKEY_CLASSES_ROOT\.avpdf]
@="avp_auto_print"

[HKEY_CLASSES_ROOT\avp_auto_print]
@="AudienceView Auto-Print"

[HKEY_CLASSES_ROOT\avp_auto_print\shell]

[HKEY_CLASSES_ROOT\avp_auto_print\shell\open]
@="Auto Print &PDF File"

;=====
; In the command path, \\ resolves to \
; if a path contains spaces, enclose it in "s.
; Note: Embedded "s do NOT need to be doubled.
;=====
[HKEY_CLASSES_ROOT\avp_auto_print\shell\open\command]
@="C:\\Program Files\\Foxit Software\\Foxit Reader\\Foxit Reader.exe -p \"%1\""
;@="C:\\Program Files (x86)\\Adobe\\Reader 9.0\\Reader\\AcroRd32.exe /t \"%1\""
;@="C:\\Program Files\\Ghostgum\\gsview\\gsprint.exe \"%1\""

;Note: The blank lines above are required.
Hint
In the above autoprint_merge.txt file, the Foxit line has been enabled and the other two lines have been disabled by adding a semi colon at the beginning of the line.
  • Once the changes to autoprint_merge.txt are complete, rename the file autoprint_merge.reg.
  • Double-click on autoprint_merge.reg file to do the registration. If the registration is successful a message appear confirming that the installation was successful.