Posts from 2015-09

Fixing time offsets in iCalendar / .ics files

Description of the Problem

Wanting to add a iCalendar (.ics) file to your calendar can become a nightmare if the times are incorrectly stated for a different time zones. I recently encountered this problem with a timetable calendar file of a conference. It contained 160 calendar events, all stated in an...

Read on

Epson XP-810

With Arch Linux

Scanning via network works out of the box with xsane on Arch Linux (as of 2014-12-02). I didn't need to install iscan!

For printing I installed AUR/epson-inkjet-printer-201308w:

cd ~/Downloads
git clone https://aur.archlinux.org/epson-inkjet-printer-201308w.git
cd epson-inkjet-printer-201308w
makepkg -s
sudo pacman -U epson-inkjet-printer-201308w-1.0.0-8-x86_64.pkg.tar.xz

Then I added the printer as lpd://192.168.1.21:515/PASSTHRU (or like dnssd://EPSON%20XP-810._ipp._tcp.local/?uuid=2cfe9010-11d4-67c4-a45f-a58ec1826751) in CUPS....

Read on

Read and Write Google Spreadsheets with Python

Using gspread:

import gspread

# Login with your Google account
gc = gspread.authorize(OAuth2Credentials)
# OAuth2Credentials must be an object with a valid access_token attribute,
# such as one created with the oauth2client library:
# http://gspread.readthedocs.org/en/latest/oauth2.html

# Open a worksheet...

Read on

Brother P-Touch QL-500 BW

Label Cassettes

A collection of useful labels:

Read on

Marantz SR5009

RS322 Interface

The connection settings are the standard 9600 / 8-n-1. A simple 1:1 cable or directly a RS232-to-USB adapter works.

The protocol is line-based with \r == "CR" == 0x0D as termination character.

When you switch it on, it sends:

MSSTEREO
PSDRC OFF
ZMON
PSLFE 00
PSBAS 50
PSTRE 50
PSTONE CTRL OFF
PWON

I switched it off with...

Read on