B4J Question printhtml.exe folder for installation

oldeast

Active Member
Licensed User
Longtime User
On installation I copy printhtml.exe to File.DirData("myApp") from File.DirAssets and that's where I create the file to be printed.
It works with debug, but not on the installed version.

I checked that the installed version copies printhtml.exe and that the file to be printed is in the same folder.
Does printhtml.exe need to be copied to a different folder?
Thanks for any help.
 

oldeast

Active Member
Licensed User
Longtime User
Thanks Erel, I ran the compiled CMS.jar from the command prompt, no error just does not print.
I just copied printhtml.exe to c:\Program Files (x86)\myapp/app so its in the same folder as the jar file and now it prints.
 
Last edited:
Upvote 0

oldeast

Active Member
Licensed User
Longtime User
I tried various folders, non worked.

I will use showexternaldocument and the user can print it.
 
Last edited:
Upvote 0
Top