cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

PDF Document Properties

unknown1
1-Newbie

PDF Document Properties

Hi Adepters,

I want to capture the "COMPUTERNAME" from "set" properties and add it to PDF "Document Propeties..." --> "Description" --> "Author." I would like to do this using FOSI stylesheet.

Just in case you do not understand what I meant by "set" properties--if you will bring up your DOS console and type "set" then push enter, a list of property values will display. I want to capture the value of "COMPUTERNAME" (e.g. COMPUTERNAME=SVUSSAMPSON -- the word "SVUSSAMPSON" will display in the PDF Document Properties, as Author: SVUSSAMPSON.

Does anyone know how I can accomplish this task?

I hope you understand my explanation. Thanks in advance for you help and please let me know if more information is required.

Regards,
Siarom Egrub
3 REPLIES 3

We use the following FOSI coding to test environment variables in Windows:

<specval attname="COMPUTERNAME" attloc="system-var" attvalue="myvalue">

So I bet you could construct a similar fillval.


We also set these variables in the custom\init with acl containing:

$ENV["MYSYSVAR"] = "myvalue"



On 2/19/07, egrubs <-> wrote:
Hi Adepters,

I want to capture the "COMPUTERNAME" from "set" properties and add it to PDF "Document Propeties..." --> "Description" --> "Author." I would like to do this using FOSI stylesheet.


Just in case you do not understand what I meant by "set" properties--if you will bring up your DOS console and type "set" then push enter, a list of property values will display. I want to capture the value of "COMPUTERNAME" (
e.g. COMPUTERNAME=SVUSSAMPSON -- the word "SVUSSAMPSON" will display in the PDF Document Properties, as Author: SVUSSAMPSON.

Does anyone know how I can accomplish this task?

I hope you understand my explanation. Thanks in advance for you help and please let me know if more information is required.


Regards,
Siarom Egrub >> To unsubscribe from the list, send an email to listmanager@maillist.arbortext.com
with the following in the body: unsubscribe adepters - For additional information on the adepters list (how to subscribe or unsubscribe etc), send an email to:
listmanager@maillist.arbortext.com
with the following in the body: info Adepters - You may also go to forums.arbortext.com
, enter the Adepters folder and change your subscription options and preferences.>>


--
Paul Nagai

Hi Paul,

Thank you! I am doing something similar to your
example for our PDFs which use direct bookmarks. Do
you know how to accomplish this if automatic bookmarks
are been used, in other words using a .dcf file?

Our manuals use direct bookmarks and some other
documents use automatic bookmarks. I have it working
in the manuals and still trying to get it going in the
other documents.

Thanks again,
Siarom Egrub


--- Paul Nagai <-> wrote:

On 2/26/07, siarom egrub <-> wrote:
Thank you! I am doing something similar to your
example for our PDFs which use direct bookmarks. Do

you know how to accomplish this if automatic bookmarks
are been used, in other words using a .dcf file?

We stopped using the .dcf / automatic PDF bookmarks a few upgrades ago. I think it was when we went to 5.0, but I can't be sure. We started using E3 and PDF Direct at the timeand the automatic bookmarking for PDF Direct wasn't supported. At least that's how I remember it. The most I remember was that you had to set elements as divisions in the .dcf. If there was anything else you had to do, our environment came to me with the rest of it set up, so I didn't touch / learn / remember it.


--
Paul Nagai
Announcements