![]() |
![]() |
![]() |
a function called at the beginning of the document
int my_startdocument( struct _doc_ctrl *c );
This function is called after the _doc_ctrl structure has been filled in with all the print-job information but before the graphics subsystem and ram_buffer are initialized. It can be used to initialize the fields in the _doc_ctrl structure, including:
As mentioned in the overview, the phs file might contain such information, but doesn't have to. Even if the information is there, it might be for a different printer. Therefore, the values should not be considered valid.
Photon
Safety: | |
---|---|
Interrupt handler | Not applicable |
Signal handler | Not applicable |
Thread | Not applicable |
![]() |
![]() |
![]() |