Printtopdf Function - "Copies" Option Unresponsive

Hello Pan X Experts!

The following immediately prints one copy to my default printer.

printtopdf “”,“Printer”,“”,“currentrecord”,“true”,“orientation”,“portrait”,“Form”,“Ship Label B”,“Copies”,2

However, I would like it to print 2 copies. As you can see, I have attempted to do so by adding the “Copies” option. But, unfortunately, this isn’t working for me.

How might I get this function to print 2 copies?

Thank you!

Drop the “Copies”,2 and copy the statement below?

You’ve found a bug. Currently, the “copies” option doesn’t work when using the default printer. I’ve fixed this for the next release.

For now, there are two possible solutions. One would be to repeat the printtopdf statement, as @BruceDeB suggested. The other would be to explicitly specify the printer name. I have verified that it works if you supply the printer name instead of leaving it blank. For example, like this:

printtopdf “”,“Printer”,info("printer"),“currentrecord”,“true”,“orientation”,“portrait”,“Form”,“Ship Label B”,“Copies”,2

Thank you.

Thank you Bruce.