ICEpdf
  1. ICEpdf
  2. PDF-157

Add default paper size to viewer RI properites file

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.1.1
    • Component/s: Viewer RI
    • Labels:
      None
    • Environment:
      any

      Description

      If a had a dollar for every time someone asked for an easy way to change the default printer I would have quite a pile of bills. The propertiesManager which is part of the Viewer RI stores many properties that can change many aspects of the viewer ri at runtime. I would suggest that we add a new property for paper media size and possibly a system property that would allow for named paper sizes to be assigned as the default printer value.

        Activity

        Hide
        Dirk Maass added a comment - - edited

        RI completely ignores previous settings of the viewModel's PrintHelper when printing.
        Attached patch should help.

        Show
        Dirk Maass added a comment - - edited RI completely ignores previous settings of the viewModel's PrintHelper when printing. Attached patch should help.
        Hide
        Dirk Maass added a comment -

        Hi Patrick,
        i hoped to find my patch in version 4.1., as it addresses a real bug and solved some problems (at leat for us) easily. - And without for you having to solve the whole thing (deal with options in viewer RI properties file).
        The issue is now scheduled for 4.1.1, but if you have to reschedule it, I'd appreciate if you could at least review and apply this patch.

        thanks

        regards,
        Dirk

        Show
        Dirk Maass added a comment - Hi Patrick, i hoped to find my patch in version 4.1., as it addresses a real bug and solved some problems (at leat for us) easily. - And without for you having to solve the whole thing (deal with options in viewer RI properties file). The issue is now scheduled for 4.1.1, but if you have to reschedule it, I'd appreciate if you could at least review and apply this patch. thanks regards, Dirk
        Hide
        Patrick Corless added a comment -

        Sorry Dirk, I completely forgot that the you submitted a patch, I was running short of time for 4.1 and just pushed this to 4.1.1 given the bug title. I'll take a look at your patch today.

        Show
        Patrick Corless added a comment - Sorry Dirk, I completely forgot that the you submitted a patch, I was running short of time for 4.1 and just pushed this to 4.1.1 given the bug title. I'll take a look at your patch today.
        Hide
        Patrick Corless added a comment -

        Created PDF-199 to capture the patch improvement. Code is checked in, thanks for the patch.

        Show
        Patrick Corless added a comment - Created PDF-199 to capture the patch improvement. Code is checked in, thanks for the patch.
        Hide
        Patrick Corless added a comment -

        I've applied the patch as it addresses saving properties from one open document to another. I took a first shot at adding default properties to the UI properties file. When the print dialog or printer job is started the current media size values are saved to the properties manager class. When the viewer RI is closed the propertiesManager writes out its current state to file.

        Show
        Patrick Corless added a comment - I've applied the patch as it addresses saving properties from one open document to another. I took a first shot at adding default properties to the UI properties file. When the print dialog or printer job is started the current media size values are saved to the properties manager class. When the viewer RI is closed the propertiesManager writes out its current state to file.

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: