I am writing an app which will draw into a picturebox or the printer. The location to draw on is passed as an object.

How can I tell wether the printer was passed as the object?

Thanks