Skip to main content
Participating Frequently
April 18, 2018
Answered

When using PDFLPrintDoc() on Mac, where is the proper place to store the name of document being printed?

  • April 18, 2018
  • 1 reply
  • 551 views

On Windows, this can be stored within the inFileNameW field of _t_PDFLPrintUserParams. On Mac, however, this field does not exist. Where then, should the name of the document be stored such that it appears properly in the print queue?

Thanks

This topic has been closed for replies.
Correct answer lrosenth

You cannot specify your own for Mac – it always uses the filename. Please contact your PDFL licensor (I assume Datalogics) and recommend an improvement.

1 reply

lrosenth
Adobe Employee
lrosenthCorrect answer
Adobe Employee
April 19, 2018

You cannot specify your own for Mac – it always uses the filename. Please contact your PDFL licensor (I assume Datalogics) and recommend an improvement.

Participating Frequently
April 19, 2018

lrosenth In this case, it is not using the filename. When the document is printed, "/TempPDoc" appears as the name in the queue regardless of what the filename is. Clearly the filename string must be stored somewhere in the parameters passed to PDFLPrintDoc() in order for it to populate this field correctly in the print queue, even if it is always supposed to use the filename. My question is, where precisely must this filename be stored to ensure the name of the document in the print queue accurately reflects the filename of the document being printed? To be clear, I am not trying to assign some filename to the document in the queue which is different from the name of the document in the software envoking PDFLPrintDoc(); they should be the same. 

lrosenth
Adobe Employee
Adobe Employee
April 19, 2018

That name is coming from the pathname of the document – which appears to be a temp document in your case.

If you want a specific name – then save that temp doc with a real nam…