This is a blog post on setting up WebAdvantage suite. The WebAdvantage add-on allows a company to host a website to view/edit print jobs on multiple Print Manager Plus servers. This website can be used by anyone who has a username and password to WebAdvantage. Typically, editing print jobs would require logging into the PMP server, which wastes time. This is a relevantly easy install/setup.
Notes and Prerequisites
- Note: WebAdvantage is an add-on for your current Print Manager Plus Servers. It is necessary to have Print Manger Plus installed before moving on.
- WebAdvantage Suite users manual.
- Download the WebAdvantage Suite Evaluation.
- I will be installing WebAdvatage on a Windows Server 2008 R2, named “pmp-webadv”.
- PMP Administrator Console and the PMP SQL Instance are on a Windows Server 2008 R2 server called “pmprint”. Substitute the server name “pmprint” with your PMP SQL server as needed
Make a User for WebAdvantage Connection to pmprint
- Make an account on active directory called “pmp-webuser”. We will use this account for IIS communication with the SQL instance.
- Open your Print Manager Plus SQL Database.
- Expand “Security” and right click on “Logins”. Choose the “New Login…” option.
- A menu called “Login” will appear. In the box next to “Login name:” input the name, with your domain first.
- Under “Select a page”, choose “Server Roles”. Under “Server roles” only “public” should be checked.
- Click the “User Mapping” page. Under “Users mapped to this login” check the box next to the “PrintManager” Database. Then under “Database role membership for: Printmanager”, check “db_datareader”, “db_datawriter”, and “public”.
- Leave the “Securables” page to default.
- Under the “Status” page, ensure “Grant” is chosen under “Permission to connect to database engine”. Under “Login” ensure that “Enabled” is selected.
- Hit “Ok” and your user will be added to your Print Manager Plus logins.
- Move the installation file to “C:\workingtemp” on your WebAdvantage server (pmp-webadv).
- Double click the “Install WebAdvantage.exe” and this will start the installation.
- If you do not already have “Microsoft ASP .NET 2.0” a menu will pop up stating this is required for the WebAdvantage install. Click “Install”.
- After the installation of .NET 2.0, the main installation welcome screen will appear. Hit the “Next” button.
- Accept the terms and license agreements. Hit “Next”.
- The next menu will deal with setting up IIS. I left the settings for this menu to default. Hit the “Next” button.
- The next menu will ask to specify the SQL Server that hosts your Print Manager Plus database. In the box next to “Database Server” enter the name of this server or browse for it. I entered “pmprint” like below. Hit the next button once the name is entered.
- The next menu called “Authentication Information”, will ask to specify an account that will be used by WebAdvantage to talk to pmprint. Enter the information for the “pmp-webuser” that we made earlier.
- The next menu will ask for a destination folder to install WebAdvantage. Hit “Next” and the installation should begin.
- The installation will finish, uncheck the “Open WebAdvantage” box and hit the “Finished” button.
- Double click the “WebAdvantage Suite” icon on your desktop. A web browser will pop up.
- The page will state “No WebAdvantage Key Found”, this is ok, hit continue.
- The next page will ask to “Create a Master User Password”. Enter the password you would like to use for your “Master” account and hit “Next”.
- The next page will ask to “Select the Available Features” for WebAdvantage. For my WebAdvantage server, I unchecked everything besides “Job History Feature”. Click “Next”.
- This next page will finalize the installation. Click “Finished” when ready.
- This login screen for your WebAdvantage Suite will appear, enter your “Master” username and password.
- Once you are logged in your home screen for WebAdvantage will look like this (based on the features you chose earlier).
- At this point WebAdvantage is set up and ready to test.
- Choose an image and name it “My Test Print”.
- Choose a printer to print to. Mine will be called “NW2105 – HP LaserJet P4015dn”,
- Login to pmprint and open Print Manager Plus Administrator Console. Navigate to the “Printers” tab. Ensure the printer you want to print to is not grayed out.
- On your local machine connect to this printer and do a test print.
Note: This image is called “My Test Print.jpg”
- Go back to your pmprint server. Navigate to the “Reports” tab.
- Click the “Printer Reports” option, then choose “Detailed History by Printer”
- The report viewer options menu will appear. Under “Select Printers: Available Values:” choose the printer your did a test print on and hit the “>” button.
- For “Start of Range”, under “Enter the Date Range you wish to Report On”, click the calender icon and select todays date. For “End of Range”, check the box next to “No upper value”. Hit the “Ok” button.
- A menu called “Reports Viewer” will pop up. Under “Detailed History for \\PMPRINT\NW2105 – HP LaserJet P4015dn”, the first recorded instance was my test print. For security reasons I omitted usernames, but next to “Document”, “My Test Print.jpg” is shown.
- Now navigate to your “pmp-webadv” server and open “WebAdvantage Suite”. Navigate to “History”.
- The “History” menu will appear. Under “Printer:” choose “NW2105 – HP LaserJet P4015dn”. Under “To:” put in the next day from today. Click the “Show Jobs” refresh button.
- Under “Job Name” you will see “My Test Print.jpg”. This shows that the print job we sent was successfully recorded.
Securing the WebAdvantage Site
Create a Self Signed Certificate
- By default WebAdvantage listens to port 48111. This is “http” and is not secure.
- The default port for “http” requests is port 80. This is not secure.
- The default port for “https” requests is port 443. This is secure.
- General outline
- Create a self-signed certificate and bind the WebAdvantage site to port 443.
- Redirect all incoming “http” requests to the “https” site.
- Note: If there is a PKI set up at your company, contact the PKI administrator for a web server certificate. Otherwise, we can create a self-signed certificate (instructions below).
- On your WebAdvantage server (pmp-webadv), open the IIS Manager. Select your “PMP-WEBADV” site and choose “Server Certificates”.
- In the “Server Certificates” settings choose “Create Self-Signed Certificate…”.
- A menu will pop up that will ask you to “Specify a Friendly Name” for the certificate. I entered “SSL Cert for PMP websites” and hit “Ok”.
- Expand the “Sites” folder. Click on the “Default Web Site” and click “Bindings…”. A menu called “Site Bindings” will pop up.
- Ensure that there is an “http” binding in the “Site Bindings” menu.
- For the “PMP” site, choose “Bindings” as we did before.
- Hit the “Add…” button. For “Type:” choose “https”, for “Port:” enter “443” and for “SSL certificate” choose our “SSL Cert for PMP websites”. Hit “Ok” on both menus when done.
Set up Anonymous Authentication
- Note: Ensure that windows and integrated authentication is disabled, as our site will not load if logged in as a domain user and using IE.
- Expand the “Sites” folder.
- Click on “Default Web Site” and Click “Authentication”. Make sure “Anonymous Authentication” is the only one enabled.
- Right click “Anonymous Authentication” and hit “edit”. This will bring up a menu that will enable you to edit the anonymous authentication credentials.
- Click the “Set…” button, enter in your “pmp-webuser” credentials. Click “Ok” on both menus when finished entering user credentials.
- For the “PMP” website set the anonymous authentication credentials the same as above.
- Expand “PMP” and for “WebAdvantage” website set the anonymous authentication credentials the same as above.
Set up HTTP redirect
- Click on your “Default Web Site” and click “HTTP Redirect”.
- In “HTTP Redirect” check the box next to “Redirect requests to this destination”. In the empty box below this, enter the following information.
- Under “Redirect Behavior” check both available boxes. For “Status code:” use “Found (302)”. Click “Apply” when finished.
- Click on your “PMP” site and open “HTTP Redirect”. Check the box next to “Redirect requests to this destination” and in the box beneath put in the following instruction.
- Under “Redirect Behavior”, check the box to the left of “Only redirect requests to content in this directory (not subdirectories)”. Hit “Apply” when done.