• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

PS printer's default timeout limit

New Here ,
Feb 07, 2014 Feb 07, 2014

Copy link to clipboard

Copied

Is there a way to test a PostScript printer's default timeout limit?


TOPICS
Programming

Views

869

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 07, 2014 Feb 07, 2014

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 08, 2014 Feb 08, 2014

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 13, 2014 Feb 13, 2014

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 13, 2014 Feb 13, 2014

Copy link to clipboard

Copied

LATEST

thanks, abeddie, for your great answer.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines