attech functions to printer layer