PxPlus User Forum

Twitter Twitter Twitter

Author Topic: 'picutre' mnemonic  (Read 1218 times)

michaelgreer

  • Diamond Member
  • *****
  • Posts: 129
    • View Profile
'picutre' mnemonic
« on: August 09, 2023, 03:12:45 PM »
Assuming a command like this: print 'picture'(10,10,200,200,"myfile.jpg")
Is there a way to have the image reside on the Windx client?  I have tried prefix the file name with windx and a full path - [wdx]c:\images\myfile.jpg, but to no avail.  Thanks!


James Zukowski

  • Diamond Member
  • *****
  • Posts: 308
    • View Profile
Re: 'picutre' mnemonic
« Reply #1 on: August 09, 2023, 03:37:30 PM »
If I recall correctly, the 'picture' mnemonic requires the image to be on the local computer. So, if you're using WindX (as we are), you don't need to include the [WDX] or [LCL] prefixing, just the path to the image file. Ours reside in *bmp/
James Zukowski
Sr. Developer - J&E

BRAND>SAFWAY
Brand Industrial Services

Mike King

  • Diamond Member
  • *****
  • Posts: 3818
  • Mike King
    • View Profile
    • BBSysco Consulting
Re: 'picutre' mnemonic
« Reply #2 on: August 09, 2023, 04:04:17 PM »
Assuming you are running a current version of PxPlus you should simply have to enable the WindX auto-download for images and WindX will forward the image file to a temporary holding directory on the workstation.

This option is controlled by the +U system parameter.

When enabled the pathname in the PICTURE mnemonic should be the pathname to the image file on the host (server) computer and not the workstation.

For further details please see:  https://manual.pvxplus.com/page/windx/autoload.htm
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com