Normally if a device or file isn't open you would expect an error, not an indefinite hang. From your previous Email, Kevin, the device is defined as TYPE: TERMINAL. This should be HFS, not TERMINAL. But I doubt this relates to the problem.

Since TIU prints in the background I would suggest using some simple test of background printing to troubleshoot. You say it works from FileMan. Does it work when queued from FileMan?

Lloyd

----- Original Message ----- From: "Kevin Toppenberg" <[EMAIL PROTECTED]>
To: "Hardhats Sourceforge" <hardhats-members@lists.sourceforge.net>
Sent: Wednesday, January 12, 2005 12:34 PM
Subject: [Hardhats-members] Printer IO problems



Well, as per my other post, I thought I had the
printers working.  In fact they do work when I print
reports from fileman.  But they are not working with
the TIU package properly, specifically the option:
TIUP PRINT PROGRESS NOTES, which is an action entry
that goes to MAIN^TIUPRD()

When I trace through this, I find that I am hanging at
the line:
 U IO

When VistA gets to this point, it hangs indefinately
(until I stop the job with MUPIP stop xxxx)

By inserting a line to write out IO first, I find that
IO="/tmp/PringJobFile1234.dat"  -- I.e. the file that
will eventually be sent to the linux print system
after being filled with data.

So this must be a problem with the way my DEVICE file
entry is set up... specifically the way I am setting
up IO.

Again as a review, in the PRE-OPEN EXECUTE field
(.19.7) in the DEVICE file, I call a funtion that
changes the value of IO to the filename I want.  I
thought that perhaps I needed to OPEN IO, so I added
that, with no improvement.


So, what would cause M to hang on a USE IO statement?

Thanks
Kevin






__________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com




------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members




------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to