Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: XFRX under COM

$
0
0
Re: XFRX under COM
Web Connection 5.0
Re: XFRX under COM
Apr. 17, 2013
09:28 am
3RI0KB8J7Show this entire thread in new window
Gratar Image based on email address
From:Michael Hogan (Ideate Hosting)
To:Michael Hogan
Finally resolved it, with help from Martin.

It appears the:
PAPERLENGTH=2794
PAPERWIDTH=2159

entries in the Expr field were the culprits. Removing this and inserting
PAPERSIZE=1

Seems to have resolved the issue. So now the entire content of the Expr field is:
ORIENTATION=0
PAPERSIZE=1
COLOR=2

I didn't expect the PaperLength and PaperWidth expressions to be print-driver specific, but now I know better.


Been trying to run reports in webconnect as a COM based web server, and I get:
Error Loading Printer Driver
Error Number 1958

I am using XFRX like this, using REPORTBEHAVIOR 90:

loListener=XFRX("XFRX#LISTENER") lnRetval = loListener.SetParams(ReportPath + lcSaveFileName,,.T.,,.T.,,"PDF")IF lnRetval = 0REPORTFORM (pcReportName) OBJECT loListener ...

It works in File mode but not in COM. I have tried installing a Laserjet driver on the web server, and tried stripping the printer definition from the FRX Expr, Tag and Tag2 fields. Any suggestions?

TIA



Michael
www.WebConnectionHosting.com


Viewing all articles
Browse latest Browse all 10393

Trending Articles