1. Emily Gibson
  2. PowerBuilder
  3. Thursday, 27 January 2022 19:01 PM UTC

Hello,

I am using Version 2019 R3 Build 2703.

My issue is blank pages between composite report pages.  I already added dw_xxx.Object.DataWindow.Export.PDF.NativePDF.UsePrintSpec = 'Yes'.  This has fixed it for some reports but not all of them.  I researched online and found a few Appeon questions/answers regarding this same issue and tried everything that was suggested...with no success.  

On my PB application, under Additional Properties, I have "Always use NativePDF! method for PDF export" checked.  I also have "Packaging custom fonts in the generated PDF files" checked.

The test & production code are pushed to Citrix servers.  I develop on a Citrix server and don't have this issue in my development environment. 

I create the datawindows in each composite report the same way.   I've made sure the same font (Arial) was being used in each report.   I recreated a cover letter dw...no success.  I copied all PB dlls out to the test Citrix server, ran the code, no success.  The Citrix team suggested I was missing a dll somewhere. 

The Citrix team asked me to put in a question here to see if anyone had any advice for me.  Any advice/help would be appreciated.

Thank you.

Emily

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 27 January 2022 19:15 PM UTC
  2. PowerBuilder
  3. # 1

Hi Emily;

  FWYI:  That normally only occurs on printed output and PDF files where the print content at various points exceeds the defined margins.

Regards .. Chris

Comment
  1. Emily Gibson
  2. Thursday, 27 January 2022 19:29 PM UTC
Hi Chris, These are reports that have been working fine for years. We moved to new Citrix servers a short time ago. No one noticed the blank pages until 2 days ago. During my online research, someone suggested putting a box around everything because it's easier to check....so I did that.



A colleague is helping me test and he just found that if we use the Citrix icon to start the application and run the reports, then there is a blank page. He went to directly to the Citrix server to run the application from the same .bat file that the icon starts up. He ran the report, no blank page. I'm thinking this may not be a Powerbuilder issue. I was told to ask just to make sure. Have you heard of this issue before?



Thank you so much for responding.

Emily
  1. Helpful 1
  1. Chris Pollach @Appeon
  2. Thursday, 27 January 2022 19:36 PM UTC
Sounds like maybe a Citrix / Default Printer issue ... Hmmm?
  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 27 January 2022 20:59 PM UTC
Since I've been gathering the pb.ini entries:

Could this pb.ini setting make a difference?



[Data Window]

// For handling "default" printer(s) in Citrix environment (PB 2019 R3+)

Citrix=1



// For NOT handling "default" printer(s) in Citrix environment (PB 2019 R3+)

Citrix=0



regards
  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.