[Laszlo-dev] adding printing to LZX -- need help

Max Carlson max at laszlosystems.com
Wed Jan 26 09:54:59 PST 2005


Also note that Flash won't print rotated device fonts.  I discovered 
this after much trial and error and frustration - only after decompiling 
a swf with print() and discovering the getURL("print:#bframe"...) 
oddness...  You may want to warn or at least list the deficiency in the 
docs - I hope this saves you a little time - both things bit me when I 
was printing recently...

You might also add an option to print what's on the screen with default 
scaling with LzBrowser.loadURL/getURL('print:', '').

-Max

Sarah Allen wrote:
> 
> In case anyone was wondering.  Tucker took a look at one of my test SWFs 
> and discovered....
> 
>> It's not a scoping issue.  Flash compiles:
>>
>>   print("printer", "bframe")
>>
>> into:
>>
>>   getURL("print:#bframe", "printer")
>>
>> getURL seems to be their magic catch-all loophole.
> 
> 
> I think its weird that printing is in the same place as the browser APIs 
> in Flash.  I've written up a proposed print API on the wiki -- I'll send 
> it out in a separate e-mail.
> 
> Sarah
> 
> 
> 
> 
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
> 



More information about the Laszlo-dev mailing list