### What happened?

## Description

Setting page ranges of PrintOptions does not work when print pdf.

If I want to print pdf for `google.com` with `25cm x 5cm` paper size for page 1 and 2 only:

```java
    public static void main(String[] args) throws Exception {
        WebDriverManager.chromedriver().setup();

        ChromeOptions chromeOptions = new ChromeOptions();
        chromeOptions.setHeadless(true);

        ChromeDriver driver = new ChromeDriver(chromeOptions);
        driver.get("https://google.com");

        PrintOptions printOptions = new PrintOptions();
        printOptions.setPageSize(new PageSize(5, 25));
        printOptions.setPageRanges("1-2");
        Pdf pdf = driver.print(printOptions);

        Path output = Paths.get(System.getProperty("user.dir"), "result.pdf");
        Files.write(output, OutputType.BYTES.convertFromBase64Png(pdf.getContent()));

        driver.quit();
    }
```

This line is ignored.

```java
    printOptions.setPageRanges("1-2");
```

![스크린샷 2022-10-26 23 50 50](https://user-images.githubusercontent.com/16218269/198059653-287eb3da-aff2-4180-9732-1ade524c64f9.png)

## Reason

`toMap()` function in [PrintOptions.java](https://github.com/SeleniumHQ/selenium/blob/trunk/java/src/org/openqa/selenium/print/PrintOptions.java) class should set `pageRanges` as a key not `effectivePageRanges`.
 
### As-is
```java
  public Map<String, Object> toMap() {
    final Map<String, Object> options = new HashMap<>(7);
    options.put("page", getPageSize());
    options.put("orientation", getOrientation().toString());
    options.put("scale", getScale());
    options.put("shrinkToFit", getShrinkToFit());
    options.put("background", getBackground());
    final String[] effectivePageRanges = getPageRanges();
    if (effectivePageRanges != null) {
      options.put("effectivePageRanges", effectivePageRanges);
    }
    options.put("margin", getPageMargin());

   return options;
  }
```

### To-be
```java
  public Map<String, Object> toMap() {
    final Map<String, Object> options = new HashMap<>(7);
    options.put("page", getPageSize());
    options.put("orientation", getOrientation().toString());
    options.put("scale", getScale());
    options.put("shrinkToFit", getShrinkToFit());
    options.put("background", getBackground());
    final String[] effectivePageRanges = getPageRanges();
    if (effectivePageRanges != null) {
      options.put("pageRanges", effectivePageRanges);
    }
    options.put("margin", getPageMargin());

   return options;
  }
```

## Test

Super simple hack code to figure out that `pageRanges` works or not:
```java
    public static void main(String[] args) throws Exception {
        WebDriverManager.chromedriver().setup();

        ChromeOptions chromeOptions = new ChromeOptions();
        chromeOptions.setHeadless(true);

        ChromeDriver driver = new ChromeDriver(chromeOptions);
        driver.get("https://google.com");

        PrintOptions printOptions = new PrintOptions() {
            @Override
            public Map<String, Object> toMap() {
                Map<String, Object> map = super.toMap();
                map.put("pageRanges", new String[]{"1-2"});
                return map;
            }
        };
        printOptions.setPageSize(new PageSize(5, 25));
        Pdf pdf = driver.print(printOptions);

        Path output = Paths.get(System.getProperty("user.dir"), "result.pdf");
        Files.write(output, OutputType.BYTES.convertFromBase64Png(pdf.getContent()));

        driver.quit();
    }
```
![스크린샷 2022-10-27 00 00 22](https://user-images.githubusercontent.com/16218269/198062137-bb1f34c1-97d1-43e2-b01f-583801f978a4.png)


### How can we reproduce the issue?

```shell
public static void main(String[] args) throws Exception {
    // WebDriverManager.chromedriver().setup();

    ChromeOptions chromeOptions = new ChromeOptions();
    chromeOptions.setHeadless(true);

    ChromeDriver driver = new ChromeDriver(chromeOptions);
    driver.get("https://google.com");

    PrintOptions printOptions = new PrintOptions();
    printOptions.setPageSize(new PageSize(5, 25));
    printOptions.setPageRanges("1-2");
    Pdf pdf = driver.print(printOptions);

    Path output = Paths.get(System.getProperty("user.dir"), "result.pdf");
    Files.write(output, OutputType.BYTES.convertFromBase64Png(pdf.getContent()));

    driver.quit();
}
```


### Relevant log output

```shell
N/A
```


### Operating System

macOS Monterey 12.1

### Selenium version

Java 4.5.3

### What are the browser(s) and version(s) where you see this issue?

Chrome 106.  But I think this affects all browsers.

### What are the browser driver(s) and version(s) where you see this issue?

Chrome Driver 106.0.5249.61

### Are you using Selenium Grid?

No
package org.openqa.selenium.print;
import org.openqa.selenium.internal.Require;
import java.util.HashMap;
import java.util.Map;
public class PrintOptions {