simplePrint

Ryno Swart swartart at iafrica.com
Mon Sep 13 04:29:57 EDT 2004


Baie dankie, Maestro, dit werk goed!

One more question arises: I am getting my card clipped bottom and 
right, I suppose simply because it is bigger then A4. Can I print it 
centered into the "pageRect" or something, and to the maximum printing 
area? I am getting a fat white border at the top and left, without 
which I believe it would print absolutely correctly. Trying it, I am 
getting error messages that I can't resolve.

If there is an elegant solution, Klaus, could I ask you to format it 
fully, as you did the one below? It would be very useful to more people 
than just myself.

Ryno.

> Try this:
>
> on menuPick which
>    switch which
>      case "Print this page"
>        answer "Please select landscape format in the print dialog..."
>        ## optional
>        answer printer
>        ## will display the printer dialog
>        if the result = "cancel" then exit menupick
>        ## User clicked cancel in that dialog...
>        print this card
>        break
>      case "Print the Yearbook (60 pages)"
>        answer "Please select xxx (don't know the english word :-) 
> format
> in the print dialog..."
>        ## optional
>        answer printer
>        ## will display the printer dialog
>        if the result = "cancel" then exit menupick
>        ## User clicked cancel in that dialog...
>        print this stack
>        break
>      end switch
>   end menuPick
>
> Hope that helps...



More information about the use-livecode mailing list