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

Issue with Opening Print Dialog in Adobe Acrobat Automation

Community Beginner ,
Jun 30, 2023 Jun 30, 2023

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.

 

 

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

What issue does you have?

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

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


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

Looks like a issue with the attributes.

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

[MOVED TO THE ACROBAT SDK DISCUSSIONS]


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

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?

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

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

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

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

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

what is the correct way to acheive this?

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