I am laying out a book using LuaLaTeX and memoir, to be printed on a page of width 145mm and height 235mm. This all works very well. (I have a sample document, using some public-domain text, but it's over 900 lines, so I put it in a pastebin.)
Once I have the 145mm by 235mm PDF, I want to use pdfpages in signature
mode to arrange the pages for printing in signatures of 16 pages. (That is, four sheets of paper, each with two pages on each side.) This also works very well, except that I do not have any 290mm by 235mm paper to print on.
So I have used the geometry package to set a paper size of 11 in by 17 in (so-called "ledger" paper), which I plan to trim down after printing.
\documentclass[twoside]{article}
\pdfvariable minorversion=7
\usepackage{pdfpages}
\usepackage[papersize={11in,17in}]{geometry}
\begin{document}
\includepdf[noautoscale,landscape,pages=-,signature=16,frame]{sample.pdf}
\end{document}
The issue here is twofold. First, pdfpages has placed the pair of pages in the center of the 11in by 17in sheet, so that I must trim away extra paper on all four sides instead of just two. Second, while the frame
option has given me some trim marks, it also put a line down the middle of the sheet.
Of course, positioning the pages in the center does have the advantage of working nicely with double-sided printing; but it should be possible to alternate between the top left and top right corners so that I can use double-sided printing and still only have to trim on two sides.
I've tried a variety of permutations of geometry and crop configurations and I haven't been able to find one which properly alternates between corners, actually puts the included PDF pages in those corners, and shows trim marks.
\documentclass[twoside]{article}
\pdfvariable minorversion=7
\usepackage{pdfpages}
\usepackage[papersize={11in,17in},layoutsize={290mm,235mm},landscape,twoside,showcrop]{geometry}
\begin{document}
\includepdf[noautoscale,pages=-,signature=16]{sample.pdf}
\end{document}
This setup, for example, does show trim marks, but it doesn't alternate corners the way I thought it would, and it does nothing to actually place the pages in the corners.