Is there a way to cut a single page PDF in half (vertically) from the command line on a Windows machine?
That is technically very complicated...
A PDF does NOT contain an image of the page (that would be easily cuttable in 2 pieces).
This means that there is no clear bottom-half or top-half to the script. It would be very difficult to figure out what part should go in the first half and which goes in the second part. And some stuff needs to be duplicated (like an embedded font used in both halves) or needs to be modified into 2 pieces (like an image or border that crosses the cutting line).
The easiest way I can think of would be a "PDF to image" converter that would first render the entire page as an image. Then cut the image and create new PDF's from the bottom and top image.
I am not aware of any program that can do this in 1 step. PDF2Image and vice-versa and batch-image manipulators are easy to find.
There are two common ways to cut/crop a PDF file: (1) convert it to an image, like already mentioned, and (2) render the page multiple times using cropping directives. Option (2) generally works the best since it preserves most of the original aspects of the PDF file (highlightable text, for example). Several programs will perform option (1) and/or option (2)--k2pdfopt (1&2), briss (2), sopdf (2), papercrop (1&2) to name a few. I know k2pdfopt best:
If by "vertically in half" you mean two columns, use this:
If you want a top and bottom half of the page, then use this:
The output (if file name is file.pdf) will be in file_k2opt.pdf.
k2pdfopt is available as open source (there are MS Windows binaries) from http://willus.com/k2pdfopt/
If you are just trying to fit the PDF to an e-book, check the "sticky" threads here: