Another reason this is useful (besides firefox doing better generation at times - we encountered yet another chrome print to pdf generating unselectable unusable tables in PDF editors today which reminded me of this) is that chrome also has a data uri length limit that Firefox does not. If Firefox had the print to pdf option on the commandline like chrome did, it would allow doing headless firefox pdf generation using data URIs (no temp files) which can be convenient and cleaner if you have the ram. https://stackoverflow.com/questions/74218933/chromium-headless-pdf-generation-in-java-using-string-instead-of-temp-file-pag
Bug 1407238 Comment 25 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Another reason this is useful (besides firefox doing better generation at times - we encountered yet another chrome print to pdf generating unselectable unusable tables in PDF editors today which reminded me of this) is that chrome also has a data uri length limit that Firefox does not. If Firefox had the print to pdf option on the commandline like chrome did, it would allow doing headless firefox pdf generation using data URIs (no temp files) which can be convenient and cleaner if you have the ram (and a recent linux 2.6 which derives the argument length from the stack size which can be set with ulimit -s ☺ ) https://stackoverflow.com/questions/74218933/chromium-headless-pdf-generation-in-java-using-string-instead-of-temp-file-pag