invalid command name "text"
    while executing
"text .t -font "{Courier New} 15 bold""
    (in namespace eval "::request" script line 3)
    invoked from within
"namespace eval ::request $script"
    ("::try" body line 12)

OUTPUT BUFFER:

#!/usr/local/bin/wish text .t -font "{Courier New} 15 bold" pack .t .t insert end "sldkfjls\nsldkfjsdkf\nsdlkfjsdlfj\nsldfkjs" package require Img image create photo .toto -format window -data .t .toto write toto.gif -format gif exit 0