Printing off card
Mark Schonewille
m.schonewille at economy-x-talk.com
Fri Jul 25 11:27:06 EDT 2008
Charles,
lock screen
push cd
print cd
pop cd
unlock screen
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html
for more info.
On 25 jul 2008, at 17:20, Charles Szasz wrote:
>
> I am using Rev 2.9. I have a two card stack. The first card is the app
> itself. The second card (print card) is the card I use for printing.
> The
> basic information consisting of 16 fields is transferred to the
> second card.
> When I use the following code, the second card appears on the screen
> on the
> Macintosh instead of the first card. I have not tested it yet on
> Windows.
> How can I prevent the second card from appearing after printing?
>
> on mouseUp pMouseBtnNo
> if field "total" > ""
> then
> hide group "menubar 1" of card "Print"
>
> if the platform is "macos"
> then
> open printing with dialog as sheet
> set the printmargins to 0,0,612,792
> print card "print"
> show group "menubar 1" of card "Print"
> close printing
> end if
>
> if the platform is "win32"
> then
> set the printmargins to 0,0,612,792
> open printing
> print marked cards
> -- print card "print"
> close printing
> end if
> else
> answer information "There is nothing to print."
> end if
>
> end mouseUp
More information about the use-livecode
mailing list