Look at a previous thread about documentation where
there is a pointer to a PDF of the PCL5 Reference.
You need to distinguish between the creation of
the macro and its usage. A macro IS PCL code, so you
could simply type in PCL code using a DOS text editor.
A program like WORD does not create PCL code directly;
however, you could create the macro in the program by
printing to a file through a PCL driver. This though
would require the resulting PCL file to be edited to
convert it to a macro. There is a commercial program
called "forms electric" out of England to help with
this editing.
Your application the the program that will ultimately
use the macro. It is your or your application's
responsibility to get the macro into the printer before
it is called by the application. Simply printing the
macro file would make it resident in the printer.
For what you are after, you could put FLASH memory into
your HP printer and permanently download your macros
to the printer. Then your applications would only have
to call the macro and not worry about download.
I'm not familiar with your other printer and what
capabilities it has.
If you need some help with this, you can give me a
call at the office at (604)738-6112 during the day,
Pacific time.
Jim Asman
jim@spctra.wimsey.com