Previous Thread
Next Thread
Print Thread
PDFX driver not launching automatically *Solved* #29281 03 Dec 18 03:12 PM
Joined: Sep 2002
Posts: 5,471
F
Frank Online Content OP
Member
OP Online Content
Member
F
Joined: Sep 2002
Posts: 5,471
Good day,

I am testing PDFX on 2 Pc's in my office. Both have the PDF-XChange Printer 2012 available from windows.

I am accessing the drive using this ini that is in our linux sys:

.type prtpdf.ini
DEVICE=AUXLOC:PDF-XChange Printer 2012
PASSTHROUGH=OFF
PAPERSIZE=LETTER
PITCH=AUTO
CPP=82,*
LPP=60

On the PC that works, if i test it and execute:

PRINT PRTPDF=SYS:ERRMSG.USA

It works, it will open the pdfx save dialog then open adobe with the contents.

On the PC that doesnt work:

The same command will open APEX with the contents but does not automatically open the pdfx save dialog.

*** UPDATE ***

Ok the reason that it didn't work is that Preview Preference was set to ALWAYS. Guessing APEX intercepted the call to PDFX. Anyway since i took the time to write up the problem perhaps someone else will benefit from it. wink

Re: PDFX driver not launching automatically *Solved* #29282 03 Dec 18 03:30 PM
Joined: Jun 2001
Posts: 11,794
J
Jack McGregor Offline
Member
Offline
Member
J
Joined: Jun 2001
Posts: 11,794
Thanks for sharing that. Indeed, APEX is in between the application and the PC-side printing, so if enabled, the preview will come first.

As you noted, the Preview Preferences (typically being considered a user-level option) are set via the PC-side user interface (Settings > Preview Preferences).

BUT, you can override it from the application level by specifying the SPSW_NOPREVIEW (&h00100000) switch in the XCALL SPOOL call.

The switch is also supported in PRINT.LIT, i.e.

Code
.PRINT PRDPDF=SYS:ERRMSG.USA/NOPREVIEW


Moderated by  Jack McGregor, Ty Griffin 

Powered by UBB.threads™ PHP Forum Software 7.7.3