s3-printing: move AD related printing components to an own file.