{"id":213,"date":"2011-09-04T14:05:19","date_gmt":"2011-09-04T13:05:19","guid":{"rendered":"http:\/\/www.fbcs.co.uk\/wp\/?p=213"},"modified":"2011-09-04T14:05:19","modified_gmt":"2011-09-04T13:05:19","slug":"printing-booklets","status":"publish","type":"post","link":"https:\/\/wp.fbcs.co.uk\/printing-booklets\/","title":{"rendered":"Printing booklets"},"content":{"rendered":"

To convert a PDF, such as http:\/\/www.justice.gov.uk\/downloads\/global\/forms\/opg\/EPA101_Mar10_Web.pdf<\/a>, to print as a booklet on Linux, try these steps:<\/p>\n

    \n
  1. pdftops x.pdf x.ps<\/code><\/li>\n
  2. psbook x.ps x-book.ps<\/code><\/li>\n
  3. ps2pdf x-book.ps x-book.pdf<\/code><\/li>\n
  4. acroread x-book.pdf<\/kbd><\/li>\n<\/ol>\n

    and then use acroread to print it 2-up (2 pages per sheet, duplex tumble).  The command acroread generates is (all on one line):<\/p>\n

    lpr -P HL-5250DN -o OptionTrays=1Trays -o PageSize=A4 -o PageRegion=A4 -o CAPT=Low -o BRMediaType=Plain -o InputSlot=AutoSelect -o ManualFeed=False -o Duplex=DuplexTumble -o TonerSaveMode=On -o Sleep=PrinterDefault -o ScreenLock=True -o BRLanguageLevel=L3<\/code><\/p>\n

    so it should be possible to use lpr directly (but I haven't tried that).<\/p>\n","protected":false},"excerpt":{"rendered":"

    To convert a PDF, such as http:\/\/www.justice.gov.uk\/downloads\/global\/forms\/opg\/EPA101_Mar10_Web.pdf, to print as a booklet on Linux, try these steps: pdftops x.pdf x.ps psbook x.ps x-book.ps ps2pdf x-book.ps x-book.pdf acroread x-book.pdf and then use acroread to print it 2-up (2 pages per sheet, duplex tumble).  The command acroread generates is (all on one line): lpr -P HL-5250DN -o […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,29],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts\/213"}],"collection":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/comments?post=213"}],"version-history":[{"count":0,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/posts\/213\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/media?parent=213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/categories?post=213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.fbcs.co.uk\/wp-json\/wp\/v2\/tags?post=213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}