Printing PDF's from ProIV
Posted 31 January 2005 - 07:34 PM
#A = CLIENT.EXECUTE('Acrord32.exe','','','SW_SHOWMINIMIZED')
FOR #Q = 1 TO 3
#STAT = DDE_EXECUTE('ACROVIEW','CONTROL','[DocOpen(' + $FILES(#Q) + ')]')
#PRINT = DDE_EXECUTE('ACROVIEW','CONTROL','[FilePrintSilent(' + $FILES(#Q) + ')]')
#CLOSE = DDE_EXECUTE('ACROVIEW','CONTROL','[DocClose(' + $FILES(#Q) + ')]')
Edited by NeilIV, 31 January 2005 - 07:35 PM.
Posted 01 February 2005 - 09:59 AM
Generate an XML report in PROIV, access it via a task in Concerto, use XSL / FOP to generate the PDF.
That way you pass off launching the app to the system that accesses the concerto url.
You are using a standard transform spec to define the PDF
It works really well
Posted 01 February 2005 - 07:22 PM
The only thing they ever see is the brief adobe startup screen ( if abobe is not already open). They never see the documents load, they never have the print window pop-up, it goes to their default printer, and closes each doc. Abobe is just minimized below on their toolbar. I can then run some code that closes the Adobe app.
Not really sure where this is clunky.
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users