{"id":93,"date":"2009-01-04T16:04:55","date_gmt":"2009-01-04T23:04:55","guid":{"rendered":"http:\/\/www.lothlorien.com\/kf6gpe\/?p=93"},"modified":"2009-01-18T21:32:21","modified_gmt":"2009-01-19T04:32:21","slug":"better-printing-to-the-sony-ereader-using-cups-pdf","status":"publish","type":"post","link":"https:\/\/www.lothlorien.com\/kf6gpe\/better-printing-to-the-sony-ereader-using-cups-pdf\/","title":{"rendered":"Better printing to the Sony eReader using CUPS-PDF"},"content":{"rendered":"<p>After the <a href=\"http:\/\/www.lothlorien.com\/kf6gpe\/?p=64\">recent work<\/a> I&#8217;ve done integrating my Sony eReader with Mac OS X, I still wanted to be able to optimize page layout for the device.\u00c2\u00a0<\/p>\n<p>After some digging around and realizing that I don&#8217;t have\u00c2\u00a0<code>ppdc<\/code>\u00c2\u00a0I grabbed a PPD file for a generic Postscript printer and started hacking.\u00c2\u00a0<\/p>\n<p><a href=\"http:\/\/www.lothlorien.com\/kf6gpe\/wp-content\/uploads\/2009\/01\/ereader.ppd\">Download ereader.ppd<\/a><\/p>\n<p>The results work pretty well, although I see goofy margins from some applications such as\u00c2\u00a0<a title=\"TextMate\" href=\"http:\/\/macromates.com\/\" target=\"_blank\">TextMate<\/a>.<\/p>\n<p>Next up? Ditching the Folder Action script I wrote about <a href=\"http:\/\/http:\/\/www.lothlorien.com\/kf6gpe\/?p=64\">yesterday<\/a> in favor of <code>launchd<\/code>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After the recent work I&#8217;ve done integrating my Sony eReader with Mac OS X, I still wanted to be able to optimize page layout for the device.\u00c2\u00a0 After some digging around and realizing that I don&#8217;t have\u00c2\u00a0ppdc\u00c2\u00a0I grabbed a PPD file for a generic Postscript printer and started hacking.\u00c2\u00a0 Download ereader.ppd The results work pretty &hellip; <a href=\"https:\/\/www.lothlorien.com\/kf6gpe\/better-printing-to-the-sony-ereader-using-cups-pdf\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Better printing to the Sony eReader using CUPS-PDF<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[16,17,19,18],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-programming","tag-ebook","tag-ereader","tag-mac-os-x","tag-mobile-wireless"],"_links":{"self":[{"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":5,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/posts\/93\/revisions\/100"}],"wp:attachment":[{"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lothlorien.com\/kf6gpe\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}