The picture shows the terminology I'm using even though it's a mish-mash of several different types at once. Experimentation may prove a better teacher.
The two source examples are slightly outdated, but they are better examples and more straightforward than the current versions. They simply echo the HPGL to the browser.