If you need an ultimate definition of the HP-GL/2 language join the HP Printing and Imaging Solutions Provider Program.
You can find some brief description of the HP-GL/2 and HP-GL formats here: