1. Ruben Timana
  2. PowerBuilder
  3. Saturday, 11 April 2020 20:50 PM UTC

Hello, I am using using the method "Method = NativePDF!" and when I generate the PDF file, the page headers do not respect me. That is, the printing continues and the header overwrites me.

My PB version is 2017 R3

 

Regards

 

John Fauss Accepted Answer Pending Moderation
  1. Monday, 13 April 2020 03:59 AM UTC
  2. PowerBuilder
  3. # 1

Greetings, Ruben - 

I'm not sure how to advise you because I do not understand the issue you are experiencing from the description you gave. I would venture a guess that this is why you have not yet received a response to your question.

Can you please try to describe with more technical detail what you are expecting in the PDF versus what you are actually experiencing? Maybe attach some images? Are you generating a PDF from a DataWindow? What presentation style (grid, freeform, tabular, composite, etc.)? What paper size? Orientation (portrait or landscape)? What NativePDF configuration settings are you using or have you tried? Can you attach the exported source of the DataWindowObject? The more information you can supply, the better the members of the Appeon Community can understand and ultimately, the better we can advise you.

Regards, John

Comment
There are no comments made yet.
Ruben Timana Accepted Answer Pending Moderation
  1. Wednesday, 15 April 2020 22:28 PM UTC
  2. PowerBuilder
  3. # 2

Hi, The information is in the header of the next page.

I have PB installed on my pc (windows 10) and it does not present any problems, but in the pcs with the runtime files it overwrites the header, specifically windows7

code is

dw_name.Modify("DataWindow.Export.PDF.NativePDF.UsePrintSpec = No")
dw_name.Modify("DataWindow.Export.PDF.Method = NativePDF!")
dw_name.Modify("DataWindow.Export.PDF.NativePDF.PDFStandard = 1")
dw_name.Modify("DataWindow.Export.PDF.NativePDF.CustomSize = 4")

dw_name.SaveAs("d:\imagenes\prueba.pdf",PDF!, True)

 

 

Comment
  1. John Fauss
  2. Thursday, 16 April 2020 00:36 AM UTC
Is this an RichText DataWindow? Which RichText editor are you using in the IDE? How were the set of deployment files that get installed on other PC's determined? Did you use the run-time package utility? Since running on the IDE machine works, it is reasonable to suspect there is some difference between the deployment files and the files on the IDE machine.



My suggestion is to construct an MSI using the run-time packager, then test the deployment on a Windows7 machine. If that works, it's likely there is a missing / superceded / mismatched version of one or more DLL's.Are the Win7 machines current with Windows Updates?
  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.