When using PCL, you normally don't need to create PCommand objects, since
there are high level classes for all the PageMaker commands.
PCommand(ePMCommand op);
A command with no parameters.
PCommand(ePMCommand op, short aShort);
A command with a single short parameter.
PCommand(ePMCommand op, long aLong);
A command with a single long parameter.
PCommand(ePMCommand op, const char * aString);
A command with a single C-string parameter.
PCommand(ePMCommand op, void * aRawBuf, size_t theLen);
A command with a fully formed request buffer, with its length.
PCommand(ePMCommand op, PRequestBuf& request);
A command with a request buffer object. This is often used with commands that require varying number of parameters.
DoCommand(ePMCommand op);
Creates the callback object to execute the command callback to PageMaker.
Comments or suggestions? Contact Adobe Developer Support