Silent printing of documents through the sumatrapdf.exe command line cannot modify the parameter 'documentName'
Silent printing of documents through the sumatrapdf.exe command line cannot modify the parameter 'documentName'
No nor can Ghostscript generally via CLI which I suggest is always better as designed for printing which should NEVER EVER be combined with silent as then you fail to see fails.
This is a Windows error as SumatraPDF does NOT CONTROL PRINTING simply ask (handover) for Windows PAI to rasterise the screen outputs via WinPrint. Hence the suggestion to use a PDF 2 Print Application and the ONLY one of value is GhostScript (with commercial support) since they are almost as old as Adobe in PDF PRINT arena.
GhostScript will advise DO NOT use mswinpr2 device driver, as it will be just like SumatraPDF WinPrint methods.
You will probably need to edit the print stream see https://stackoverflow.com/questions/12348864/how-to-change-ghostscript-output-file-in-printer-spooler
related to https://github.com/sumatrapdfreader/sumatrapdf/issues/2166#top