Printing Crashes Rev in OSX
Sivakatirswami
katir at hindu.org
Tue Feb 1 23:09:33 EST 2005
OK problem solved and an important lesson learned.
he who fails to "break" on each case may experience strange anomalies
the culprint was in the menu selection switch statement
case "Print"
printTranscript
case "Quit"
save this stack
quit
break
end switch
changing this to
case "Print"
printTranscript
break
case "Quit"
save this stack
quit
break
and printing worked fine and Rev remained alive.. one would not expect
the switch to dropdown to "quit" since quit was not chosen, but that
appears to be what happened.
case closed....
On Feb 1, 2005, at 5:50 PM, Sivakatirswami wrote:
> Mac OSX printing greyscale to a Xerox Docucolor 3535.
>
> The following seems to be a simple enough:
>
> on printTranscript
> put the cHeader of me into tPrintTranscript
> put cr & cr after tPrintTranscript
> put fld "Transcript" after tPrintTranscript
> revShowPrintdialog, true,true
> revPrintText tPrintTranscript
> end printTranscript
>
> the "job" prints OK, but then, Rev crashes immediately after sending
> the data to the printer.
>
> ?? any clues?
>
> Sivakatirswami
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list