BES Web Reports: Enable PDF Reports - Part 2/2
| 0 Votes |
Description
| BES Web Reports now has the ability to generate PDF reports. PDFs can be sent by clicking the "Email Report" link or by setting the "PDF" format option when creating or editing a scheduled activity. This feature is disabled by default. Use this task to enable this feature on the server hosting the BESWebReportsServer service. This task will take up to the following actions:
Note: Client machines may briefly display DOS windows during action execution. Important Note: This is the second in a series of two tasks that enable PDF email reports. Depending on client system configuration, this task may become relevant after client machines have completed and been restarted. Client machines which do not become relevant for this task require no further action to enable PDF email reports. |
Property Details
| 459 | |
| BES Web Reports: Enable PDF Reports - Part 2/2 | |
| Support | |
| 0 | |
| BigFix | |
| <Unspecified> | |
| <Unspecified> | |
| Reports PDF BES partOneLink innerHTML | |
| besSupport on 10/17/2012 1:15:32 PM | |
| danielheth on 10/17/2012 1:15:32 PM | |
| 6709 Views / 14 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
| Used in 3 fixlets | * Results in a true/false |
| Used in 2 fixlets | * Results in a true/false |
| Used in 1 fixlet | * Results in a true/false |
| Used in 1 fixlet | * Results in a true/false |
Actions
Action 1
http://support.bigfix.com/product/documents/BESWebReports-7.0.pdf
Action 2
http://support.bigfix.com/documents/Web_Reports_PDF/webreports_pdf.html
Action 3
http://msdn2.microsoft.com/en-us/ie/aa740486.aspx
Action 4
http://pages.cs.wisc.edu/~ghost/doc/GPL/gpl860.htm
Action 5
http://www.adobe.com/support/flashplayer/
Action 6
// Set up a param for SID of Web Reports user
parameter "WRUser" = "{((if (it = "LocalSystem") then ("S-1-5-18") else if (it = "LocalService") then ("S-1-5-19") else if (it = "NetworkService") then ("S-1-5-20") else if (it contains "@") then (component string of sid of security account (it)) else (string value of select (("SID from Win32_UserAccount where NAME='" & following text of last "\" of it & "' and DOMAIN='" & ((if it = "." then computer name else it) of preceding text of last "\" of it) & "'") of ((login account of service "BESWebReportsServer") as string)) of wmi)) of login account of service "BESWebReportsServer")}"
// Add the printer (no restart required)
delete __appendfile
delete add_ps_printer.bat
appendfile @ECHO OFF
appendfile rundll32 printui.dll,PrintUIEntry /if /b "BES Web Reports Printer" /f %windir%\inf\ntprint.inf /r "{((value "EnterpriseServerFolder" of key "HKLM\SOFTWARE\BigFix\Enterprise Server" of x32 registry) as string) & "BESReportsData\ArchiveData\__pdf\out.ps"}" /m "{if name of operating system = "Win2003" then "Apple Color LW 12/660 PS" else if (((version of registration server >= "7.2") AND (((name of it = "WinVista" AND product type of it != nt workstation product type) OR (name of it = "Win2008"))) AND (exists regapp "iexplore.exe")) of operating system) then "Canon PS-NX90" else "Xerox Phaser 6180MFP-D PS"}"
move __appendfile add_ps_printer.bat
waithidden add_ps_printer.bat
// Settings from BESMakePDF to make Win2k8 pick up the printer right away
regset "[{"HKEY_USERS\" & (parameter "WRUser") & "\Software\Microsoft\Windows NT\CurrentVersion\Windows"}]" "Device"="BES Web Reports Printer,winspool,Ne00:"
// Set the last of the regkeys to enable the feature
if {NOT exists key "HKLM\Software\BigFix\Enterprise Server\BESReports" whose (value "PDFEnable" of it = "1") of registry}
regset "[HKEY_LOCAL_MACHINE\Software\BigFix\Enterprise Server\BESReports]" "PDFEnable"="1"
endif
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |

