How to attach a binary file to an email using the Linux mail command: ( cat bodyofmail.txt; uuencode filetoattach attachmentnameinemail ) |\ mail -s "The subject" [email protected] # for example # if I had the text body of my email in "body.txt" # and I had a PDF file...
James McDonald
Change LedgerSMB Latex (PDF / PS) Paper size from Letter to A4
Letter paper is 215.9 x 279.4 A4 paper is 210 x 297 So when you go to print you may have slight problems with page layout when printing A4 or exporting to PDF. The fix is as follows: In each Latex template find the line near the top that has the letterpaper keyword...
LedgerSMB Error! No GlobalDBH Configured or Could not Connect
Error! No GlobalDBH Configured or Could not Connect Just had this error attempting to install LedgerSMB. In my case this was caused by having postgres-8.3 installed and then installing postgres-8.2 the second installation moved the tcp port to a non-standard port...
SQL Ledger can’t view Open POS Invoice
On Line 2333 of SL/Form.pm add single quotes to $expires variable # remove expired locks $query = qq|DELETE FROM semaphore WHERE expires < '$expires'|; $dbh->do($query) || $self->dberror($query); Error: **DBD::Pg::db do failed: ERROR: operator does not exist:...
GNUCash Heading Banner Graphic Setup
I have been playing with the correct graphic resolutions to get my GNUCash Fancy Invoice header to print correctly. I think I have stumbled on the correct settings. This is for a PNG format Heading Banner file. Using gimp I did the following: Explanation: Using the...
SQL Ledger
Problem: Error! This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) %&-line parsing enabled. entering extended mode (./1204165120_invoice_1.tex LaTeX2e <2005/12/01> Babel and hyphenation patterns for english, usenglishmax, dumylang, noh yphenation, loaded. !...
Say my name, say my name – Google Search
Every now and again, as an exercise in vanity, I type "James McDonald" into Google Search to see where in the scheme of things I rank according to them. Today I typed in my name and was surprised to see this website is on the first page of results. Usually I would...
Windows SBS 2003 Restore to Different Hardware
I have a Windows 2003 SBS SP1 box on a Dell PE750. As a disaster recovery trial I decided to try and recover it to a Dell PE1950 which obviously has different hardware. The PE750 has "Intel Pro/1000 CT" nics and the PE1950 has "Broadcom NetXtreme II GigE" Nics not to...
Getting Java working on Ubuntu 8.04 Development Branch
Java will not run unless I do the following hack which will set the environment variable system wide. vi /etc/environment PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" LANG="en_AU.UTF-8" LANGUAGE="en_AU:en"...
Java on Ubuntu hardy (development branch) fails to launch
I have upgraded Ubuntu 7.10 to 8.04 in the dev branch some things aren't working. I installed the latest openoffice from OpenOffice.org and it wouldn't install using the provided java installer and when I installed it using the deb download it couldn't find Java....
