PxPlus User Forum

Twitter Twitter Twitter

Author Topic: Printing to PDF - through WindX/Citrix connection  (Read 1390 times)

Dave Fullerton

  • Silver Member
  • ***
  • Posts: 35
    • View Profile
Printing to PDF - through WindX/Citrix connection
« on: March 27, 2020, 02:14:53 PM »
Hi Folks:

Running into an error 15 attempting to write to [wdx]*PDF* when the WindX user is connected via a Citrix server to our application server.  All works as expected if the user does not go through the Citrix server (i.e. they are in their network).   It looks like a convoluted setup to me.

We can create a folder for the file to reside in, and a file name is displayed in the folder, but then the error 15 occurs and an invalid PDF file (adobe can't read it) that is 2K in size is left.

PxPlus on the server is V12, PxPlus on the WindX is V15 (we are getting ready for an update).

Unfortunately, we can't trace the PDF on the WindX station.  We suspect that the issue is permissions based, but the folder is set for Everyone with full access.

Does anyone have any suggestions what we might do for a solution?

Thanks

Dave Fullerton

Devon Austen

  • Administrator
  • Diamond Member
  • *****
  • Posts: 382
  • Don’t Panic
    • View Profile
    • PVX Plus Technologies
Re: Printing to PDF - through WindX/Citrix connection
« Reply #1 on: March 27, 2020, 02:21:27 PM »
An error 15 is an OS error. If you print MSG(-1) you can sometimes get more info about the error. This info may help you figure out the problem.
Principal Software Engineer for PVX Plus Technologies LTD.

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Printing to PDF - through WindX/Citrix connection
« Reply #2 on: March 27, 2020, 02:33:20 PM »
As a followup -- since WindX is involved the error 15 may be occurring on the workstation so you may need to get the error information from the workstation either by:

  • Issuing a EXECUTE "[wdx]PRINT MSG(-1)" to display the error
  • CALL "[wdx]*windx.utl","MSG(-1)", X$ then print X$ to see the error information

You might also try to simply create the PDF file on the workstation using:

SERIAL "[wdx]testfile"

Change testfile to wherever on the workstation you want the PDF file to ultimately be created.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

Dave Fullerton

  • Silver Member
  • ***
  • Posts: 35
    • View Profile
Re: Printing to PDF - through WindX/Citrix connection
« Reply #3 on: March 27, 2020, 02:43:49 PM »
Hi Mike:

I was printing MSG(RET) and was getting something like I would get for an error 12 - didn't think about trying a [wdx]print msg(-1).  Msg(-1) didn't give me anything, but of course, that was relative to the server.

I'll give the [wdx]msg(-1) routine a shot - thanks

DAve

Dave Fullerton

  • Silver Member
  • ***
  • Posts: 35
    • View Profile
Re: Printing to PDF - through WindX/Citrix connection
« Reply #4 on: March 27, 2020, 03:17:02 PM »
Thanks to Mike's suggestion, I now know what is going on - MSG(-1) says "Unable to load/locate functions from PxPlus PDF Library (err/ret=13/127)

MSG(RET) returns Permission denied.

Do I re-install Windx?

Regards

Dave

Mike King

  • Diamond Member
  • *****
  • Posts: 3810
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: Printing to PDF - through WindX/Citrix connection
« Reply #5 on: March 27, 2020, 03:28:10 PM »
This sounds like you might have either a bad or missing libhpls.dll in the WindX installation or perhaps a version mismatch if you updated the EXE and not the PDF DLL.

I would try to reinstall WindX.
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com