Multiinstanz PDFCreator

Hallo,

ich arbeite an einem Projekt in dem es notwendig ist aus einer Excel Arbeitsmappe ein PDF File zu erstellen. Durch allerhand Vorlagen aus dem INet habe ich eine Prozedur in VBA die mir ein PDF File erstellt (viele einzelne PDFs, und am ende ein .combine)

Das Ganze läuft automatisch und wird innerhalb der Arbeitsmappe, beim öffnen dieser, ausgeführt.

Dabei ergibt sich folgendes Problem: Es gibt Fälle da öffnen sich 3-xx Arbeitsmappen die den "PDF Code" inne habe und schießen sich scheinbar gegenseitig ab. Meine Frage ist daher: Kann man den PDF-Creator dazu  bringen das er sich in mehreren Instanzen aufrufen lässt?

Danke & Gruß
Strasser

 

 

 

Nein. Das wäre nicht möglich. Es gibt (im Augenblick) nur einen Drucker. Würden mehrere PDFCreator Instanzen laufen gäbe es ein heilloses Durcheinander. Überprüfe doch vorher ob eine Instanz läuft.

If I understand that correctly with my limited German knowledge, I can't allow more than one of my Excel files/VBA programs to simultaneously print to PDF Creator.

If the first job is still open in Excel file 1, then when I initialize a PDFCreator job from Excel file 2, it fails to initialize.

Could there be some options here:

1. Keep trying to start the PDF job. If it fails, wait and try again a second or two later. If it fails too many times; abort the printing.

2. Is it possible, if PDF creator is already started, to simply add prints to an existing queue?  How would I code this in VBA? (I'm having difficulty understanding the use of the configuration options that are rather lightly (for me) documented in the help file)

Thank you

Andrew

 

Hallo! Da ich ein ähnliches Problem habe, wüsste ich gerne, wie es möglich ist zu prüfen, ob bereits eine Instanz des PDF Creators läuft.

 

Danke,

Alexander