Hello
I would deeply appreciate it if anyone could assist me. This logic worked in previous version for update to Adobe xi seemed to break it.
I am getting error 5893 "The automation server for AcroExch.App is not registered properly".
I've googled this error repeatedly but cannot find an answer. The issue occurs during the create statement.
I am using OpenEdge version 10 - character mode.
DEFINE VARIABLE g_comhAcroExchApp AS COM-HANDLE NO-UNDO.
CREATE "AcroExch.App" g_comhAcroExchApp NO-ERROR.
full code attached.
Thanks in advance for any help anyone can provide.
Jim
Attachment | Size |
---|---|
Printpdf.p | 3.79 KB |
Comments
HiThere are many ways to
Hi
There are many ways to print a pdf file; as far as I'm concerned I would not go with Adobe reader.
Many printers support printing directly pdf, for such printers you can simply do:
For postscript printers, first convert the pdf to ps then send it to the printer the same way:
(using pdf2ps from the ghostscript package)
This should cover most of the professional printers, or more basic printers connected to a print server understanding pdf (like CUPS) or ps.
To print to a locally attached printer:
* if it supports pdf or ps: see above
* if not, you can still print using ghostscript's gsprint (http://pages.cs.wisc.edu/~ghost/gsview/gsprint.htm) or directly ghostscript, which as a bunch a command line parameters to control the output.
++
Jice
Printpdf.p
I'd love to try this, and I do have an application for it, but I see a couple of includes referenced which you did not provide.
First, did you manage to find a resolution - I see you did not get an answer here.
Second, can I use the program? I'm trying to do an OO version, but the automation solution might actually fit better.
Thanks,
Paul Bouscaren