Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Acrobat Distiller: start if not running

Dear All,

How to check if Acrobat Distiller is running and how to start it before
output?

Filip

'Save as
' If NOT IsRunning("Acrobat Distiller") then start Acrobat
Distiller
strPath = FindOutputPath(InterfaceConn, PresentProjectId)
'set printer to print as POSTSCRIPT (PS-file in sub-folder 'IN')
'and the Acrobat-distiller will periodically convert these files
into pdf-files in sub-folder 'out'
xlApp.ActivePrinter = FindProjectPropertyValue(InterfaceConn,
PresentProjectId, "PDFWriter")
mysheet.PrintOut Copies:=1, Collate:=True, printtofile:=True,
prtofilename:=strPath & "\in\" & strSaveAsName & strOrdClientCode & ".ps"



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Acrobat Distiller: start if not running

Filips,
Look into GetObject & CreateObject.

NickHK

"Filips Benoit" wrote in message
...
Dear All,

How to check if Acrobat Distiller is running and how to start it before
output?

Filip

'Save as
' If NOT IsRunning("Acrobat Distiller") then start

Acrobat
Distiller
strPath = FindOutputPath(InterfaceConn, PresentProjectId)
'set printer to print as POSTSCRIPT (PS-file in sub-folder 'IN')
'and the Acrobat-distiller will periodically convert these files
into pdf-files in sub-folder 'out'
xlApp.ActivePrinter = FindProjectPropertyValue(InterfaceConn,
PresentProjectId, "PDFWriter")
mysheet.PrintOut Copies:=1, Collate:=True, printtofile:=True,
prtofilename:=strPath & "\in\" & strSaveAsName & strOrdClientCode & ".ps"





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Acrobat Distiller: start if not running

If you are using the distiller print driver, you shouldn't have to worry
about it.

--
Regards,
Tom Ogilvy


"Filips Benoit" wrote in message
...
Dear All,

How to check if Acrobat Distiller is running and how to start it before
output?

Filip

'Save as
' If NOT IsRunning("Acrobat Distiller") then start

Acrobat
Distiller
strPath = FindOutputPath(InterfaceConn, PresentProjectId)
'set printer to print as POSTSCRIPT (PS-file in sub-folder 'IN')
'and the Acrobat-distiller will periodically convert these files
into pdf-files in sub-folder 'out'
xlApp.ActivePrinter = FindProjectPropertyValue(InterfaceConn,
PresentProjectId, "PDFWriter")
mysheet.PrintOut Copies:=1, Collate:=True, printtofile:=True,
prtofilename:=strPath & "\in\" & strSaveAsName & strOrdClientCode & ".ps"





Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing Multiple Sheets to Acrobat Distiller Kaval[_2_] Excel Programming 1 May 10th 04 11:20 PM
Problems with Excel XP SP2 and Acrobat Distiller Kevin Hammond Excel Programming 0 March 2nd 04 04:07 PM
How do I determine the Acrobat Distiller codename? Jeremy Gollehon[_2_] Excel Programming 2 October 14th 03 10:13 PM
How to detect Acrobat Distiller open Heiko Excel Programming 1 August 6th 03 02:27 AM
How to detect Acrobat Distiller open Bill Li Excel Programming 0 August 6th 03 02:25 AM


All times are GMT +1. The time now is 04:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"