We'll simplify here by assuming you are working through a telnet session. Inc. They set up a standard for graphics commands that has been adopted quite widely. The computer center has been distributing TeraTerm as a better alternative. This will open another window that will be your graphing window. Producing a hardcopy plot depends on the type of printer available to you.
Most printers speak their own language but there have been attempts to standardize.
You will see this as an output option on many graphics packages. Printers from Hewlett Packard, while they might understand Postscript, will use their own printing and plotting languages, PCL and HPGL, respectively. Successful printing of your graphics requires that you match the output device in the software to the capabilities of your printer. The Sun system has some simple graphics packages. They are pretty basic.