James McDonald

Ping Expired in Transit

You get this: C:\Users\lisa>ping www.2test.com Pinging 2test.com [63.95.218.111] with 32 bytes of data: Reply from 63.95.218.254: TTL expired in transit. Reply from 63.95.218.254: TTL expired in transit. Reply from 63.95.218.254: TTL expired in transit. Reply from...

Specifying custom page size with Ghostscript

you can't do the following because the custom page size won't exist on the system ps2ps -sPAPERSIZE=A4 input.ps output.ps This will work (this is 100x200 converted to points) ps2ps -dDEVICEWIDTHPOINTS=283.46 -dDEVICEHEIGHTPOINTS=567 test.ps output.ps Never mind this...

PDFCreator – Changing the Page Size

I use PDFCreator as a way of testing printing without creating a paper storm At $DAYJOB we use Formtrap to take input from our ERP system and output nice Invoices, PO's, Labels & Barcodes. Formtrap IMO is an excellent product. You can pump Structured Text, XML,...

Cambodia – Last day in Siem Reap

So I haven't been able to regularly post anything because my phone has absolutely terrible battery life. But as I sit here with my phone plugged into  the wall I will attempt a summation of the last several days. Our hotel is the Angkor Heritage Boutique Hotel. And it...

Siem Reap

So just arrived in Siem Real after taking a 7 hour bus trip to cover 316kms. The roads between Phnom Penh and Siem Real were a mix of tar and dirt. I think in another few years the trip will take a lot less time once the roads are sealed. Our accommodation is lovely...

Cambodia – Phnom Penh

Phnom Penh wow. It's not as frenetic as Hanoi or Ho Chi Minh. There aren't as many bikes and there is less warning honking going on. The ride from the airport cost 9$ for a tuk tuk or 12$ US for a cab. We took a cab and our friends took a tuk tuk and we both arrived...

Kuala Lumpur

So KLIA2 ( Kuala Lumpur International Airport 2 ) is a fair ways (40 minutes is ) from the city of Kuala Lumpur. We got an unmarked Taxi from there to Furama hotel for 120 RM ( Malaysian Ringo ) the exchange rate is roughly 3 RM to 1 AUD. Furama is a great hotel with...

Getting WatchOCR Running on Fedora21

Download the debian WatchOCR package from http://sourceforge.net/projects/watchocr/ Extract the files instruction here ==> http://www.g-loaded.eu/2008/01/28/how-to-extract-rpm-or-deb-packages/ # unpack the deb ar vx package.deb # untar the data.tar.gz tar xvf...

Alternative to PDFtk under Fedora 21

I wanted to join multiple pdf files together. I usually have used pdftk but it has been retired. You can get a pdftk source rpm but it depends on gcj and several other packages that have been superseded in Fedora 21. So an alternative is needed... # install...

ATO AUSKey Under Fedora 21

The first question I had was which version of the Oracle Java Development Kit should I install? If you have firefox-34.0-1.fc21.x86_64 installed (note the x86_64) you need to install the x64 version of the Oracle JDK Do not do this: yum localinstall...