Handling printfn.