Scripting function SetJobDescr in StreamServe 5.6.2

AndreasAÜW
edited November 28, 2023 in Exstream #1

Hi,

we are trying to set the print job name in windows spool by using the function SetJobDescr. We can see the job name in the log output, but not in the spooler of the printer.
Any help would be much appreciated.
StreamServe is version 5.6.2 with cumulative 4 applied.

Thanks & kind regards
Andreas

Answers

  • Hello Andreas,

    pls. try if you have the same problem with function SetJobOwner.

    regards,

  • Hi be_informed1,

    thanks for your reply, but the owner displayed in windows spool wont change either.
    I was thinking it maybe is a driver related issue, but editing the PCL driver did not help so far…

    Regards
    Andreas

  • Hello Andreas,

    this seems to be a bug or a windows behave. You can try to set your function on different places (Runtime Job Before, Message and Process before…). In addtional you can dump your variables to textfile and check if the values will be filled or not.

    regards,

  • Hi be_informed1,

    I already tried putting it at different places, didn't work either. When putting it in the runtime I at least could see the log output.
    Which variable should I dump or log? Is there a specific global StreamServe variable that's set by SetJobDescr()?

    Thanks & regards
    Andreas

  • Hello AndreasAUW,

    Did you find a solution about this ?

    I get the same problem, I need to write in the SHD and SPL files an other owner then the windows user who has started the streamserve service.

    The help says : "You also need to specify the keyword SetJobOwner on the Custom tab for the output connector."

    Is it the custom tab in the Runtime Ouput Connector Settings ?

    Thanks for help

    Have a nice day