delphi-印刷给PDF,并用Microsoft打印到PDF

发布于 2025-02-10 14:33:34 字数 259 浏览 1 评论 0原文

我得到了一个线程,可以在printer.begindocprinter.enddoc和on thread.onternike.onterminate我调用shellexecute 打开PDF Flie,但尚未完成。

当我10秒后打开它时,一切都可以。

有没有办法知道何时准备好PDF文件。我想它应该完成打印?还是printspooler?

I got a thread that create pages beetween printer.beginDoc, and printer.endDoc and on thread.onTerminate i call shellExecute to open the pdf flie, and it is not complete.

When i open it after 10 seconds, everything is ok.

Is there a way to know when the pdf file is ready. I suppose that it should finish printing? Or maybe printSpooler?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文