{"id":245,"date":"2024-08-19T09:08:42","date_gmt":"2024-08-19T08:08:42","guid":{"rendered":"https:\/\/banfi.co.uk\/blog\/?p=245"},"modified":"2024-08-19T09:10:15","modified_gmt":"2024-08-19T08:10:15","slug":"install-cups-and-cups-lpd-on-a-raspberrypi-for-amiga-printing","status":"publish","type":"post","link":"https:\/\/banfi.co.uk\/blog\/2024\/08\/install-cups-and-cups-lpd-on-a-raspberrypi-for-amiga-printing\/","title":{"rendered":"Install CUPS and CUPS-LPD on a RaspberryPI for Amiga Printing"},"content":{"rendered":"\n<p>First Install Cups<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nsudo apt install cups\n:: Setup cups - Remote-Access\nsudo cupsctl --remote-any\n:: Setup cups - Share Printers and Remote Admin\nsudo cupsctl --share-printers --remote-admin\n:: Restart Cups for changes to take effect\nsudo systemctl restart cups\n:: Grant PI User access to CUPS Admin\nsudo usermod -a -G lpadmin pi\n:: Install xinetd\nsudo apt-get install -y xinetd\n:: Edit cups-lpd file\nsudo nano \/etc\/xinetd.d\/cups-lpd\n:: Enter this text for that file\nservice printer\n{\nsocket_type = stream\nprotocol = tcp\nwait = no\nuser = lp\nserver = \/usr\/lib\/cups\/daemon\/cups-lpd\nserver_args = -o document-format=application\/octet-stream -o job-sheets=non$\ndisable = no\n}\n:: Restart xinetd\nSudo \/etc\/init.d\/xinetd restart\n\n<\/pre><\/div>\n\n\n<p>:: Setup your Printer in CUPS admin page &#8211; make sure it works by printing a test page in Cups<br>:: Restart the Raspberry PI<br>:: Setup the NetPrinter on the Amiga https:\/\/aminet.net\/package\/comm\/tcp\/NetPrinter<br>Make sure PostScript is selected om the Printer Prefs<br>Make sure to turn colour on with the PrinterPS Prefs<br>Try printing a picture<br>On the PI you can monitor the incoming job log with<br>grep -rn &#8220;cups-lpd&#8221; \/var\/log\/<br>Release the job to the printer in CUPS Webpage as it will be held<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First Install Cups :: Setup your Printer in CUPS admin page &#8211; make sure it works by printing a test page in Cups:: Restart the Raspberry PI:: Setup the NetPrinter on the Amiga https:\/\/aminet.net\/package\/comm\/tcp\/NetPrinterMake sure PostScript is selected om the Printer PrefsMake sure to turn colour on with the PrinterPS PrefsTry printing a pictureOn the &hellip; <a href=\"https:\/\/banfi.co.uk\/blog\/2024\/08\/install-cups-and-cups-lpd-on-a-raspberrypi-for-amiga-printing\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Install CUPS and CUPS-LPD on a RaspberryPI for Amiga Printing<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[28],"tags":[29],"class_list":["post-245","post","type-post","status-publish","format-standard","hentry","category-amiga","tag-amiga"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=245"}],"version-history":[{"count":4,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/245\/revisions"}],"predecessor-version":[{"id":249,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/posts\/245\/revisions\/249"}],"wp:attachment":[{"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/banfi.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}