Toggen Blog
Tech tips
Articles
Latest
Convert Text File to PDF and then place on remote Windows Share
This is a snippet of Perl that takes the contents of text file on stdin and then converts it to a PDF using a tool chain as follows Sed is removing the ^L form feed character from the end of the file to stop enscript creating an extra blank page Enscript is creating a...
Added Custom Cups Backend Discovers Cups error_log Now Available Via journalctl!
Cups mailto Install Playing with the cups-mailto from http://cups-mailto.sourceforge.net/ I discovered that you have to make the permissions correct in order for the backend to work cp mailto /usr/lib/cups/backend # unless you do this the backend will # not showup in...
Postbooks 4.8.1 GUI Client Print to Cups Printer work-a-round
Still having trouble with printing from Postbooks to a Cups based printer on Fedora 21 http://www.xtuple.org/xtincident/view/bugs/24335 The work-a-round is to change the A4 page size to custom and then it prints... or build the client from source... This has...
When we move to Melbourne what do I call my blog then?
So since my first post on this blog in July 2006 I have lived in Telarah a suburb of Maitland 40 minutes west of Newcastle in the Hunter Valley 2 hours north of Sydney. In the next couple of months my Wife and I are planning on moving to Melbourne.... So I'm wondering...
CakePHP Getting Back to Where You Were After You Submit an Edit Form
I don't know if this is the proper way to do it but... You have an edit button in a view pointing to a form... When you click edit and you navigate to the edit page and you click submit. The edit actions default is to take you back to the controllers index action...
CakePHP Editable Table Based Dynamic Superfish JQuery Menus (<==mouthful)
Below is one way to create dynamic menus in CakePHP. It uses an element, a custom helper and a database table setup for the Tree behavior. It uses CakePHP 2.6.3. Since posting the below I have made some improvements and posted them to github ==>...
