PDF Printing Overwrites File Contents

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

PDF Printing Overwrites File Contents

Postby tslate » Tue Nov 07, 2017 1:06 pm

The PrintToPDF is not allowing continuous URL saves to the same file. In other words, each subsequent print does not append to the file, it replaces the contents of the current PDF file. This will happen whether it's the same domain or not.

This happens in a cycle of continuous loadurl and printtopdf.

Is this by design? Any workarounds besides post processing?

Is there any direct access to the PDFium library available?
tslate
Techie
 
Posts: 32
Joined: Wed Jul 19, 2017 12:47 pm

Re: PDF Printing Overwrites File Contents

Postby magreenblatt » Tue Nov 07, 2017 1:10 pm

PrintToPDF will overwrite the file by design. You can use a third-party tool or library to merge PDF files after they're created.
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 19 guests