Copy link to clipboard
Copied
Is there a way to test a PostScript printer's default timeout limit?
Copy link to clipboard
Copied
To see what the job timeout value is send the below 5 lines to your printer :
%!
/Helvetica 72 selectfont
72 720 moveto
statusdict begin waittimeout ( ) cvs show
showpage
To test it with an infinite loop and see if it times out send the below 5 lines:
%!
true
{
(X) =
} loop
You could add a timer using
realtime
Copy link to clipboard
Copied
Note that you can modify the default value by setting the appropriate system parameter, e.g.:
%!
<<WaitTimeout 120>> setsystemparams
If this is persistent over power cycles depends on the interpreter's implementation.
Helge
Copy link to clipboard
Copied
Is there a way to programmatically get the value of WaitTimeout
how about programmatically to test that value?
(I understand that WaitTimeout is different from JobTimeout ...)
Thanks
Copy link to clipboard
Copied
thanks, abeddie, for your great answer.