Ask a Question related to Mac Programming, Design and Development.
-
brucecoughlin #1
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 document (ie not in any kind of
batch mode) this is not an issue.
TIA
brucecoughlin Guest
-
brucecoughlin #2
Re: printMerge and PMSheets
To be clearer: by print merge I mean printing several documents with only
one print dialog box, at the start of printing.
in article BB8F5BC1.426A%brucecoughlin@nyc.rr.com, brucecoughlin at
[email]brucecoughlin@nyc.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
-
Michael Milvich #3
Re: printMerge and PMSheets
brucecoughlin <brucecoughlin@nyc.rr.com> wrote in message news:<BB8F6E63.4273%brucecoughlin@nyc.rr.com>...
I don't think you should use a sheet to do this. A sheet is suppose to> To be clearer: by print merge I mean printing several documents with only
> one print dialog box, at the start of printing.
only apply to one document 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 document but still
allow the user to edit other documents 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
-
brucecoughlin #4
Re: printMerge and PMSheets
Ah, ok... It looks a little weird (visually) to have a sheet come down for
one document, 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 document not many.
>brucecoughlin Guest



Reply With Quote

