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

Issue with Opening Print Dialog in Adobe Acrobat Automation

Community Beginner ,
Jun 30, 2023 Jun 30, 2023

Copy link to clipboard

Copied

encountering a problem while automating PDF form filling and attempting to open the print dialog in Adobe Acrobat using Python. Despite ensuring the correct installation of Adobe Acrobat and validating the code, we encountered difficulties accessing the PrintWithDialog method.

 

However, unable to resolve the issue with the PrintWithDialog method and encountered an AttributeError when attempting to access it.

 

 

Views

578

Translate

Translate

Report

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 ,
Jul 05, 2023 Jul 05, 2023

Copy link to clipboard

Copied

What issue does you have?

Votes

Translate

Translate

Report

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 Beginner ,
Jul 06, 2023 Jul 06, 2023

Copy link to clipboard

Copied

Using python to make a script that fills fields and opens adobe acrobat + opens print dialog, well it does everything except opening print dialog, with error:

Traceback (most recent call last): File "C:\Python39\lib\tkinter\__init__.py", line 1892, in __call__ return self.func(*args) File "C:\Users\user\Desktop\e.py", line 63, in fill_pdf acrobat_avdoc.PrintWithDialog() File "C:\Python39\lib\site-packages\win32com\client\dynamic.py", line 638, in __getattr__ raise AttributeError("%s.%s" % (self._username_, attr)) AttributeError: GetActiveDoc.PrintWithDialog

is PrintWithDialog the correct with to ask adobe to prompt print dialog instead of auto print page


Votes

Translate

Translate

Report

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 ,
Jul 07, 2023 Jul 07, 2023

Copy link to clipboard

Copied

Looks like a issue with the attributes.

Votes

Translate

Translate

Report

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 ,
Jul 05, 2023 Jul 05, 2023

Copy link to clipboard

Copied

[MOVED TO THE ACROBAT SDK DISCUSSIONS]

Votes

Translate

Translate

Report

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
LEGEND ,
Jul 07, 2023 Jul 07, 2023

Copy link to clipboard

Copied

Which flavour of Acrobat is installed?

Acrobat Reader, Acrobat Standard, Acrobat Pro? 

Acrobat DC, 2020, 2017, 2015, ...?

Do other API methods work ok?

Does it work if used from VB?

Votes

Translate

Translate

Report

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 Beginner ,
Jul 08, 2023 Jul 08, 2023

Copy link to clipboard

Copied

LATEST

Adobe acrobat pro, was exploring it's feature now switched to reader temporarlyt,latest version, would it matter?

Votes

Translate

Translate

Report

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
LEGEND ,
Jul 07, 2023 Jul 07, 2023

Copy link to clipboard

Copied

Also, if you are calling GetActiveDoc and PrintWithDialog, that is completely wrong. You are using methods from two entirely different APIs. 

Votes

Translate

Translate

Report

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 Beginner ,
Jul 08, 2023 Jul 08, 2023

Copy link to clipboard

Copied

what is the correct way to acheive this?

Votes

Translate

Translate

Report

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