Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

Acrobat Stamps compatibility with Bluebeam

Community Expert ,
Oct 11, 2023 Oct 11, 2023

Does anyone have experienced with dynamic stamps in Acrobat Pro and also Bluebeam application?
Does Acrobat Stamps fully compatible with Bluebeam?
Does BlueBeam stamps fully compatible with Acrobat Pro?

TOPICS
PDF
3.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Oct 13, 2023 Oct 13, 2023
LATEST

I figured it out. The problem is the dialog definition.  The Acrobat JS implementation allows a lot of variation in values when it comes to "0", "null", "", and "false".  All of them evaluate to the same thing, depending on the target type. The Bluebeam JS model does not. As stated in my article on bluebeam stamps "Bluebeam stamps tend to fail ungraciously when a property is not supported." 

 

In this case the checkbox values are defaulted to null. Change them to false and it'll work. 

 

Ex:

...

bChk1: false,
bChk2: false,

...

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2023 Oct 11, 2023

I have found portions of my answer here:
https://www.pdfscripting.com/public/Bluebeam-Stamps.cfm

But It’s a bit hard to know exactly what is uncompatible in Bluebeam from my Acrobat Stamps.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2023 Oct 11, 2023

I suppose Document Geek will have the answer to that question.


Acrobate du PDF, InDesigner et Photoshopographe
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2023 Oct 11, 2023

Or @Thom Parker  itself! 🙂 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2023 Oct 11, 2023

The answer is Yes and No. A dyanamic stamp can be created that will work in both Acrobat and BlueBeam, but both have thier own structural differences that can make one incompatible in the other.  

The Differences section in the article you've linked above covers these issues.

Basically, a Bluebeam stamp is the first, and only the first page in the PDF file. It does not have to be a tempate page, as is required in Acrobat, but it can be a page template. So this is the compatibility overlap. To make a dynamic stamp work in both, the stamp must be the first page in the file and be a template with the Acrobat naming. 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 11, 2023 Oct 11, 2023

Thanks Thom... Will check that in Bluebeam. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 12, 2023 Oct 12, 2023

Bluebeam stamps provided sample work prefectly in Acrobat. The one create in Acrobat don’t work inside Bluebeam so far. 

I noticed Bluebeam stamps use a calculation script AND also a document level script. That might be why my Acrobat Stamps don’t work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 13, 2023 Oct 13, 2023

Just having a document script is not a problem. 

So what exactly is not working. Is the stamp image correct but the scripts don't work? Or is the image not being displayed? 

Are any errors reported in console window in Bluebeam?

Post the stamp file and I'll take a look.

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 13, 2023 Oct 13, 2023

The image stamps is placed but no javascript window.
This is what I get from teh Javascript Console when I place it:

Version JavaScript de Bluebeam 21.0.45.3
GeneralError: Unspecified error cause.

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 13, 2023 Oct 13, 2023

A PDF have been shared by message.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 13, 2023 Oct 13, 2023
LATEST

I figured it out. The problem is the dialog definition.  The Acrobat JS implementation allows a lot of variation in values when it comes to "0", "null", "", and "false".  All of them evaluate to the same thing, depending on the target type. The Bluebeam JS model does not. As stated in my article on bluebeam stamps "Bluebeam stamps tend to fail ungraciously when a property is not supported." 

 

In this case the checkbox values are defaulted to null. Change them to false and it'll work. 

 

Ex:

...

bChk1: false,
bChk2: false,

...

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines