Previous Thread
Next Thread
Print Thread
ATE Printing issue in 7.0.1760.0 EL7 #37401 27 Jun 24 09:35 PM
Joined: Aug 2016
Posts: 371
J
John Andreasen Offline OP
Member
OP Offline
Member
J
Joined: Aug 2016
Posts: 371
Hi Jack,

I can't seem to get ATE printing to work at all after updating the A-Shell server version to 7.0.1760.0 (EL7). Let me know if there is anything I could provide to help pin the issue down.

Thanks,
John Andreasen
Diversified Data Software

Last edited by John Andreasen; 27 Jun 24 09:35 PM.
Re: ATE Printing issue in 7.0.1760.0 EL7 [Re: John Andreasen] #37407 28 Jun 24 05:21 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
My usual first go-to when debugging print problems is:
Code
.SET TRACE LP ON
.PRINT AUXLOC=SYS:ERSATZ.INI

The above assumes that you have a printer init file called AUXLOC containing DEVICE=AUXLOC: and uses SYS:ERSATZ.INI as just an arbitrary sample print file. This should result in the system message window opening up and a bunch of traces appearing. The details will vary depending on your default ATE printer and environment but it should give us enough information to start tracking it down. (Feel free to just post the entire output here.)

Re: ATE Printing issue in 7.0.1760.0 EL7 [Re: John Andreasen] #37409 28 Jun 24 06:06 PM
Joined: Aug 2016
Posts: 371
J
John Andreasen Offline OP
Member
OP Offline
Member
J
Joined: Aug 2016
Posts: 371
Hi Jack,

Thanks for the tip as it helped me realize that the problem is not actually in the ATE printing itself, but rather an operation done by our print SBX that handles it.
So, it is performing an APPEND operation like this to append the prefix and suffix files to the printout.
Code
APPEND /I DSK29:TSKAAB.0G5[170,76]=PRINT:INIT.P52,DSK22:TSKAAB.007[170,77],PRINT:RESET.P52

With APPEND version 2.1(116), this operation completes without an issue.

With APPEND version 2.2(118), it generates this output:
-- Skipping non-existent DSK22:TSKAAB.007[170
-- Skipping non-existent 77]

So, it would appear that it is treating the commas within the PPN specification as filename separators.

Thanks,
John Andreasen
Diversified Data Software

Re: ATE Printing issue in 7.0.1760.0 EL7 [Re: John Andreasen] #37412 28 Jun 24 06:32 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Yikes! The 117 edit did "clean up" the command line parsing, replacing a lot of individual IFs and INSTRs and subscripts with the SOSFUNC: routine Fn'Explode'Ary(). It is passing the FXF_QUOTE flag, but that doesn't do much good if arguments aren't quoted (which does solve the problem, but wouldn't be normal or expected for DEV:FILE.EXE[P,PN] filespecs). I think I'm going to add another flag to that library function to ignore commas within [xxx,xxx]. Stay tuned...

Re: ATE Printing issue in 7.0.1760.0 EL7 [Re: John Andreasen] #37413 28 Jun 24 07:04 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Ok, I think the problem is resolved in APPEND.LIT 2.2(119) which you can get via UPDCUR.

Re: ATE Printing issue in 7.0.1760.0 EL7 [Re: John Andreasen] #37415 28 Jun 24 07:25 PM
Joined: Aug 2016
Posts: 371
J
John Andreasen Offline OP
Member
OP Offline
Member
J
Joined: Aug 2016
Posts: 371
Hi Jack, This seems to have fixed the issue. Thanks!


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3