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

Max Carlson max at laszlosystems.com
Wed Jan 26 11:55:02 PST 2005


Sorry for the spam...

Sarah, you may also want to add a feature to print as bitmap vs. the 
default PostScript printing - it's an option in the Flash printing APIs...

-Max

Max Carlson wrote:
> Flash won't display rotated device fonts either, so this may be less 
> serious...
> 
> -Max
> 
> Max Carlson wrote:
> 
>> 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
>>>
>>
>> _______________________________________________
>> 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