renamed printline() to write_line() for consistency

Reused it to write signature (instead of specialized routine)
set format number to 0 unless it is stable