Re: directly print .doc .xls with Delphi

[ DelphiLand FAQ ]

Posted by Giovanni Caramia on April 27, 2004 at 00:36:25:

In Reply to: Re: directly print .doc .xls with Delphi posted by webmaster Guido on April 26, 2004 at 19:13:44:

Thanks Guido for replay.
... yes at least i shall do as you say

: The application opens briefly, it prints the document, and it automatically closes.

I was looking a solution that take invisible the parent application; but i think it's impossible.

: 1. Set the default printer to the pdf-printer; print the file; next set the default printer back to its previous setting. I'll try to find out if this is not too complicated.

no problem for this.

: 2. A better solution: send the document directly to the pdf-printer-application. But then this application must accept a command line parameter. I'll try to find out if that is possible.

: Can you please let me know the exact name of your pdf-printer? Is it "Gosth", as you wrote? And where can it be found?

not gosth as i wrote but Gostscript + FreeDist (or Mulps21PDF)
Do you know some other (free)solution?

I appreciate your help.

Related Articles and Replies:

[ DelphiLand FAQ ]