Printing Problem

Yves COPPE yvescoppe at skynet.be
Tue Feb 27 01:36:03 EST 2007


Le 27 févr. 07 à 07:18, Scott Morrow a écrit :

> Hello Yves,
> I have a print routine that worked fine under 2.6.1 but now prints  
> mostly (but not completely) blank space.   I am busy poking about  
> to determine where the issue may lie.  If you learn anything in the  
> meanwhile I hope you will post your discovery.
>

>
>> Hi list
>>
>> I've a strange problem with printing in version 2.8 gm3
>> Previously since verison 1.1 until now, no problem
>> since version 2.8, it doesn't print anything !
>>
>> On mac OS Tiger Rev 2.8 gm 3
>>
>> here is my script
>>
>>
>>   put someVar into fld "body" of cd "toPrint" of stack "mi_print"
>>   put dateVar into fld "date" of cd "toPrint" of stack "mi_print"
>>   lock screen
>>   put the defaultstack into savedDefaultStack
>>   go inv to stack "mi_print"
>>   set the defaultstack to "mi_print"
>>   set the printScale to "1"
>>   set the printmargins to "18,78,72,72"
>>   open printing with dialog
>>   if the result = "cancel" then
>>     exit to top
>>   end if
>>   print card "toPrint"
>>   close printing
>>   close stack "mi_print"
>>   go to cd "Traitements" of stack "dialogues"
>>   unlock screen
>>   set the printmargins to "72,72,72,72"
>>   set the defaultstack to savedDefaultStack
>>



Hi Scott



In the above script, you replace

>>   go inv to stack "mi_print"


by

set the visible of stack "mi_print" to true
go to stack "mi_print"

...


it will work, but it is not what I want to do !!
the print preparation must be hidden to the user !




More information about the use-livecode mailing list