![]() |
![]() |
![]() |
initialize the _doc_ctrl structure
int my_init( int argc, char **argv, struct _doc_ctrl *c )
This function is called at the start of the program and allows you to initialize the program without changing prlib_main() or my_main(). It initializes members of the _doc_ctrl structure.
The arguments are:
The -o option is reserved for any printer-control command-line options (e.g. -og for gamma control, -op for print type).
If your print filter needs any options, specify them as -o options. QSSL reserves the right to use the options other than -o in future releases.
The default version of this function saves a pointer to the _doc_ctrl structure pointed to by c. You shouldn't have to replace the default version of this function.
Photon
Safety: | |
---|---|
Interrupt handler | Not applicable |
Signal handler | Not applicable |
Thread | Not applicable |
![]() |
![]() |
![]() |