class Fox::FXPrinter

Public Class Methods

new(*args) click to toggle source
SWIGINTERN VALUE
_wrap_new_FXPrinter(int argc, VALUE *argv, VALUE self) {
  FXPrinter *result = 0 ;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  result = (FXPrinter *)new FXPrinter();
  DATA_PTR(self) = result;
  return self;
fail:
  return Qnil;
}

Public Instance Methods

bottommargin(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_bottommargin_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","bottommargin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXdouble) ((arg1)->bottommargin);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
bottommargin=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_bottommargin_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","bottommargin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","bottommargin", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->bottommargin = arg2;
  return Qnil;
fail:
  return Qnil;
}
currentpage(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_currentpage_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","currentpage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXuint) ((arg1)->currentpage);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
currentpage=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_currentpage_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","currentpage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->currentpage = arg2;
  return Qnil;
fail:
  return Qnil;
}
firstpage(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_firstpage_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","firstpage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXuint) ((arg1)->firstpage);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
firstpage=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_firstpage_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","firstpage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->firstpage = arg2;
  return Qnil;
fail:
  return Qnil;
}
flags(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_flags_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","flags", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXuint) ((arg1)->flags);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
flags=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_flags_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","flags", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->flags = arg2;
  return Qnil;
fail:
  return Qnil;
}
frompage(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_frompage_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","frompage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXuint) ((arg1)->frompage);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
frompage=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_frompage_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","frompage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->frompage = arg2;
  return Qnil;
fail:
  return Qnil;
}
lastpage(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_lastpage_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","lastpage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXuint) ((arg1)->lastpage);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
lastpage=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_lastpage_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","lastpage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->lastpage = arg2;
  return Qnil;
fail:
  return Qnil;
}
leftmargin(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_leftmargin_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","leftmargin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXdouble) ((arg1)->leftmargin);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
leftmargin=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_leftmargin_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","leftmargin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","leftmargin", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->leftmargin = arg2;
  return Qnil;
fail:
  return Qnil;
}
mediaheight(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_mediaheight_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","mediaheight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXdouble) ((arg1)->mediaheight);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
mediaheight=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_mediaheight_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","mediaheight", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","mediaheight", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->mediaheight = arg2;
  return Qnil;
fail:
  return Qnil;
}
mediasize(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_mediasize_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","mediasize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXuint) ((arg1)->mediasize);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
mediasize=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_mediasize_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","mediasize", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->mediasize = arg2;
  return Qnil;
fail:
  return Qnil;
}
mediawidth(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_mediawidth_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","mediawidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXdouble) ((arg1)->mediawidth);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
mediawidth=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_mediawidth_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","mediawidth", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","mediawidth", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->mediawidth = arg2;
  return Qnil;
fail:
  return Qnil;
}
name(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_name_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXString result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","name", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result =  ((arg1)->name);
  vresult = to_ruby((&result)->text());
  return vresult;
fail:
  return Qnil;
}
name=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_name_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXString arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","name", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = to_FXString(argv[0]);
  if (arg1) (arg1)->name = arg2;
  return Qnil;
fail:
  return Qnil;
}
numcopies(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_numcopies_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","numcopies", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXuint) ((arg1)->numcopies);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
numcopies=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_numcopies_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","numcopies", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->numcopies = arg2;
  return Qnil;
fail:
  return Qnil;
}
rightmargin(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_rightmargin_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","rightmargin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXdouble) ((arg1)->rightmargin);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
rightmargin=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_rightmargin_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","rightmargin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","rightmargin", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->rightmargin = arg2;
  return Qnil;
fail:
  return Qnil;
}
topage(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_topage_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXuint result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","topage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXuint) ((arg1)->topage);
  vresult = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
  return vresult;
fail:
  return Qnil;
}
topage=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_topage_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXuint arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","topage", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  arg2 = NUM2UINT(argv[0]);
  if (arg1) (arg1)->topage = arg2;
  return Qnil;
fail:
  return Qnil;
}
topmargin(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_topmargin_get(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  FXdouble result;
  VALUE vresult = Qnil;
  
  if ((argc < 0) || (argc > 0)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","topmargin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  result = (FXdouble) ((arg1)->topmargin);
  vresult = SWIG_From_double(static_cast< double >(result));
  return vresult;
fail:
  return Qnil;
}
topmargin=(*args) click to toggle source
SWIGINTERN VALUE
_wrap_FXPrinter_topmargin_set(int argc, VALUE *argv, VALUE self) {
  FXPrinter *arg1 = (FXPrinter *) 0 ;
  FXdouble arg2 ;
  void *argp1 = 0 ;
  int res1 = 0 ;
  double val2 ;
  int ecode2 = 0 ;
  
  if ((argc < 1) || (argc > 1)) {
    rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
  }
  res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_FXPrinter, 0 |  0 );
  if (!SWIG_IsOK(res1)) {
    SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "FXPrinter *","topmargin", 1, self )); 
  }
  arg1 = reinterpret_cast< FXPrinter * >(argp1);
  ecode2 = SWIG_AsVal_double(argv[0], &val2);
  if (!SWIG_IsOK(ecode2)) {
    SWIG_exception_fail(SWIG_ArgError(ecode2), Ruby_Format_TypeError( "", "FXdouble","topmargin", 2, argv[0] ));
  } 
  arg2 = static_cast< FXdouble >(val2);
  if (arg1) (arg1)->topmargin = arg2;
  return Qnil;
fail:
  return Qnil;
}