1. Andres Slachevsky
  2. PowerBuilder
  3. Tuesday, 08 January 2019

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
Votes
Undo

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
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. Andres Slachevsky
  2. Wednesday, 9 January 2019
There are no comments made yet.
  1. Wednesday, 9 January 2019
  2. PowerBuilder
  3. # 1
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.