cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

KB Articles - Export to PDF Issue

TomU
23-Emerald IV

KB Articles - Export to PDF Issue

The 'Export to PDF' function available in KB articles is adding a bunch of extra 'garbage' to the PDF generated from the selected article.  These 'cookie confirmations' are not present when viewing the article directly.

 

TomU_2-1614619004646.png

 

TomU_1-1614618955398.png

 

10 REPLIES 10
PeterCase
17-Peridot
(To:TomU)

Hi @TomU ,

Thanks for making us aware of this. It's clearly a regression since we implemented the more detailed Cookie Management with a 3rd party tool, and it also looks like the header from Enterprise Navigation has made its way in to the PDF too.

Export to PDF was quite a struggle to get right when we implemented first time, but the developers should be well versed now. I've opened a bug for this issue to be handled in our next release and we should have a fix out to production in the April timeframe.

Peter.

TomU
23-Emerald IV
(To:PeterCase)

@PeterCase,

Things were looking better until I ran across this today when trying to export a PDF:

 

TomU_0-1616769984131.png

 

It's repeatable for this specific article.  I'm wondering if the embedded videos might be causing problems for your PDF generator.

https://www.ptc.com/en/support/article/CS19998

 

TomU_1-1616770057009.png

 

PeterCase
17-Peridot
(To:TomU)

Hi @TomU ,

Indeed, it looks like the team pushed a fix for the header issue already without telling me (or the permanent CSS fix for the recent overlay issue in latest Chrome / Edge addressed it for us). Either way, I'll take it !

 

I don't reproduce the export with video issue here using Edge 89.0.774.57 or Firefox 86.0.1:

 

PeterCase_0-1616795386522.png

 

On Brave Browser it also renders fine.

From a logged in session, could you let me know what you see when you call the URL directly: https://www.ptc.com/handlers/downloadpdf.ashx?url=https%3A%2F%2Fwww.ptc.com%2Fen%2Fsupport%2Farticle%2FCS19998

 

Many thanks,

Peter.

TomU
23-Emerald IV
(To:PeterCase)

Same thing.  Behavior is the same in Chrome, Firefox, and Edge. See attachment.

 

  • Microsoft Edge 89.0.774.63
  • Google Chrome 89.0.4389.90
  • Firefox 87.0

TomU_0-1616814147647.png

 

TomU
23-Emerald IV
(To:PeterCase)

@PeterCase, this issue (with the garbage text on top of the pdf) is still occurring.  Any idea when it will be resolved?  See attached PDF.  Thanks.

TomU
23-Emerald IV
(To:PeterCase)

@PeterCase, this issue is still occurring and we're clearly way past April.  Any idea when it will be resolved?  See attached PDFs that were just created today using this functionality.  Thanks.

VladimirN
24-Ruby II
(To:TomU)

What kind of PDF printer are you using? Here's what I got using Firefox (version 96.0.4664.45, 32-bit) and "CutePDF Writer" printer.

TomU
23-Emerald IV
(To:VladimirN)

@VladimirN,

This is in reference to the built-in, PTC provided 'Export to PDF' function.  This has nothing to do with printing to PDF locally.

 

TomU_0-1637068949308.png

 

PeterCase
17-Peridot
(To:TomU)

Hi @TomU , sorry I let your previous message drop. I had some confusion based on earlier exchanges and thought the issue was resolved. We're still unable to reproduce at PTC (even in Incognito mode, after deleting cache and the 2 cookies which store the associated preferences - OptanonConsent and OptanonAlertBoxClosed). The pop-up text is somehow still getting around the .noprint command in our CSS. The systems team is investigating to understand the specific circumstances under which this could happen. To help with troubleshooting (and aiming to provide a workaround for you), could you let us know if the extraneous text disappears if you click "Cookies Settings" in the footer of the article, configure your preferences, then "Confirm my Choices" ? 

Many thanks, 

Peter.

TomU
23-Emerald IV
(To:PeterCase)

Hi @PeterCase,

Clicking "Cookies Settings" in the footer and then clicking "Confirm my Choices" has no impact on the overlaid text.  The text continues to appear in Google Chrome, Microsoft Edge, Firefox, and Brave.  See video below.

 

This video is currently being processed. Please try again in a few minutes.
(view in My Videos)

Announcements

Top Tags