GtkPrinter               package:RGtk2               R Documentation

_G_t_k_P_r_i_n_t_e_r

_D_e_s_c_r_i_p_t_i_o_n:

     Represents a printer

_H_i_e_r_a_r_c_h_y:


       GObject
        +----GtkPrinter
       GObject
        +----GtkPrintBackend


_D_e_t_a_i_l_e_d _D_e_s_c_r_i_p_t_i_o_n:

     A 'GtkPrinter' object represents a printer. You only need to  deal
     directly with printers if you use the non-portable 
     'GtkPrintUnixDialog' API.  'GtkPrinter'  'GtkPrinter' 
     'GtkPrintUnixDialog'  'GtkPrintUnixDialog'   A 'GtkPrinter' allows
     to get status information about the printer,  such as its
     description, its location, the number of queued jobs,  etc. Most
     importantly, a 'GtkPrinter' object can be used to create a
     'GtkPrintJob' object, which lets you print to the printer.
     'GtkPrinter'  'GtkPrinter'  'GtkPrinter'  'GtkPrinter' 
     'GtkPrintJob'  'GtkPrintJob'   Printing support was added in GTK+
     2.10.

_U_s_e_r _F_u_n_c_t_i_o_n_s:


     '_G_t_k_P_r_i_n_t_e_r_F_u_n_c(_p_r_i_n_t_e_r, _d_a_t_a)' The type of function passed to
          'gtk\Enumerate\Printers()'. Note that you need to ref
          'printer', if you want to keep a reference to it after the
          function has returned.

          '_p_r_i_n_t_e_r' [GtkPrinter] a 'GtkPrinter'

          '_d_a_t_a' [R object] user data passed to
               'gtk\Enumerate\Printers()'


_S_i_g_n_a_l_s:


     '_d_e_t_a_i_l_s-_a_c_q_u_i_r_e_d(_p_r_i_n_t_e_r, _s_u_c_c_e_s_s, _u_s_e_r._d_a_t_a)' Gets emitted in
          response to a request for detailed information about a
          printer from the print backend. The 'success' parameter
          indicates if the information was actually obtained.  

          Since  2.10

          '_p_r_i_n_t_e_r' [GtkPrinter]  the 'GtkPrinter' on which the signal
               is emitted

          '_s_u_c_c_e_s_s' [logical]  'TRUE' if the details were successfully
               acquired

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


_P_r_o_p_e_r_t_i_e_s:


     '_a_c_c_e_p_t_s-_p_d_f' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] TRUE if
          this printer can accept PDF.  Default value: TRUE


     '_a_c_c_e_p_t_s-_p_s' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] TRUE if
          this printer can accept PostScript.  Default value: TRUE


     '_b_a_c_k_e_n_d' [_G_t_k_P_r_i_n_t_B_a_c_k_e_n_d : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] 
          Backend for the printer.


     '_i_c_o_n-_n_a_m_e' [_c_h_a_r_a_c_t_e_r : _R_e_a_d] The icon name to use for the
          printer.  Default value: NULL


     '_i_s-_v_i_r_t_u_a_l' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] FALSE if
          this represents a real hardware printer.  Default value:
          FALSE


     '_j_o_b-_c_o_u_n_t' [_i_n_t_e_g_e_r : _R_e_a_d] Number of jobs queued in the printer.
           Allowed values: >= 0  Default value: 0


     '_l_o_c_a_t_i_o_n' [_c_h_a_r_a_c_t_e_r : _R_e_a_d] The location of the printer. 
          Default value: NULL


     '_n_a_m_e' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e / _C_o_n_s_t_r_u_c_t _O_n_l_y] Name of the
          printer.  Default value: NULL


     '_s_t_a_t_e-_m_e_s_s_a_g_e' [_c_h_a_r_a_c_t_e_r : _R_e_a_d] String giving the current state
          of the printer.  Default value: NULL


_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL: http://developer.gnome.org/doc/API/2.0/gtk/GtkPrinter.html>

