def print_area(*args)
    # Check for a cell reference in A1 notation and substitute row and column
    args = row_col_notation(args)

    return if args.size != 4 # Require 4 parameters

    @print_range.row_min, @print_range.col_min, @print_range.row_max, @print_range.col_max = args
  end
def print_area(*args)
    # Check for a cell reference in A1 notation and substitute row and column
    args = row_col_notation(args)

    return if args.size != 4 # Require 4 parameters

    @print_range.row_min, @print_range.col_min, @print_range.row_max, @print_range.col_max = args
  end
:call-seq:
   print_area(first_row, first_col, last_row, last_col)
   print_area(A1_notation)

 Set the area of each worksheet that will be printed.
--
 See also the_store_names() methods in Workbook.rb.
++

 This method is used to specify the area of the worksheet that will be
 printed. All four parameters must be specified. You can also use
 A1 notation, see the note about "Cell notation".

     worksheet1.print_area('A1:H20')     # Cells A1 to H20
     worksheet2.print_area(0, 0, 19, 7)  # The same
     worksheet2.print_area('A:H')        # Columns A to H if rows have data