re Omnis Studio 8.1.4 OmnisPDF
Mirko, Mike, Alex, Martin and any others I may have missed,
Thanks for all your help. I figured out the problem. It turned out to be a permissions problem with the internal Omnis Runtime app, as I set it up to be installed on user’s systems.
In most cases at this user’s location, users do not have administrative permissions. This app I distributed to them using a modified Omnis Studio 8.0 Runtime and packaged using Packages. Unlike what I’ve been doing lately, I did not use the FirstRunInstall option and left everything in the Applications folder. Internal folders like Content/MacOS/omnispdf did not have read/write permissions for all users. Furthermore, later updates I sent to them with folders having the same name did not replace items with the same name, and therefore did not correct permissions changes I implemented.
I discovered the problem when I created a non-admin account on my computer and ran the same application that worked on my system only to receive different errors than my client’s, but otherwise related to not being able to do something involving creating the temporary files for the PDF.
So, if you are having a similar problem, it’s probably your application permissions. Also, with my Studio 8.1 customers, I’ve started using the FirstRunInstall method which alleviates these permissions problems.
Michael Houlberg
Houlberg Development, LLC
> On Mar 5, 2018, at 9:07 AM, Mirko Pepa <mirko.pepa@profile.ch> wrote:
>
> Hello Michael
>
> Fonts are often a little bit difficult to handle and can make a lot of errors. So I would try:
> – Check the font in the Mac builtin Font.app to see, if Helvetica Bold has some problems. Replace it in case.
> – Perhaps the Omnis PDF-Device is generally not capable of converting .dfont to .ttf to embed it in the PDF. I am not sure about this. But you could instead use the Mac PDF-generator like this:
> Calculate $cdevice as kDevPrinter
> Calculate $prefs.$osxdesttype as kPDF
> Calculate $prefs.$osxdestname as Path where the PDF will be written
> I am pretty sure, that this way you can embed any fonttype (Postscript and Truetype, which can both be inside opentype). We use it with our printing-office customers, that have all kind of fonts and are ***very*** picky about design.
> – Just use another font in your reports, like Arial.
>
> Hope this helps…
>
> Mirko
> —————————————————————————————————
> Mirko Pepa, dipl. Wirtschaftsinformatiker
> Profile GmbH, Schaffhauserstr. 103, 8400 Winterthur
> Tel. 052-213 63 33 | www.profile.ch | www.helper.ch
> —————————————————————————————————
>
>
>
>
> Am 3.3.18, 19:24 schrieb “omnisdev-en im Auftrag von Martin Luce via omnisdev-en” <omnisdev-en-bounces@lists.omnis-dev.com im Auftrag von omnisdev-en@lists.omnis-dev.com>:
>
>
> Date: Fri, 2 Mar 2018 11:07:27 -0800
> From: Michael Houlberg <michael@houlbergdevelopment.com <mailto:michael@houlbergdevelopment.com>>
> To: OmnisDev List – English <omnisdev-en@lists.omnis-dev.com <mailto:omnisdev-en@lists.omnis-dev.com>>
> Subject: Omnis Studio 8.1.4 OmnisPDF
> Message-ID:
> <4934FBB5-CF57-4078-94E1-3D6F989EEB1C@houlbergdevelopment.com <mailto:4934FBB5-CF57-4078-94E1-3D6F989EEB1C@houlbergdevelopment.com>>
> Content-Type: text/plain; charset=utf-8
>
> I have a client with a problem printing PDF?s from within Omnis Studio 8.1.4 and using the kDevOmnisPDF device. It works fine for me, and it seems to work fine for some of her user?s machines, but not others. She gets this error having to do with font conversion:
>
> “Error when executing method Glant.rBoxResponseList_sub/$DoReport. Error when executing method Glant.Super_r/$PrintIt Print manager error: Font Helvetica Bold: Cannot convert.dfont file to .ttf”
>
> She is running MacOS 10.2.6 (Sierra), so pretty up to date.
>
> Has anyone else seen this?
>
> Michael Houlberg
> Houlberg Development, LLC
>
> Michael
>
> I had this problem. I had no problem on a Windows server but the report would not print on my Mac. It was going on about a fount which I could not even find that I had used in the report. Rewrote the report and then OK
>
> Martin
> _____________________________________________________________
> Manage your list subscriptions at lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com
_____________________________________________________________
Manage your list subscriptions at lists.omnis-dev.com
Start a new message -> mailto:omnisdev-en@lists.omnis-dev.com