There is a section in the pdf_definition procedure in which the page rotation is hard-coded to zero:
PUT STREAM S_pdf_inc UNFORMATTED
"/Rotate 0" {&pdfSKIP}.
I'm not sure why a page rotation of 0 was hard-coded. This small change makes page rotation work:
PUT STREAM S_pdf_inc UNFORMATTED
"/Rotate " TT_pdf_page.page_rotate {&pdfSKIP}.
Anyone know why this feature was disabled in the first place?