4supportteam.files.wordpress.com · web viewe-reg installation document(usb). part 1: printer ++...
TRANSCRIPT
E-Reg Installation Document(USB)
Part 1: Printer ++
Description: Printer++ is a flexible and powerful windows virtual printer that allows you to print from any application (excel, webpages, word…) and then have the print job sent to a printer++ SDK solution tailored to your needs and requirements.
Installing Printer Plus Plus :
Run Printer++(64 bit).exe file from the application folder EReg for 64 bit system. If the PC is a 32 bit system then run Printer++(32bit).exe file.
Follow the below screen shots for installing printer++.
Step 1: Run setup.exe
Step 2: Enter the name of virtual printer as shown below
Click next
Step 3 : Right click the newly installed printer VirtualRegcard and select printer properties go to Ports and click on configure port as shown below:
Step 4: Give Output path for VirtualRegcard and give the file name pattern and click OK as shown below.
Create folder RegTemp in C:\PrinterPlusPlus folder and specify the path as given below.
Output Path: C:\PrinterPlusPlus\RegTemp
Filename Pattern: %r%c%u%Y%m%d%H%n%s%j.ps. Click on the ? button beside filename tab to study about the filename pattern.
Click here
Step 5 : Give full control to the Printer ++ folder for user group 'Everyone'.
This can be done by Right click Printer ++ folder in C drive. Go to Properties->Security->Select user group 'Everyone'->click 'Edit'-> Allow all permissions->Click Apply->OK.
We can add one more virtual printer to the system by following below steps.
Step 1: Go to Devices and Printer and select Add a printer
Step2: Below screen will open click on Add a local printer
Step3: Select on Create a new port and Give new port name
Step 4: Give Output path for the folio cards (It should be different from Reg card) and Copy paste file name pattern from already saved Virtual printer configurations.
Create folder FolioTemp in C:\PrinterPlusPlus and specify the path in the Output path field as shown below.
Step 5: Go to Devices and Printer and select Add a printer and select Use an existing port, choose a port which you added
Step 6 : Give Manufacturers as Xerox and click Next.
Step 7 : Type a printer name which you wish to add it should be unique
Step 8: Click on Do not share this printer and click on Next
Step 9: You have successfully added one more virtual printer
Step 10 Click on Printer configuration- Advanced -- Set driver as PrinterPlusPlus
Part 2 : Ghost Script
Description: Ghostscript is a high quality, high performance Postscript and PDF interpreter and rendering engine. Ghostscript consists of a PostScript interpreter layer, and a graphics library. Sometimes the Ghostscript graphics library is also referred to simply as Ghostscript.
Installing Ghost Script :
Step 1: Select the ghostscript.exe file from eReg application folder based on the system configuration.
For 32 Bit system: Ghostscript 9.19 for Windows (32 bit) gs919w32.exe
For 64 Bit system: Ghostscript 9.19 for Windows (64 bit) gs919w64.exe
Step 2: Installation of ghost script . Click RUN in the exe file as shown below.
Step 3: Click on I Agree to agree terms and conditions and installation will start.
Step 4: Browse the location if you want to change the default location and click on Install.
Step 5: Installation Completed.
Step 6 : Give full control to the gs folder for user group 'Everyone'.
This can be done by Right click gs folder in C drive. Go to Properties->Security->Select user group 'Everyone'->click 'Edit'-> Allow all permissions->Click Apply->OK.
*** To take the PDF directly from the printer ++ do the following settings:
Click Finish
The following path is given as User command
C:\Program Files\gs\gs9.18\bin\gswin64c.exe -sDEVICE=pdfwrite -r300 -dBATCH -dNOPAUSE -dSAFER -sPAPERSIZE=a4 -sOutputFile="C:\PrinterPlusPlus\RegTemp\%Y%m%d%H%n%s.pdf" -c .setpdfwrite -f -
Remove printer ++ from Start up menu:
Go to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup . Disable 'Printer++'.
OR
Go to run-> type msconfig , the following screen will appear.
Under the startup tab uncheck the PrinterPlusPlus item. Click Apply-> OK.
Part 4: Installing iTunes
iTunes is a media management software created by Apple, Inc., for both the Macintosh and Windows operating systems. You can use it to manage and play both audio and video files on your computer. This comes in two versions ie., for 32 bit system and 64 bit system.
Download latest version of iTunes and install as shown below.
Run the exe file as shown below.
Click Next
Click Install
Click Finish to exit the set up.
Part 4 : Installing I Explorer - For eReg Installation using USB
Description: To use iExplorer, you simply download it and connect your iOS device to your PC. It reads the contents of your device, and presents the information to you in a neatly organized dashboard. Much like iTunes, iExplorer shows you information about your iPhone or iPad, such as its software version, serial number, and capacity. You also can browse its apps , photos, music, and videos, just as you can with iTunes. But iExplorer lets you do even more, including browsing its messages, notes, contacts, voicemails, bookmarks, calendar, call history, and so on.
iExplorer can be downloaded from https://www.macroplant.com/downloads.
Download the latest version of iexplorer.
Step 1:
Download iExplorer. Your download should begin automatically.
Step 2:
This is a security check. Click 'Yes' to run the set up.
Step 3:
The setup wizard will walk you through the rest of the install. Just leave the options set to their defaults and click next until the installation is complete.
Register the iExplorer using the licence code.
Part 5: Setting up iExplorer for Wired Connection (iPad with USB)
Step 1: Connect the iPad to the PC where eReg Application is hosted.
When iExplorer is working properly the following window will pop up as soon as the iPad is connected.
Select 'Apps' in the above screen shot.
Step 2:
In the Apps folder select Regcard folder as shown below
Step 3: In RegCard folder select Documents as shown below
Step 4: Within the Regcard -> Documents folder select PDF Document folder as shown below.
Step 5: Right click the PDF Document folder and select 'Mount as Disk' the following screen appears.
Click 'Yes' to mount the device.
This process is called as 'Mounting' which is to be done when the device(iPad) is connected for the first time to the PC.
Setting the iExplorer preferences
In the notifications bar right click the iExplorer icon as shown below and select preferences.
Under the General tab ,check the ''Run iExplorer when Windows starts" as shown below
Then go to the 'Disk Mounting' tab. And check all the boxes as shown below and click Save.
Part 6 :Hosting eReg Application in the system:
Copy the eReg application folder from H:\E-Reg to C:\E-Reg(or preferred location in your PC).
This application folder contains all the configuration files for eRegDocumentWatcher , eRegViewer .
Part 7: Configure the eRegDocumentWatcher .
Step 1: eRegDocumentWatcher Configuration
<eRegDocumentWatcher.eRegDocumentWatcher>
<setting name="regcard_print" serializeAs="String">
<value>C:\PrinterPlusPlus\Temp</value> //Set the location of Regcard printer
</setting>
<setting name="folio_print" serializeAs="String">
<value>C:\PrinterPlusPlus\Temp1</value> //Set the location of Folio printer
</setting>
<setting name="regCard_location" serializeAs="String">
<value>D:\MERIL TESTING\Praveen\eReg with iPad\eRegViewer Copy\Unsigned Documents</value> // Set the path of Reg Card Unsigned Document location
</setting>
<setting name="OS_bit" serializeAs="String">
<value>64</value> //Set whether its 32 bit or 64 bit
</setting>
<setting name="folio_location" serializeAs="String">
<value>D:\MERIL TESTING\Praveen\eReg with iPad\eRegViewer Copy\Unsigned Documents</value> //Set the path of Folio Unsigned Document location
</setting>
<setting name="Log" serializeAs="String">
<value>True</value>//Set if log is required
</setting>
<setting name="Log_Path" serializeAs="String">
<value>D:\MERIL TESTING\Praveen\eReg with iPad\eRegViewer Copy</value> //Set the Log path
</setting>
</eRegDocumentWatcher.eRegDocumentWatcher>
Part 8: Setting up Service Manger
Service Manager comes in two types ie., for 32 bit, 64 bit. Select the appropriate version according to your system configuration. From the eReg Application folder go to G:\EREG\SrvManager \64 - Bit.
1. To create a new service run the srvman.exe file.The following screen will appear.Click on ' Add service button'
Give the configuration as shown below:
Initial service name: eRegService (name of the service without any space or special chars). Same name should be given for user visible name.
Binary file path is the path of documentwatcher.exe file. Select the 'interactive service' box. Start mode should be 'Auto'. Service type as win 32 program as service via SrvMan. Click OK. Then Exit. For doing any modifications to the application configuration stop the service. Make all the
changes then restart the service.
click here
Part 9: eRegViewer Configuration
<eRegViewer.viewer>
<setting name="AutoPush" serializeAs="String">
<value>False</value> //If the application needs to be pushed automatically to the iPad
</setting>
<setting name="Transfer_Mode" serializeAs="String">
<value>2</value> //Transfer mode 1 is for USB and 2 is for Wifi
</setting>
<setting name="signed_documents" serializeAs="String">
<value>D:\MERIL TESTING\Praveen\eReg with iPad\eRegViewer Copy\Signed Documents</value> //For USB option the signed document location
</setting>
<setting name="Local_Saving" serializeAs="String">
<value>False</value> //local saving True to enable
</setting>
<setting name="MSsqlconnection_string" serializeAs="String">
<value>Password=vicas;Persist Security Info=True;User ID=vicas;Initial Catalog=VICAS8;Data Source=DEVSERVER\DEVSERVER2008R2</value>//setting the database connection
</setting>
<setting name="date_format" serializeAs="String">
<value>dd/MM/yy</value> // the date format in the regcard
</setting>
<setting name="Log_flag" serializeAs="String">
<value>True</value> //False to disable the Logging
</setting>
<setting name="Log_path" serializeAs="String">
<value>D:\MERIL TESTING\Praveen\eReg with iPad\eRegViewer Copy</value>//Path for log </setting>
<setting name="MobileDeviceName" serializeAs="String">
<value>Samsotechipad3</value> //Used for Wifi option, the iPad name should be given here
</setting>
<setting name="MySqlConnection_string" serializeAs="String">
<value>SERVER=127.0.0.1;DATABASE=eregmobile;UID=root</value>// The server IP should be given where Xampp is installed. The database name should also be given
</setting>
<setting name="wifi_retreaving_location" serializeAs="String">
<value>C:\xampp\htdocs\Samsotech\iPadeRegService\Documents\Signed</value>// The Signed document location for WiFi option
</setting>
<setting name="TimerInterval" serializeAs="String">
<value>60000</value>
//The time interval
</setting>
<setting name="smtp_host" serializeAs="String">
<value>smtp.gmail.com</value>
</setting>
<setting name="smtp_port" serializeAs="String">
<value>465</value>
</setting>
<setting name="ssl_flag" serializeAs="String">
<value>True</value>
</setting>
<setting name="smtp_user" serializeAs="String">
<value>[email protected]</value>
</setting>
<setting name="smtp_password" serializeAs="String">
<value />
</setting>
<setting name="hotel_name" serializeAs="String">
<value>Fairmont</value>
</setting>
<setting name="wifi_sending_location" serializeAs="String">
<value>C:\xampp\htdocs\Samsotech\iPadeRegService\Documents\UnSigned</value>// For Wifi Option for the Unsigned document location
</setting>
<setting name="adobe_location" serializeAs="String">
<value>C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRd32.exe</value>// Set the adobe exe location in the PC
</setting>
<setting name="printer_name" serializeAs="String">
<value>HP Color LaserJet Pro MFP M177fw</value> //Printer name
</setting>
<setting name="AutoRetreave" serializeAs="String">
<value>False</value>// True to enable the Auto retrieve option
</setting>
<setting name="V2Mode" serializeAs="String">
<value>False</value>
</setting>
</eRegViewer.viewer>
</applicationSettings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup> <userSettings>
<eRegViewer.viewer>//USB option only, Set the Reg card and Folio path with drive
<setting name="reg_card_signing_location" serializeAs="String">
<value>E:\REGCARD</value>
</setting>
<setting name="reg_card_retreaving_location" serializeAs="String">
<value>E:\REGCARD\signed</value>
</setting>
<setting name="folio_signing_location" serializeAs="String">
<value>E:\FOLIO</value>
</setting>
<setting name="folio_retreaving_location" serializeAs="String">
<value>E:\FOLIO\signed</value>
</setting>
</eRegViewer.viewer>
</userSettings>
</configuration>
Editing Regcard with Acrobat reader.
1 Connect the iPad to the desktop Make sure device is connected.
2 Copy paste the File in IPAD location
3 Once its done Unplug the Device
4 Plug it again and Open the REGCARD application folder as per saved
Download Acrobat x1 pro to edit PDF files
If saving of file not being happened add the query (Fairmont Singapore)
1 query was missing as below
GO
/****** Object: StoredProcedure [dbo].[usp_InsertDocument] Script Date: 4/6/2016 10:46:02 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER PROCEDURE [dbo].[usp_InsertDocument] @Regcard IMAGE, @Folio IMAGE, @Documenttype varchar(50), @Roomnumber VARCHAR(10), @ArrivalDate Date, @ArrivalTime VARCHAR(10), @AssignFlag VARCHAR(10), @Reservationno VARCHAR(10), @Depaturedate Date, @Guestname VARCHAR(50), @Emailid VARCHAR(50), @guestnos VARCHAR(10),@InsertDate Date AS Declare @Documentid varchar(50) BEGIN INSERT INTO GuestDocuments(Roomnumber,Documenttype,ArrivalDate,ArrivalTime,Regcard,Folio,Assign
Flag,Reservationno,DepatureDate,Guestname,Emailid,Noofguest,UpdateDateTime) values (@Roomnumber,@Documenttype,@ArrivalDate,@ArrivalTime,@Regcard,@Folio,@AssignFlag,@Reservationno,@Depaturedate,@Guestname,@Emailid,@guestnos,@InsertDate) END
Need to paste a copy of reg temp and Folio in Sys 64wow since it’s a 32 bit device
running on 64 bit
Download AcrobatPro_11 to edit the PDF or we can even search from google for the same
Open the PDF and click on Tools at the right top and choose edit forms from there we need to select the fields which we need to edit
Provide some valid name to the field like
Arrival Date and it should have same spelling in the configuration file as well.
</setting>
<setting name="first_name" serializeAs="String">
<value>FirstName</value>
</setting>
<setting name="room_number" serializeAs="String">
<value>RoomNo</value>
The highlighted fields should be fields as per the PDF naming
<setting name="V2Mode" serializeAs="String">
<value>False</value>
This V2 mode is being used by Viceroy hotel only for the time being It populates all the fields.
<setting name="Transfer_Mode" serializeAs="String">
<value>2</value>
1- USB2- WIFI
<setting name="date_format" serializeAs="String">
<value>dd/MM/yy</value>
Set the Date format as per the the format of Reg Card or Folio
<setting name="MobileDeviceName" serializeAs="String">
<value>SamsotechiPad3</value>
This ipad name is required for the wireless connection