Updated print code to include RequestContext so printing will work.