AnsweredAssumed Answered

Printing loop

Question asked by jgm72183 on Nov 11, 2013
Latest reply on Nov 11, 2013 by philmodjunk

Summary

Printing loop

Version

12.4

Operating system version

Any

Description of the issue

We have a remote desktop setup that allows us to dial into a desktop and control that instead of fmnet over the web. (speed)
The down side of this setup is being able to print. We can redirect normal printers over remote but our users have receipt and label printers as well. The remote desktop can not handle that too well.

We had a solution. We can remote into the desktop but also have a print spooler running locally on the system. A simple file that has a loop set to go out and check the hosted files for any jobs. If it gets one it can print to the local printer with all the settings it needs. Pretty simple and seems to work for the most part.

The issue is that the simple loop seems to stop at random. When this happens it takes the user some time to spot there is an issue and most of the time a simple restart of the software seems to fix it.

Steps to reproduce the problem

Loop works for a while and catches the jobs it needs to do just fine. Then at random it will just stop the loop and be sitting there. No pattern on what job or anything. Sometimes just in the middle of 2 jobs to the same printer. Sometimes different printers. We have even seen it quit after doing about 8 jobs then sitting for about 20min. User came back and it was not running the loop.

Expected result

We want it to keep looping no matter what. Nothing should make it just stop without any error letting us know why.

Actual result

The never-ending loop ends.

Exact text of any error message(s) that appear

None being captured or shown

Configuration information

This setup allows one session to write the log of what needs to print. The looping session just goes out grabs the records that are ready, prints them to the printers needed, and then pauses for 10 sec to run again.

Workaround

We have tried flush cache in the loop to just clean it out but it seemed to take too long to the point the user would think it is not in the loop and just restart.

Outcomes