Professional Web Applications Themes

printMerge and PMSheets - Mac Programming

I can't figure out how to do a print merge when using PMSheets. When using sheets, the print dialog comes up and the OS goes right back to continuing my code even though the user hasn't picked any settings yet. So my code continues on with the next printing task (which has no print dialog) even before there are settings... If I don't use sheets (use the old print dialog) then it's OK because the OS at least waits for some settings before moving on to other printing tasks. What's the normal way of handling this with sheets? I suppose ...

  1. #1

    Default printMerge and PMSheets

    I can't figure out how to do a print merge when using PMSheets. When using
    sheets, the print dialog comes up and the OS goes right back to continuing
    my code even though the user hasn't picked any settings yet. So my code
    continues on with the next printing task (which has no print dialog) even
    before there are settings...

    If I don't use sheets (use the old print dialog) then it's OK because the OS
    at least waits for some settings before moving on to other printing tasks.

    What's the normal way of handling this with sheets? I suppose I could just
    use default settings for the whole task but that doesn't seem friendly.
    And I could just use the old print dialog for my program, but it's not as
    snappy. Obviouslsy when only printing one doent (ie not in any kind of
    batch mode) this is not an issue.

    TIA

    brucecoughlin Guest

  2. #2

    Default Re: printMerge and PMSheets

    To be clearer: by print merge I mean printing several doents with only
    one print dialog box, at the start of printing.

    in article BB8F5BC1.426A%brucecoughlinnyc.rr.com, brucecoughlin at
    [email]brucecoughlinnyc.rr.com[/email] wrote on 9/18/03 12:55 PM:
    > I can't figure out how to do a print merge when using PMSheets.
    brucecoughlin Guest

  3. #3

    Default Re: printMerge and PMSheets

    brucecoughlin <brucecoughlinnyc.rr.com> wrote in message news:<BB8F6E63.4273%brucecoughlinnyc.rr.com>...
    > To be clearer: by print merge I mean printing several doents with only
    > one print dialog box, at the start of printing.
    I don't think you should use a sheet to do this. A sheet is suppose to
    only apply to one doent not many.

    In regards to your other problem about the sheet not blocking until
    the user sets the settings and clicks ok... Thats the correct
    behaviour for a sheet. They are used to "block" one doent but still
    allow the user to edit other doents that they might have open. In
    order to do this you are suppose to show the sheet and then continue
    with your normal application flow. Eventually when the user finishes
    with the sheet it will inform your app by calling the callback you
    gave it. Then you do the printing in that callback.

    Michael
    Michael Milvich Guest

  4. #4

    Default Re: printMerge and PMSheets

    Ah, ok... It looks a little weird (visually) to have a sheet come down for
    one doent, but the the old style print dialog used for any "bulk"
    printing. That's how I'm doing it now and it's working.

    I have the sheet print routines up and running really well and it IS
    impressive the way you can get back to doing other things so quickly.

    Thanks for the response.

    > I don't think you should use a sheet to do this. A sheet is suppose to
    > only apply to one doent not many.
    >
    brucecoughlin Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139