NetTalk Central

Author Topic: Eliminating the Start Button on a NT PDF report  (Read 2281 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 381
    • View Profile
    • Email
Eliminating the Start Button on a NT PDF report
« on: January 13, 2018, 04:33:37 PM »
Hi there,
Following pushing the Start Button( as prescribed), I now have the pdf preview appearing on the Form and able to be printed...
I would really like to be able to simplify  this by:
1. eliminating the start button from the form and embedding it instead, and
2. printing the resulting PDF to the default printer automatically, without selecting the "print: on the report preview

Is  there a way please?

(I have tried calling the report from within the code but that throws an access violation error)
Many thanks
Regards,
Richard.
NT 8.71

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11175
    • View Profile
Re: Eliminating the Start Button on a NT PDF report
« Reply #1 on: January 15, 2018, 06:48:08 AM »
Hi Richard,

You can set the Start button to auto-start and set the css of the but to ' nt-hidden' to hide it.

Regarding 2, the user will always get the printer dialog, there's no way around that as far as I know.

cheers
Bruce