I tested with PLA fillament.
Lightly wet sand the surface so that it becomes flat and the ink sticks evenly.