Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 11
    This might be a fun activity for codegolf.stackexchange.com Commented Apr 21, 2016 at 2:50
  • 5
    I posted to meta.codegolf to see if something like this would be well received: meta.codegolf.stackexchange.com/questions/8990/… Commented Apr 21, 2016 at 3:03
  • 1
    While this is a nice solution to create a valid PDF document with an empty page in a text editor it's not exactly what I regard a commandline solution (as the OP asked for). Commented Oct 15, 2019 at 9:46
  • 1
    Great answer. Note you can echo this: echo -n "%PDF-1.4..." > blank.pdf Commented Sep 7, 2023 at 18:18