home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PPPPDDDDGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttRRRReeeessssoooolllluuuuttttiiiioooonnnn((((3333)))) IIIImmmmpppprrrreeeessssssssaaaarrrriiiioooo PPPPDDDDGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttRRRReeeessssoooolllluuuuttttiiiioooonnnn((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- PDGetCurrentResolution - get current printing resolution
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ppppoooodddd....hhhh>>>>
-
- iiiinnnntttt PPPPDDDDGGGGeeeettttCCCCuuuurrrrrrrreeeennnnttttRRRReeeessssoooolllluuuuttttiiiioooonnnn((((PPPPDDDDIIIInnnnffffooooSSSSttttrrrruuuucccctttt ****iiiinnnnffffoooo,,,,
- iiiinnnntttt ****hhhhrrrreeeesssspppp,,,, iiiinnnntttt ****vvvvrrrreeeesssspppp))));;;;
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- _P_D_G_e_t_C_u_r_r_e_n_t_R_e_s_o_l_u_t_i_o_n is a convenience function for determining the
- current printing resolution.
-
- Typically, printers have a single output resolution and the POD
- _P_D_I_n_f_o_S_t_r_u_c_t _h_o_r_i_z_o_n_t_a_l__r_e_s_o_l_u_t_i_o_n and _v_e_r_t_i_c_a_l__r_e_s_o_l_u_t_i_o_n fields provide
- the printing resolution directly. However, certain printers allow
- switching between multiple output resolutions. For these printers the
- current resolution is determined by first parsing the _P_D_S_t_a_t_u_s_S_t_r_u_c_t
- _p_r_i_n_t_e_r__o_p_t_i_o_n_s field for the keyword CCCCuuuurrrrrrrreeeennnnttttRRRReeeessss. The value for this
- keyword will indicate the current horizontal and vertical resolutions. If
- the keyword is not found, the resolutions in the _P_D_I_n_f_o_S_t_r_u_c_t are used.
- The _P_D_G_e_t_C_u_r_r_e_n_t_R_e_s_o_l_u_t_i_o_n function performs the above procedure to
- determine the current resolution.
-
- RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
- _P_D_G_e_t_C_u_r_r_e_n_t_R_e_s_o_l_u_t_i_o_n returns 0 upon successful execution. If an error
- occurs, the function returns -1 and sets _P_D_e_r_r_n_o.
-
- EEEEXXXXEEEECCCCUUUUTTTTIIIIOOOONNNN EEEERRRRRRRROOOORRRR CCCCOOOODDDDEEEESSSS
- _P_D_G_e_t_C_u_r_r_e_n_t_R_e_s_o_l_u_t_i_o_n will fail under the following circumstances.
-
- PD_LIBERR_BAD_STRUCT A NULL structure pointer has been specified.
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- PDReadInfo(3), PDReadStatus(3), libpod(3)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-