cancel
Showing results for 
Search instead for 
Did you mean: 

Print Queue Item created via PDI always as Test Print Page

0 Kudos

Dear experts,

the PDFs sent to the print queue always have the name "Test Print Page" no matter how I set the fileName.

How can it be changed? Maybe you have a quick hint here for us?

horst.schaude may.tso

Thank you very much

Dezhi

Accepted Solutions (1)

Accepted Solutions (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Dezhi,

There is an implementation to use the provided title.
Unfortunately this implementation is not finished. 😞

If asked the developer to complete this. 🙂

Stay tuned for the next Hotfix Collection,
. Horst

Answers (1)

Answers (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Dezhi,

How do you add the PDF to the printer queue?
Maybe you can share the coding.

Thanks,
. Horst

0 Kudos

Hello Horst,

thank you for answering. I use the following Code to add PDF to the Printer Queue.

 PDF.content = this.AttachmentFolder.Document.GetFirst().FileContent.BinaryObject.content;
 PDF.fileName = Title;
 PDF.characterSetCode = "utf-8"; 
 PDF.format="pdf"; 
 PDF.mimeCode="application/pdf";

 ResponsibleUserAccountID = identity.ID;

 var DocumentToPrint = OutputManagementUtilities.CreatePrintQueueItem(ResponsibleUserAccountID, Title, NumberOfCopies, PDF, PrintQueueID);

Thanks, Dezhi

0 Kudos

Hi Horst,

as of 1808, we are now having no name of the document that is sending to the print queue, using the method CreatePrintQueueItem:

var DocumentToPrint = OutputManagementUtilities.CreatePrintQueueItem(ResponsibleUserAccountID, "test123", NumberOfCopies, PDF, PrintQueueID);

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Liu.

Sorry, but I have left the team. 😞
Furthermore this is not my special topic.

As result I am afraid you need to raise an incident on this.

Sorry,
Horst