Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
gizzel123
Creator
Creator

Print Sheet Button not working in Access Point

Hi All,

I have added a Print sheet Button with the action : " Print Sheet".

But it it not working in Access Point.

Please help me out.

Thanks.

4 Replies
ashfaq_haseeb
Champion III
Champion III

Hi,

This is known thing it will not work in AJAX client.

Why not go with screenshot extension instead.

Re: Print Button not working on server

Regards

ASHFAQ

buzzy996
Master II
Master II

it's work with desktop but ajax plugin won't support ..if u need u have to use IE plugin for this.

Not applicable

hi Gizzel,

try this code....

'***************************************************'Functions creates the reports in PDF format'***************************************************sub CreateReports tempFolder = "C:\Temp" reportID = "RP01" reportName = reportID'Create the file name with path reportFile = tempFolder & "\" & reportID & "_" & reportName & ".pdf" 'print the report printReportPDF reportID, tempFolder 'Call the function 'Rename the report 'checkOutputFile reportFile, tempFolder 'Call the function'call ClearDefault() 'Call the functionend sub'***************************************************'Actual function to print the PDF format without being asked for location to save'***************************************************function printReportPDF(oReport, pdfLocation) Set WSHShell = CreateObject("WScript.Shell") WSHShell.RegWrite "HKCU\Software\CUSTPDF Writer\DefaultLocation", pdfLocation, "REG_SZ" WSHShell.RegWrite "HKCU\Software\CUSTPDF Writer\UseJobName", "1", "REG_SZ" WSHShell.RegWrite "HKCU\Software\CUSTPDF Writer\UseDefaultLocation", "1", "REG_SZ" 'QV Print ActiveDocument.PrintReport oReport, "PDFCreator",false set WSHShell = nothing end function

Not applicable

Hi Gizzel,

Print sheet on Ajax client is not supported. You must use IE plug-in for that functionality. If Ajax client  is the default client on your company, the only workaround is using the browser print options. You can read more at the help are on developer, this is what describes about it:

" Print Sheet: Prints the sheet specified by Sheet ID. (Not available as document and sheet trigger.)  This function does not work in AJAX client. "