IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#21147 - 07/10/09 05:22 AM dynamic image from network share
Elmo2k Offline
Junior Member

Registered: 02/22/07
Posts: 8
Loc: Germany
Hello,
I hope anyone can help me.
I

Top
#21148 - 07/10/09 08:48 AM Re: dynamic image from network share
Anonymous
Unregistered


Hi Elmo2k,

Yes it is possible, in the path field of your image object, simply put the path to the image after an equal (=) sign. Note that it should be a string value so here are different possibilities and syntax you might use:
Code:
  
='x:\\mynetwork\\path\\here\\myimage.pdf'
(note that all backslashes must be doubled in a presstalk field)
=&MyImagePathandName (variable of type string that contains the path AND image name)
='x:\\mynetwork\\path\\here\\'+&MyImageName+'.pdf'
(Here you have a static network path with image name as a variable, but the variable doesn't have the extension)
These 3 examples should cover all your needs and questions. You might need something a bit different, but the examples should allow you to understand how to adjust the expressions to match your needs.

Regards,

Olivier

Top
#21149 - 07/10/09 09:15 AM Re: dynamic image from network share
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Elmo2k,

Some additional tips...

Depending on how the network is setup, using the standard paths format may not work. You may need to use a UNC path instead. If you're not sure, I'd recommend you use the UNC format, as it's the standard for connecting to network drives.

Also note that from Watch, you may need to use proper user login with full admin rights, or it might not work. And finally, you'll have to run the form in "Run Locally".

Regards,
Rapha

Top
#21150 - 07/13/09 02:11 AM Re: dynamic image from network share
Elmo2k Offline
Junior Member

Registered: 02/22/07
Posts: 8
Loc: Germany
Hi,
thanks for your answers. Unfortunately, it didn

Top
#21151 - 07/13/09 09:45 AM Re: dynamic image from network share
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Elmo2k,

The "\\\\servername\\path\\file.pdf" format should be the one to use. There may be a few more directories you didn't enter. Though you don't need Watch to make a form with dynamic images, Watch does have the possibility to automatically generate a UNC path, so that may make things easier.

That said, do try the "x:\" format, it might work, depending on how your network is setup. Also make sure you are using an account that has admin rights.

Regards,
Rapha

Top
#21152 - 07/14/09 01:06 AM Re: dynamic image from network share
Elmo2k Offline
Junior Member

Registered: 02/22/07
Posts: 8
Loc: Germany
Hello,

how can I set the form to run locally?
How can I use a specific user to get the dynamic ressources from the network? Can I do that with PlanetPress???

I don

Top
#21153 - 07/14/09 09:21 AM Re: dynamic image from network share
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Elmo2k,

In Watch, there are .ptk files in the Document listing, and under the defined printer queues. You can double-click on them, and under the Printer Settings tab, check "Run Locally".

The "x:\" is not a printer path, but a standard Windows path. So if on drive X: you have a folder called "MyImages" that contains the pdf file(let's call it mypdf.pdf), the path would be:
X:\\MyImages\\mypdf.pdf

We use double backslashes in PlanetPress because a single backslash is used as a control character.

Regards,
Rapha

Top
#21154 - 07/14/09 09:24 AM Re: dynamic image from network share
Elmo2k Offline
Junior Member

Registered: 02/22/07
Posts: 8
Loc: Germany
Hello,

sorry, but I don

Top
#21155 - 07/14/09 09:59 AM Re: dynamic image from network share
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Elmo2k,

Dynamic image ressources should be usable even if you don't have Watch.

I believe we've reached a point where we'll need to speak to you on the phone, and take a closer look at this case. I suggest you open a technical support issue. Go to our web page, and go to Services->Support->Report an Issue. Provide your phone number, and also upload your form, and we'll give you a call.

Regards,
Rapha

Top
#21156 - 07/14/09 10:52 AM Re: dynamic image from network share
Anonymous
Unregistered


Hi Elmo2k,

When you say your forms are processed on a printer, do you mean they are stored on the printer's hard drive? If so, you can still use dynamic images, but they will need to be stored on the printer as well. Then, you simply have to put the image's name in the image object path.

You cannot access external resources from a printer. They need to be in the printer along with the form. If you have too many images and/or too big images to store on your printer, then there is no solution I can think of.

Regards,

Olivier

Top


Moderator:  cosimo, OL Newsgroup Support