[Gambas-user] Printing a PDF

Rolf-Werner Eilert eilert-sprachen at ...221...
Wed Oct 14 17:14:04 CEST 2015


Am 14.10.2015 16:35, schrieb Benoît Minisini:
> Le 14/10/2015 10:39, Rolf-Werner Eilert a écrit :
>> I found it! The shell or the kprinter or lp or whatever need a complete
>> path, like /home/mydir/thefile.pdf. But I had a "~" instead.
>>
>> So now it's running like expected, at least.
>>
>> Rolf
>>
> Beware : When you use "EXEC", you run your program directly, so there is
> no shell to automatically convert your "~" into "/home/xxxx".
>

Yes Benoit, that was the reason :)

I changed it using Replace(thePath, "~", User.Home)

That runs fine now.

Regards
Rolf





More information about the User mailing list