Hi, All
Is it possible now from B4J Java based app to use Microsoft Office automation ?
I need to automate the printing files to .PDF, now FreeOffice software helps to save any file to .PDF, but all is manually, with pre-formatting to A4 paper format.
Long-long ago i used MS VisualBasic 5.0 for a console app (with command line) that used:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
to open a file in Excel or Word and send to a printer.
Now the task is wider - select A4-paper, margins, choose a printer (PDF-printer) or export to PDF - when Adobe software is installed - such OLE integraton to MS Office is OK.
Any suggestion ?
			
			Is it possible now from B4J Java based app to use Microsoft Office automation ?
I need to automate the printing files to .PDF, now FreeOffice software helps to save any file to .PDF, but all is manually, with pre-formatting to A4 paper format.
Long-long ago i used MS VisualBasic 5.0 for a console app (with command line) that used:
			
				B4X:
			
		
		
		Reference=*\G{00020430-0000-0000-C000-000000000046}#2.0#0#C:\WINDOWS\system32\stdole2.tlb#OLE AutomationNow the task is wider - select A4-paper, margins, choose a printer (PDF-printer) or export to PDF - when Adobe software is installed - such OLE integraton to MS Office is OK.
Any suggestion ?
 
				 
 
		 
 
		 
						
					 
 
		 
 
		 
 
		 
 
		