We are trying to print to a PDF printer in an unattended application, and the filename that the PDF printer chooses is based on the Document Name that is sent to the printer.
When printing in VB6, the document name that is sent to the printer is the title of the application (App.title). So, one way that you can get this document name to be something that we like is to temporarily change App.title to the name that you'd like to use.
The problem with this is that App.title is limited to 40 characters. So, if the document name is longer than that, we're kind of out of luck.
So, any way to set the Document Name in a way that doesn't have this limitation (like by using an API call)?
Thanks!