NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Richard I on January 13, 2018, 04:33:37 PM

Title: Eliminating the Start Button on a NT PDF report
Post by: Richard I 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
Title: Re: Eliminating the Start Button on a NT PDF report
Post by: Bruce 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