Previous Thread
Next Thread
Print Thread
PDFX 6.0.321.0 ATE crash #1597 12 Sep 17 10:18 AM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
I'm trying to get ATE to work with PDFX 6 (the version bundled with the ATE installer), and receiving a

Code
Visual C++ Runtime Library - 
  Runtime Error!
  Program: C:\ATE\bin\ashw32.exe
  abnormal program termination
This occurs before PDFX ever starts to generate the PDF. This same code works with the previous PDFX-3


Stephen Funkhouser
Diversified Data Solutions
Re: PDFX 6.0.321.0 ATE crash #1598 12 Sep 17 12:06 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
Can you email me a sample print file? I'm guessing it's related to a specific directive or set/order of directives.

Re: PDFX 6.0.321.0 ATE crash #1599 12 Sep 17 12:54 PM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
Sent


Stephen Funkhouser
Diversified Data Solutions
Re: PDFX 6.0.321.0 ATE crash #1600 12 Sep 17 03:06 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
Mysterious. I had to change the Save.FullFileName spec to an equivalent one under my Users directory, but it prints fine here with either A-Shell/Windows or ATE 6.4.1554.4 and PDF-XChange Standard V6 printer 6.0.321.

Maybe if you turn the LP traces on we can narrow down the location of where it crashes?

Re: PDFX 6.0.321.0 ATE crash #1601 12 Sep 17 04:58 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
Another possibility would be to try the V5 version (aka PDF-XChange Printer 2012 ). We didn't do anything special to support the V6 version which works similarly to the V5 version. (The V5 version is totally different in the way it operates from the V3 version, but A-Shell and ATE 6.4 should recognize and support either of them.)

Re: PDFX 6.0.321.0 ATE crash #1602 12 Sep 17 08:53 PM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
I haven't tested it yet. John A had to fallback on V5 version, and it does work.

I'll get you the traces first thing in the morning


Stephen Funkhouser
Diversified Data Solutions
Re: PDFX 6.0.321.0 ATE crash #1603 13 Sep 17 12:16 PM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
Here are the ATE LP traces
Code
0 12:16:25 <TELNET:ATEPRT> Trace: EZSPL SPL options: PON=0, TPA=0, AON=0, OPT=1, tbl=0
1 12:16:25 <TELNET:ATEPRT> Trace: EZSPL prv=0, pon=0, tpa=0, sw=0x140088, options=0x0, guiflags=1621
2 12:16:25 <TELNET:ATEPRT> Trace: EZSPL preview_req = 0, print_req = 1, switches = 1310856 (140088)
3 12:16:25 <TELNET:ATEPRT> Trace: EZSPL calling fspool, ptr = PDF, switches = 1310856 (140088)
SPOOL file=C:\ATE\Cache\tskaab.000, ptr=PDF, switches=1310856, copies=1, form=, totpages=0
   prefix=, suffix=, overlay=
6 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : DEVICE=PDF-XChange
7 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : DELETE=OFF
8 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : PASSTHROUGH=OFF
9 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : PITCH=AUTO
10 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : CPP=80,AUTO
11 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : LPP=66
12 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : TMARGIN=        1
13 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : LMARGIN=        1
14 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : XORIGIN=360
15 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : YORIGIN=360
16 12:16:25 <TELNET:ATEPRT> Trace: PDF.INI : NOABORTDLG=ON
lpp=66, cpp=80, cppw=-1, width=0, tmar=1, lmar=1, fnh=-9999, fnw=0, land=0, flags=0xd0005
Using alternate PDFX printer matching logic for PDF-XCHANGE and client ()
Comparing names 'PDF-XCHANGE' (and '') to 'Send To OneNote 2016'
Comparing names 'PDF-XCHANGE' (and '') to 'PDFCreator'
Comparing names 'PDF-XCHANGE' (and '') to 'PDF-XChange Standard V6'
Comparing names 'PDF-XCHANGE' (and '') to 'PDF-XChange Standard V6'
Comparing names 'PDF-XCHANGE' (and '') to 'PDF-XChange Standard V6'
Comparing names 'PDF-XCHANGE' (and '') to 'PDF-XChange Standard V6'
Comparing names 'PDF-XCHANGE' (and '') to 'PDF-XChange Standard V6'
Comparing names 'PDF-XCHANGE' (and '') to 'PDF-XChange Standard V6'
Printer found
Winptr dvr = , name = PDF-XChange Standard V6, port = , Passthrough = OFF
29 12:16:25 <TELNET:ATEPRT> Retrieving handle to printer [PDF-XCHANGE STANDARD V6] (for copies/orientation)...
30 12:16:25 <TELNET:ATEPRT> [OK: hPrinter=15aabe4]
31 12:16:25 <TELNET:ATEPRT> DEVMODE Device:PDF-XChange Standard V6, Ver:1281, Size:220, Orientation:1
32 12:16:25 <TELNET:ATEPRT> ClosePrinter(15aabe4)
Pre scan file...
34 12:16:25 <TELNET:ATEPRT> Longest line = 133
Requesting printer DC for PDF-XCHANGE STANDARD V6 using devmode 16df888


Stephen Funkhouser
Diversified Data Solutions
Re: PDFX 6.0.321.0 ATE crash #1604 13 Sep 17 01:07 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
That's basically what I get, except here it continues on after the "Requesting printer DC..."

Code
Printer found
Winptr dvr = , name = PDF-XChange Standard V6, port = , Passthrough = ON
20 10:52:14 <PRINT:2f35> [OK: hPrinter=1ad2abc]
Winptr dvr = , name = PDF-XChange Standard V6, port = , Passthrough = OFF
50 10:53:48 <PRINT:2f35> Retrieving handle to printer [PDF-XCHANGE STANDARD V6] (for copies/orientation)...
51 10:53:48 <PRINT:2f35> [OK: hPrinter=1ad2cb4]
52 10:53:48 <PRINT:2f35> DEVMODE Device:PDF-XChange Standard V6, Ver:1281, Size:220, Orientation:1
53 10:53:48 <PRINT:2f35> ClosePrinter(1ad2cb4)
Pre scan file...
55 10:53:49 <PRINT:2f35> Longest line = 153
Requesting printer DC for PDF-XCHANGE STANDARD V6 using devmode 1a7bc50
57 10:53:49 <PRINT:2f35> Initial page size: 2480 x 3508 pixels
58 10:53:49 <PRINT:2f35> Retrieving handle to printer [PDF-XCHANGE STANDARD V6] (for duplex/paper setup)...
59 10:53:49 <PRINT:2f35> [OK: hPrinter=1ad3344]
60 10:53:49 <PRINT:2f35> DEVMODE Device:PDF-XChange Standard V6, Ver:1281, Size:220, Extra:11324, bin=0, duplex=1, paper=1, orient=1, copies=1, dmFields=0x10c13
StartDoc(f92105fb) ok
62 10:53:49 <PRINT:2f35> Final page size: 2480 x 3508 pixels (300 x 300 dpi); print area: 0,0,2480,3508
Final adjusted auto pitch font: face=, ht=50, wd av/mx=28/35 pix (300 dpi), wt=400
StartPage(f92105fb) (Page 1) ok
EndPage(f92105fb) ok
EndDoc(f92105fb) ok
DeleteDC(f92105fb) (PDF5)
68 10:53:49 <PRINT:2f35> ClosePrinter(1ad3344)
69 10:53:49 <PRINT:2f35> return from x_ezspl()
In looking through the code, I have a suspicion that maybe there is a dependency on the existence of the V5 printer having been previously installed on the PC in question. I tried uninstalling mine, but I'm not 100% sure that the uninstall has removed all the pieces. Do you happen to know if know if the problem occurs if both the V5 and V6 drivers are installed?

This may require some further investigation on my end. But as of this point, I would say that A-Shell 6.4 does not (necessarily) support the PDFX V6 driver, and until that is resolved, you should stick with the V5 driver. (Note that I'm not aware of any particular advantages to the V6 driver, and certainly there are no new features exposed, but obviously it would be preferable to support the latest.)

Re: PDFX 6.0.321.0 ATE crash #1605 13 Sep 17 01:19 PM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
If that's the case when you get a minute can you provide an ATE-PDFX 5 installer.

I'll let you know if installing the V5 driver fixes it.


Stephen Funkhouser
Diversified Data Solutions
Re: PDFX 6.0.321.0 ATE crash #1606 13 Sep 17 02:57 PM
Joined: Nov 2006
Posts: 2,192
S
Stephen Funkhouser Online Content OP
Member
OP Online Content
Member
S
Joined: Nov 2006
Posts: 2,192
I downgraded to V5 and it works.


Stephen Funkhouser
Diversified Data Solutions
Re: PDFX 6.0.321.0 ATE crash #1607 13 Sep 17 03:11 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
My real question was whether installing the V5 driver also makes the V6 driver work.

Re: PDFX 6.0.321.0 ATE crash #1608 13 Sep 17 03:47 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
Actually I think I've just confirmed that in a virgin virtual machine. I first installed just the V6 driver and got the same results you did (crash). Then I installed the V5 driver and repeated the test (still requesting the V6 printer) and it works.

Furthermore, it is now apparent to me that while it may be using the "front door" of the V6 driver, it is actually generating the PDF using the same internal code as the V5 driver uses. (The generated files are the same, and the properties even indicate that it was generated by the V5 driver.)

So for the moment, I'm just going to generate an ATE/PDFX5 installer and let it go at that. (Full V6 support, whatever that may really mean, will probably have to wait for A-Shell 6.5)

Re: PDFX 6.0.321.0 ATE crash #1609 13 Sep 17 06:24 PM
Joined: Jun 2001
Posts: 11,645
J
Jack McGregor Online Content
Member
Online Content
Member
J
Joined: Jun 2001
Posts: 11,645
I've posted a new combined ATE+PDFX5 install package here:
ate-6.4.1555.0-pdfx-5.5.312.1-web.exe


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3