Can’t download/export a large Google Docs document as PDF (what are the limits on Google Drive?)

TL;DR

I have a very large Google Docs document which can not be exported to PDF*, but I can download it in all the other supported formats, which unfortunately do not fit my needs.

What are the limitations of downloading a Google Docs document as a PDF, why can’t I export it into this format? (But why can I download it as a huge, 500 MB sized RTF?)

I didn’t find any relevant stuff in the official documentations.

*: all the 4 of us who have access to this document tried with different Google accounts, same results.


In detail

I have a huge Google Docs document (shared with a team) containing 168 pages, multiple images, lots of equations, drawings, tables, etc.
When I want to download the whole document as a PDF (clicking “Download as” > “PDF Document (.pdf)”), the browser (doesn’t matter which one of the popular browsers) starts to show the loading icon in the tab header (meaning it is processing the request), but about a minute later, it returns an “500 OK” HTTP Status Code (BTW not the usual “500 Internal Server Error”, “500 OK” instead), which means it could not export the document to PDF.

Why? I don’t think the reason is a size limit, because I can download the whole document in ALL the other currently supported formats such as .docx, .odt, .rtf, .txt, .html, and for example the downloaded .rtf file is 519 MB. (Really! The .docx format from the same document is only 71.8 MB, and the .odt is 48.7 MB.) BUT when I cut this document down to about 50 pages, I CAN download it as PDF!

What are the limitations for downloading a Google Docs document as PDF?
Why can’t I export this document to PDF?



Problematic workarounds

There are some workarounds, although unfortunately they produce other problems:

  • if I split this document into at least 3 parts as separate documents, I CAN download the whole thing as PDF
    • it is obvious that it is a very uncomfortable solution (we want to edit the document as ONE large doc.), and this way all three documents should have separate table of contents part
  • downloading the document in .odt (OpenDocument Text) or HTML format:
    • this is NOT a good solution in my case, because the equations get downloaded as images, and they get messed up if they contain special characters which are NOT part of the equation toolbar (like bowtie symbol (U+22C8) for natural joins in relational algebra) or accented characters (á, é, í, etc.), and get substituted by multiple question marks (?). Here’s an example:
      • equation in Google Docs (correct):
        Google Docs equation
      • equation in .odt or HTML format (incorrect and uglier): .odt equation
      • equation in Google Docs:
        equation in Google Docs
      • equation in .odt or HTML format (incorrect and uglier): equation in <code>.odt</code> or HTML format”></a></li>
</ul>
</li>
<li>BTW this is exactly how these equations look like when I view the document from a tablet or a mobile phone (buggy appearance)</li>
</ul>
</li>
<li><strong>downloading the document in <code>.docx</code> (MS Office) format:</strong>
<ul>
<li>in some cases, <strong><em>indentations</em></strong> and <strong><em>spacings</em></strong> get messed up and <strong><em>font types</em></strong> get changed for some reason </li>
<li>but without a doubt, this produces the most acceptable result</li>
</ul>
</li>
</ul>
<hr>
<hr>
<p>Here’s the output of the browser’s <strong>developer console</strong> when such a request is sent:</p>
<p><a href=developer console when trying to download Google Docs document as PDF

        Sorry for being so verbose, I wanted to share all the information I could find out.

Answer

I just ran head-first into this very same wall. I’ve basically spent a couple of weeks with Inventor and Google Docs, creating a 292 page, screenshot rich, compendium / tutorial for the CAD class that I’m going to teach this semester. And I can’t download it as a pdf. However, I did find another workaround that is not mentioned above:

Open the “Print” dialog. Choose the print to local pdf option. Then section off your document, I did 3 sections: pages 1-100, pages 101-200 and pages 201-292. Worked like a charm, and then I just did a pdf merge afterwards. Incredibly annoying(!) but still quite workable.

Attribution
Source : Link , Question Author : Sk8erPeter , Answer Author : serenesat

Leave a Comment