Add single line printer

Fix #2