code: function(imsize, olsize) {
          if (olsize !== null) {
              imsize.width = olsize.w;
              imsize.height = olsize.h;
              imsize.printwidth = olsize.w;
              imsize.printheight = olsize.h;
          }
      }
docs: Method: addImageSize
  Set the size of the requested image.
  
  Parameters:
  imsize - {Object} An ArcXML imagesize object.
  olsize - {<OpenLayers.Size>} The image size to set.