Skip to main content
New Participant
January 23, 2023
Question

PDF Formular per Java Script als PDF drucken

  • January 23, 2023
  • 2 replies
  • 1307 views

Liebe Community,

ich habe ein PDF Formular erstellt, welches auch bereits per Java Script in einen dem User unbekannten Ordner gespeichert werden kann. Der User soll den Speicherpfad nicht sehen, da dort für kurze Zeiträume sensible Daten liegen. Die Daten auf diesem Speicherort werden von dort alle paar Miunten abgeholt und in die gesicherte Personalakte verschoben. Leider hat die Personalakte Proleme beim Darstellen des PDFs als Formular.

Aus diesem Grund möchte ich das beschreibare PDF Formular gern  als reines PDF drucken. Gibt es eine Möglichkeit per Java Script die Funktion  'Als PDF speichern' (siehe Anhang) zu nutzen und hier gleichzeitig den Speicherort mitzugeben, ohne dass der User den Pfad selber auswählen muss?

Vielen Dank für eure Unterstützung.

Bester Grüße

Theresa

This topic has been closed for replies.

2 replies

try67
Adobe Expert
January 23, 2023

Even if you could do that with a script (and you can't, as mentioned above), I don't see how that would solve your issue. The location of the file will still be accessible to the user, if they just looked under File - Properties...

New Participant
January 24, 2023

Good Morning,

thank your for your comment. Your absolutly right if they really want to know the location they can find out.

But that's not the point. Most - maybe all - of my colleagues have know interest to find out where that pdf is saved and they don't know that they just have to look under File - Properties... And I think it is a difference to tell 50 people the whole file path than just risk that maybe someone really want to find out... Besides that the sensitive data is only available for a really short matter of time... So the risk is very low, because it is very improbable that there are more than one pdf at this location at the same time... So even if someone find out the file path, he would still have to look there at the right time.

Bernd Alheit
Adobe Expert
January 23, 2023

This is not possible with a script.

In Adobe Acrobat you can flatten the pages.

New Participant
January 24, 2023

Good Morning Bernd,

thank you for your answer. I will try this idea and flatten the pdf page. Maybe that will work for my issue with the data storage system. I will let you know.