Posted by webmaster Guido on June 08, In Reply to: HOW Do I print a PDF File through ShellExecute posted by Todd Jasper on June Could anyone please tell me why print using Shellexecute does not bring up the PrintDialog. This is the command used. Shellexecute(0, ‘Print’. I am trying to maintain some code that I did not write. Stepping through the code I found that it is the following line that is causing the problem.
|Published (Last):||4 September 2006|
|PDF File Size:||19.68 Mb|
|ePub File Size:||12.99 Mb|
|Price:||Free* [*Free Regsitration Required]|
Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
ShellExecute – print a PDF and then close the Acrobat Reader
It seems you need to seek different means to accomplish this. Could anyone please tell me why print using Shellexecute does not bring up the PrintDialog.
As a fallback I do the normal print as above if Foxit is not arround. You cannot expect to exert control using ShellExecute. Gary William Delphi Developer. Register now while it’s still free! TForm1 ; begin inherited Create; FController: That was indeed the problem.
But I cant do the same thing in PB7. The monitoring does not give any results. It aims to improve the security of Microsoft Windows by limiting application software That would be a good weekend project.
I also want to avoid to create a new process and then terminate or things like that. I’ve already asked the mantainance CD to italian Sybase support but they know nothing about it. It would also be OK if Adobe Reader closes after printing. I have also installed DBI and it works fine with the Sybase drivers which i have installed. Trend Micro Password Manager could have exposed all of your passwords to hackers Posting Guidelines Promoting, selling, recruiting, coursework and thesis posting is forbidden.
: implement the printto command?
I was using 2 extra columns to modify something from client. It’s easy to join and it’s free. But the problem is, that Adobe always opens pront doing this not opening the PDF, but just appearing as “empty”. Sign up using Facebook. I tried it- but nothing gets printed.
I was using powerbuilder4. Any suggestions would be helpful procedure DocPrinting DocName: Sorry to re-post again, Hi, Dean: I try pront picture to database and import it to picture control.
This means if any app supports it, it’s probably a vendor extension. Close this window and log in. When i tried to install the Msql-Mysql-modules Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Any help from those of you who have tried. Primt PrintDialog delphi What you posted basically works except for a couple of problem issues.
Do you have a proxy for the remote component? The demo project that came with the printer driver has the following to give events but not sure if it is the best code: Mark Redma Delphi Developer.
Fri, 19 Jun I’m waiting for the white paper entitled “Finding Employment in the Era of Occupational Irrelevancy”. I am dailing shellexeecute ISP. I will also have a go and see if I can work things out, I didnt think this PDF printing would be such an issue. If so, what does it say?