Search found 4 matches

by jacaley
Fri Jul 18 2003
Forum: Amyuni PDF Converter (PDF Printer Driver)
Topic: Access violation with a service version 2.1
Replies: 1
Views: 4144

Access violation with a service version 2.1

I'm attempting to create pdfs within a service. This worked fine under version 1.59. When we moved to version 2.1 I'm getting an Access violation when the BeginDoc is called. When the service is created I create a PDF printer using PDFDriverInit. In separate threads when a report is requested I atta...
by jacaley
Wed Jun 04 2003
Forum: Delphi Community
Topic: Error: Cannot open PDF file
Replies: 4
Views: 19300

Multiple Print Jobs

Joan - Thanks for the reply - I figured out how to get it to work in my code. When I create the printer object in a thread I use a critical section to create, set the file options, file name and issue a begindoc before leaving the critical section. The only problem I still have is that if I've got 5...
by jacaley
Tue Jun 03 2003
Forum: Delphi Community
Topic: Error: Cannot open PDF file
Replies: 4
Views: 19300

Cannot open PDF File

Joan - thanks for your reply -

I'm only calling PDFDriverInit once - then in each thread I'm creating a new printer object and calling DriverInit (as shown in your Technical Note #01). Are you saying there is something else that needs to be done to lock the object while printing?

Thanks
John
by jacaley
Mon Jun 02 2003
Forum: Delphi Community
Topic: Error: Cannot open PDF file
Replies: 4
Views: 19300

Error: Cannot open PDF file

I'm working on a service with produces PDFs for viewing with a web browser. The service uses threads and they are pooled. I'm creating a PDF Printer when the service begins (using PDFDriverInit) and then when each thread needs to create a new PDF I create a new printer object and "attach" ...