1. Andres Slachevsky
  2. PowerBuilder
  3. Tuesday, 8 January 2019 12:47 PM UTC

Hello All.

i need to show in a PB application a PDF File and then print (every print will insert a line in a column) 

i need to avoid this toolbar to appears

i try the following

ole_pdf.Object.loadfile(is_archivo_pdf)
ole_pdf.object.setShowToolbar(False)
ole_pdf.object.SetPageMode('none')

but neither setShowToolbar nor SetPageMode have any effect

i can not use the browser ole cause i need to manage the print not 

any ideas

 

Marco Meoni Accepted Answer Pending Moderation
  1. Wednesday, 9 January 2019 07:48 AM UTC
  2. PowerBuilder
  3. # 1

Hi Andres,

looks like Adobe does not provide API for hiding that toolbar (aka "heads up display"):

https://stackoverflow.com/questions/23081728/disable-adobe-reader-toolbar-from-my-activex

Best,

.m

Comment
  1. Andres Slachevsky
  2. Wednesday, 9 January 2019 10:46 AM UTC
I found a workaround.

i put a PB object over the position where the toolbar is

it is not the best solution but at least i can control de printing
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.