Jump to content

PDF Script in a multi-user OS X solution


This topic is 7866 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm familiar with the process for scripting PDF printing in OS X but this process doesn't work on a networked database. I've tried creating the same "PDF" preset on multiple machines but I get a printing error when anybody other than the host runs the script. Is there any way to script printing to PDF that everybody in the building can use?

Posted

It is a bit of a shot in the dark, but you could try if it works if you

- specify the same (network) printer on both host and client, then

- open the print script in script editor and

- replace the 'page setup' settings after exiting the script edit window.

I'd be interested to know what happens.

Regards,

Ernst.

Posted

When I use the client to replace 'page setup' settings, the host can no longer print with the 'PDF' preset. The host now gets the same error as the client did. I'm wondering if Filemaker is storing the exact path to the 'com.apple.print.custompresets.plist' file which is stored in the ~/library/preferences folder. If so, the stored path wouldn't work for a different user name.

Posted

Hey Kerver,

I tested it by defining a page setup and then loging in ith another user. Got the same error.

So I think you are suggesting in the right direction. Either the path to the preset, or the path for storing the pdf file, or both, might be causing havoc.

I'll do another test to rule out the second option.

Ernst.

Posted

I'm back.

I did the test by defining the path to save the .pdf file to, to a location (an extra harddisk) that is not specific for one user and I did NOT get the error.

You might try and see what happens if you define the path for the .pdf file to a server volume that's visible on all clients and the host. I think that will work.

Regards,

Ernst.

Posted

Well at least we know the problem. Thank you for taking the time. Now I just have to figure out an elegant solution that won't burden the user with extra steps. I'll post my final results.

Posted

One suggestion would be to have the page setup step (which actually stores the data) in a single user file that is on each users computer.

I'd be happy to hear the results!

Good night,

Ernst.

Posted

If the page is printed from another file, this doesn't seem helpful. Page Setups are local to each file.

Posted

  Quote
-Queue- said:

Page Setups are local to each file.

Hmmm, I'm affraid you are right.

Posted

A -crappy- solution could be to make a small partition on every workstation just for pdf's.

Posted

  Quote
ernst said:

A -crappy- solution could be to make a small partition on every workstation just for pdf's.

You definitely hit the nail on the head with that one...it's crappy smile.gif. For now I think I'll direct the PDFs to the 'Shared' folder inside the 'Users' folder. This is a consistant path for everybody. Even if the HD is named differently it still works.

Posted

That sound like a better idea.

Anyway, problem -sort of- solved.

Regards,

Ernst.

This topic is 7866 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.