automatically generate and export pdf without displaying text box

I use the LL18 and would like to program it to display instead of the screen preview

that automatically generate the pdf print without going through the text box; defining a new name for the file (.pdf)

how could I do?

Thanks

Dario

If you are using the .NET component you can easily use the class ExportConfiguration and the function .Export() instead of .Print().

You will also find good information about this in the following two articles:

KBTE000780: Export without user interaction using direct API
KBTE000612: Export without user interaction using OCX / VCL or .NET component