Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 gizzel123
		
			gizzel123
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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.
 ashfaq_haseeb
		
			ashfaq_haseeb
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		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
		
			buzzy996
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		it's work with desktop but ajax plugin won't support ..if u need u have to use IE plugin for this.
 
					
				
		
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
 
					
				
		
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. "
