set docids for working print buttons