How to select a Printer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I want my report on preview to make a .pdf file.
I have pdf writer installed on my computer.
Now the manual method I am using now is that I open the report, from menu, I
select Print - Then the printer Menu I select the PDF Writer Printer. Then a
Dailog apprears where I have to Type the file name for pdf and select the
folder.

Now I am looking for a code that it can complete the following job of mine :
Open Report "Repo1"
Print the report by the selection of Printer "PDFWrite1"
The dailog for file name should be the same as Report Caption name (it
changes based on current date)
And the default folder to save will be C:\

I am able to reach till few step, but was unable to select printer.

Could any of the professional can advise. If I will be able to get this
code, That means I can easily made the pdf of my report.

Regards.
 
Back
Top