Cannot Print Z/X/ZZ reports

A client of ours is running Microsoft RMS without any service packs on Windows XP with Star TSP100 printers. A few days ago, they went to print a Z report and got the following message:
"Runtime error: '9' Subscript out of range."
And then the program shuts down. The batch goes through all the steps of closing, except no receipt is ever printed. When trying to reprint the Z report from the journal, this error pops up:
"An error occurred while trying to print to the specified printer. Please make sure that you have a printer installed and that it is properly configured."
This did not happen at all until a few days ago. You can print old Z reports from before the error started happening and you can print any receipt, just not these last few Z reports. I took a copy of their database back to our shop and set it up here and was able to replicate the error on a Windows 7 machine with a new printer. I tried reindexing and checking the database and I then tried upgrading the software to the latest service pack but nothing worked.
Any suggestions?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Anyone else run into this problem?
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Found the solution. Apparently the client had added pipe characters into one of the department names, and the software did not like that.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

BeanSmart.com is a site by and for consumers of financial services and advice. We are not affiliated with any of the banks, financial services or software manufacturers discussed here. All logos and trade names are the property of their respective owners.

Tax and financial advice you come across on this site is freely given by your peers and professionals on their own time and out of the kindness of their hearts. We can guarantee neither accuracy of such advice nor its applicability for your situation. Simply put, you are fully responsible for the results of using information from this site in real life situations.