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