Unable to Export pdf's

Not able to export a graph as a pdf file, or even print the graph.