QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
The format for the print file generated by printOpen |
Ref. No. |
QNX.000006990 |
Category(ies) |
Development |
Issue |
I am writing an application to print the screen. I need to know, what is the format of print_file (the output file generated by printOpen()).
The code I am using is: print_fp = PrintOpen("/app/snapapp/print_file", x09 200 400) PrintScreen (print_fp, NULL); PrintClose(print_fp);
|
Solution |
The format of the file is defined in /windows/include/qwprint.h. Further information can be found in wind_struct.h.
Also, if you are looking for source code examples, you can look on our free software section and find: /usr/free/qnx4/qwindows/contrib pictps.tgz and picthp.tgz
These are both Qwindows programs to read these files and convert them.
|
|