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...
GNU/Linux
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. !...
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....
Delete a pppoe connection in Ubuntu
I swapped from a bridge adsl modem setup (the connection is defined and terminates as ppp0 on my Linux box) to a ADSL Router setup where the username and password is in the ADSL Router itself. The problem was that my Linux box still had the pppoe connection defined...
A very cool article about lsof
http://dmiessler.com/study/lsof/
Rotating a document using pdftk
I have in the past used Ghostscript to rotate PDFs however this time I used a utility call pdftk On Ubuntu 7.10 it is easily installed using the command: sudo apt-get install pdftk To rotate a pdf 90 degrees to the right (the entire document in this example) you run...