SlideShare a Scribd company logo
1 of 26
Download to read offline
AIR & Printing
AIR 2, AlivePDF and PurePDF:
everything you need in your RIA or desktop apps
Luca Mezzalira
ACE and ACI on Flash, Flex with AIR and Flash Lite

Mart3 owner and Flash Platform Developer


Adobe Italy Consultant


Teacher, Writer, Adobe supporter!
Luca Mezzalira
ACE and ACI on Flash, Flex with AIR and Flash Lite

Mart3 owner and Flash Platform Developer


Adobe Italy Consultant


Teacher, Writer, Adobe supporter!


Oh, yes! I forget! I’m Chewbacca also!
Save time
when someone ask me
to print a report in my
RIA or Desktop App
Agenda
. Printing with Flash and Flex
. AIR 2 new features
. AIR 2 and PrintJob
. AlivePDF
. PurePDF
. Questions & Answear
When do you use PRINTING API?
. to print a report
. to print a form (invoice, receipt, ...)
. to print an artwork
. to prepare a PDF for typography (REMEMBER that

WE HAVE TLF)
Printing in Flash
. PrintJob class
. OS Dialog box to interact with printer
. problem to create complex documents
. problem to manage more than 1 page
. problem to print big images
. not easy to work with dynamic data
Printing with Flex
. FlexPrintJob to print Flex objects
. PrintAdvancedDataGrid
. PrintDataGrid
. PrintOLAPDataGrid
FlexPrintJob
var printJob:FlexPrintJob = new FlexPrintJob();
printJob.start();
printJob.addObject(myObject, FlexPrintJobScaleType.MATCH_WIDTH);
printJob.send();


When you call start() method Flash Player or AIR:
1. give a feedback from user’s choice (true/false)
2. retrieve page dimension from Printer


Each object added with addObject method will be
print in a different page
PrintDataGrid
//thePrintView is a custom component with PrintDataGrid component
printJob.addObject(thePrintView);
while (thePrintView.myDataGrid.validNextPage) {
    thePrintView.myDataGrid.nextPage();
    printJob.addObject(thePrintView);
}


With PrintDataGrid component you can manage
rows to print in many pages
this is the
past...
     ...now the
     PRESENT
AIR 2 new features
Multitouch API (     do you know Steve!? )
Microphone data access
Open documents with user’s default application
UDP Socket
Socket Server (this feature ROCKS!)
Screen reader support
File promises
Mass storage device detection
Printing API ( :D )
... and so on ...
AIR Printing API
. pixelsPerInch -> resolution to use for Bitmap
. printer -> set Printer
. printers -> Vector.<String> with all printers installed
. copies -> number of copies to print
. selectePaperSize() -> choose your page size
. start2() -> start a print with new API
. terminate() -> reset PrintJob object if you need it
AIR Printing API
PrintMethod:
   . AUTO -> Automatic selection of best method of printing
   . VECTOR -> ehm... maybe print with Vector method?
   . BITMAP -> mumble, mumble... DOH!



PrintIUIOptions -> need to manage Print Dialog Box

Everything you need it’s Language Reference!!!
AlivePDF
AS3 PDF library                        AlivePDF works with:
                                           Images, EPS files,
you can use online                      Vectors, Embedded
and offline                                          Fonts...

you don’t need                          You can add in your
any serverside                                  PDF: links,
script                                          transitions,
                                              PDF settings,
                                                          ...
                     THANK YOU MATE!
AlivePDF
Steps to work with AlivePDF API:
1. create a PDF object
2. addPage()
3. add content (images, text, eps...)
3a. (Optional) setting your PDF...
4. save it with FileReference or FileStream
AlivePDF - case history
My client ask me to create a comic creator that
runs on Mac and PC without installation



What do I need ???
Flash + Zinc + AlivePDF
PurePDF
It’s a very powerful PDF library made by Sephiroth
http://www.sephiroth.it/weblog/archives/2010/02/
purepdf_a_complete_actionscript_pdf_l.php

PurePDF has tons of cool features:
. barcode generator
. multi column
. embedded movies
. metadata, page headers, page footers
. vertical text
. javascript
... and so on
PurePDF
This library is targeted for Flash Player 10

For any help, doubt or more use PurePDF list:
http://code.google.com/p/purepdf/issues/list

Sepy and his team is working on this open-source as3 libs so in
the next future will see new amazing functionalities!!!
Resources
ALIVEpdf
http://code.google.com/p/alivepdf/
PUREpdf
http://code.google.com/p/purepdf/
FlexReport
http://flexreport.riaforge.org/
Finally...
my “thoughts” about Flash Platform attack:
my “thoughts” about Flash Platform attack:




HTML 5, Apple and so on!
my “thoughts” about Flash Platform attack:




HTML 5, Apple and so on!

                      NO
OOP, Design Patterns, workflow, TLF, real multiple
screen deployment...
to lose your time with this cool shit!



blog:lucamezzalira.com                email:luca@mart3.org
twitter:lucamezzalira                  site:www.mart3.org

More Related Content

What's hot

Creating Mobile Content Using Flash
Creating Mobile Content Using FlashCreating Mobile Content Using Flash
Creating Mobile Content Using Flashpaultrani
 
Flash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen DevelopmentFlash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen DevelopmentRyan Stewart
 
What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2Joseph Labrecque
 
Building apps for multiple devices
Building apps for multiple devicesBuilding apps for multiple devices
Building apps for multiple devicesTerry Ryan
 
Apps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapApps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapChristian Grobmeier
 
Smartface ile Crossplatform Uygulama Geliştirme
Smartface ile Crossplatform Uygulama GeliştirmeSmartface ile Crossplatform Uygulama Geliştirme
Smartface ile Crossplatform Uygulama GeliştirmeMobile İstanbul
 
Lcds & Blaze Ds by Corneliu Creanga
Lcds & Blaze Ds by Corneliu CreangaLcds & Blaze Ds by Corneliu Creanga
Lcds & Blaze Ds by Corneliu CreangaJUG Genova
 
Introduction to Apache Cordova (Phonegap)
Introduction to Apache Cordova (Phonegap)Introduction to Apache Cordova (Phonegap)
Introduction to Apache Cordova (Phonegap)ejlp12
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash PlatformMihai Corlan
 
Naoki Hada iOS/Web/Mobile/Flash/RIA portfolio
Naoki Hada iOS/Web/Mobile/Flash/RIA portfolioNaoki Hada iOS/Web/Mobile/Flash/RIA portfolio
Naoki Hada iOS/Web/Mobile/Flash/RIA portfoliohadanaoki
 
Flex multi-screen development
Flex multi-screen developmentFlex multi-screen development
Flex multi-screen developmenteaselsolutions
 
Benefits of xamarin
Benefits of xamarinBenefits of xamarin
Benefits of xamarinMindfire LLC
 
ADOBE CREATIVE SUITE 5 Web Premiumご紹介
ADOBE CREATIVE SUITE 5 Web Premiumご紹介ADOBE CREATIVE SUITE 5 Web Premiumご紹介
ADOBE CREATIVE SUITE 5 Web Premiumご紹介Mariko Nishimura
 
Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Joseph Labrecque
 
GPGPU in Commercial Software: Lessons From Three Cycles of the Adobe Creative...
GPGPU in Commercial Software: Lessons From Three Cycles of the Adobe Creative...GPGPU in Commercial Software: Lessons From Three Cycles of the Adobe Creative...
GPGPU in Commercial Software: Lessons From Three Cycles of the Adobe Creative...Kevin Goldsmith
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGapJoseph Labrecque
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikMukteswar Patnaik
 
Developing for Mobile with Adobe AIR
Developing for Mobile with Adobe AIRDeveloping for Mobile with Adobe AIR
Developing for Mobile with Adobe AIRMatthew Fabb
 

What's hot (20)

Creating Mobile Content Using Flash
Creating Mobile Content Using FlashCreating Mobile Content Using Flash
Creating Mobile Content Using Flash
 
Embarcadero RAD Studio XE3 presentation
Embarcadero RAD Studio XE3 presentationEmbarcadero RAD Studio XE3 presentation
Embarcadero RAD Studio XE3 presentation
 
Flash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen DevelopmentFlash Builder and Flex Future - Multiscreen Development
Flash Builder and Flex Future - Multiscreen Development
 
What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2What’s New in Flash Player 11.2 and Adobe AIR 3.2
What’s New in Flash Player 11.2 and Adobe AIR 3.2
 
Building apps for multiple devices
Building apps for multiple devicesBuilding apps for multiple devices
Building apps for multiple devices
 
Apps with Apache Cordova and Phonegap
Apps with Apache Cordova and PhonegapApps with Apache Cordova and Phonegap
Apps with Apache Cordova and Phonegap
 
Smartface ile Crossplatform Uygulama Geliştirme
Smartface ile Crossplatform Uygulama GeliştirmeSmartface ile Crossplatform Uygulama Geliştirme
Smartface ile Crossplatform Uygulama Geliştirme
 
Introducing J2ME Polish
Introducing J2ME PolishIntroducing J2ME Polish
Introducing J2ME Polish
 
Lcds & Blaze Ds by Corneliu Creanga
Lcds & Blaze Ds by Corneliu CreangaLcds & Blaze Ds by Corneliu Creanga
Lcds & Blaze Ds by Corneliu Creanga
 
Introduction to Apache Cordova (Phonegap)
Introduction to Apache Cordova (Phonegap)Introduction to Apache Cordova (Phonegap)
Introduction to Apache Cordova (Phonegap)
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash Platform
 
Naoki Hada iOS/Web/Mobile/Flash/RIA portfolio
Naoki Hada iOS/Web/Mobile/Flash/RIA portfolioNaoki Hada iOS/Web/Mobile/Flash/RIA portfolio
Naoki Hada iOS/Web/Mobile/Flash/RIA portfolio
 
Flex multi-screen development
Flex multi-screen developmentFlex multi-screen development
Flex multi-screen development
 
Benefits of xamarin
Benefits of xamarinBenefits of xamarin
Benefits of xamarin
 
ADOBE CREATIVE SUITE 5 Web Premiumご紹介
ADOBE CREATIVE SUITE 5 Web Premiumご紹介ADOBE CREATIVE SUITE 5 Web Premiumご紹介
ADOBE CREATIVE SUITE 5 Web Premiumご紹介
 
Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.Adobe AIR. NativeProcess. FFMPEG. Awesome.
Adobe AIR. NativeProcess. FFMPEG. Awesome.
 
GPGPU in Commercial Software: Lessons From Three Cycles of the Adobe Creative...
GPGPU in Commercial Software: Lessons From Three Cycles of the Adobe Creative...GPGPU in Commercial Software: Lessons From Three Cycles of the Adobe Creative...
GPGPU in Commercial Software: Lessons From Three Cycles of the Adobe Creative...
 
Getting Acquainted with PhoneGap
Getting Acquainted with PhoneGapGetting Acquainted with PhoneGap
Getting Acquainted with PhoneGap
 
Xamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar PatnaikXamarin COE by Mukteswar Patnaik
Xamarin COE by Mukteswar Patnaik
 
Developing for Mobile with Adobe AIR
Developing for Mobile with Adobe AIRDeveloping for Mobile with Adobe AIR
Developing for Mobile with Adobe AIR
 

Similar to Adobe AIR & Printing

Phpconf taiwan-2012
Phpconf taiwan-2012Phpconf taiwan-2012
Phpconf taiwan-2012Hash Lin
 
Proyecto de microcontroladores
Proyecto de microcontroladoresProyecto de microcontroladores
Proyecto de microcontroladoresCarlos Molina
 
Open Source Tools for User Assistance
Open Source Tools for User AssistanceOpen Source Tools for User Assistance
Open Source Tools for User AssistanceMichael McCallister
 
Elem of design unit 7 module 2 investigation of fonts
Elem of design unit 7 module 2 investigation of fontsElem of design unit 7 module 2 investigation of fonts
Elem of design unit 7 module 2 investigation of fontskateridrex
 
Getting Started with Adobe AIR 1.5
Getting Started with Adobe AIR 1.5Getting Started with Adobe AIR 1.5
Getting Started with Adobe AIR 1.5Elad Elrom
 
Vocabulario sena completo
Vocabulario sena completoVocabulario sena completo
Vocabulario sena completoalisson
 
Vocabulario sena completo
Vocabulario sena completoVocabulario sena completo
Vocabulario sena completoalisson
 
Understanding PDF workflows
Understanding PDF workflowsUnderstanding PDF workflows
Understanding PDF workflowsVIGCbe
 
A 'realistic' understanding of PDF production workflows
A 'realistic' understanding of PDF production workflowsA 'realistic' understanding of PDF production workflows
A 'realistic' understanding of PDF production workflowsVIGCbe
 
Cool Tools for Technical Writers
Cool Tools for Technical WritersCool Tools for Technical Writers
Cool Tools for Technical WritersJeff Haas
 
VeryPDF .NET PDF Editor SDK for Developers Royalty Free _ VeryPDF Knowledge B...
VeryPDF .NET PDF Editor SDK for Developers Royalty Free _ VeryPDF Knowledge B...VeryPDF .NET PDF Editor SDK for Developers Royalty Free _ VeryPDF Knowledge B...
VeryPDF .NET PDF Editor SDK for Developers Royalty Free _ VeryPDF Knowledge B...Lingwen1998
 
PHP on IBM i Tutorial
PHP on IBM i TutorialPHP on IBM i Tutorial
PHP on IBM i TutorialZendCon
 
Software Alternatives to What We Use
Software Alternatives to What We UseSoftware Alternatives to What We Use
Software Alternatives to What We Usevtstc
 

Similar to Adobe AIR & Printing (20)

PDF
PDFPDF
PDF
 
Media q6
Media q6Media q6
Media q6
 
Phpconf taiwan-2012
Phpconf taiwan-2012Phpconf taiwan-2012
Phpconf taiwan-2012
 
Proyecto de microcontroladores
Proyecto de microcontroladoresProyecto de microcontroladores
Proyecto de microcontroladores
 
Perfect pdf sample
Perfect pdf samplePerfect pdf sample
Perfect pdf sample
 
Open Source Tools for User Assistance
Open Source Tools for User AssistanceOpen Source Tools for User Assistance
Open Source Tools for User Assistance
 
Elem of design unit 7 module 2 investigation of fonts
Elem of design unit 7 module 2 investigation of fontsElem of design unit 7 module 2 investigation of fonts
Elem of design unit 7 module 2 investigation of fonts
 
Getting Started with Adobe AIR 1.5
Getting Started with Adobe AIR 1.5Getting Started with Adobe AIR 1.5
Getting Started with Adobe AIR 1.5
 
Question 6
Question 6Question 6
Question 6
 
Vocabulario sena completo
Vocabulario sena completoVocabulario sena completo
Vocabulario sena completo
 
Vocabulario sena completo
Vocabulario sena completoVocabulario sena completo
Vocabulario sena completo
 
Understanding PDF workflows
Understanding PDF workflowsUnderstanding PDF workflows
Understanding PDF workflows
 
Winbatch
WinbatchWinbatch
Winbatch
 
A 'realistic' understanding of PDF production workflows
A 'realistic' understanding of PDF production workflowsA 'realistic' understanding of PDF production workflows
A 'realistic' understanding of PDF production workflows
 
Cool Tools for Technical Writers
Cool Tools for Technical WritersCool Tools for Technical Writers
Cool Tools for Technical Writers
 
VeryPDF .NET PDF Editor SDK for Developers Royalty Free _ VeryPDF Knowledge B...
VeryPDF .NET PDF Editor SDK for Developers Royalty Free _ VeryPDF Knowledge B...VeryPDF .NET PDF Editor SDK for Developers Royalty Free _ VeryPDF Knowledge B...
VeryPDF .NET PDF Editor SDK for Developers Royalty Free _ VeryPDF Knowledge B...
 
PHP on IBM i Tutorial
PHP on IBM i TutorialPHP on IBM i Tutorial
PHP on IBM i Tutorial
 
MODULE 1.pptx
MODULE 1.pptxMODULE 1.pptx
MODULE 1.pptx
 
Software Alternatives to What We Use
Software Alternatives to What We UseSoftware Alternatives to What We Use
Software Alternatives to What We Use
 
Question 6
Question 6Question 6
Question 6
 

More from luca mezzalira

Mvi an architecture for reactive programming
Mvi an architecture for reactive programmingMvi an architecture for reactive programming
Mvi an architecture for reactive programmingluca mezzalira
 
Cycle.js a reactive framework
Cycle.js  a reactive frameworkCycle.js  a reactive framework
Cycle.js a reactive frameworkluca mezzalira
 
Reactive programming with cycle.js
Reactive programming with cycle.jsReactive programming with cycle.js
Reactive programming with cycle.jsluca mezzalira
 
Next generation of frontend architectures
Next generation of frontend architecturesNext generation of frontend architectures
Next generation of frontend architecturesluca mezzalira
 
Evolution of front end architectures
Evolution of front end architecturesEvolution of front end architectures
Evolution of front end architecturesluca mezzalira
 
Kaizen - the key of continuos improvement
Kaizen - the key of continuos improvementKaizen - the key of continuos improvement
Kaizen - the key of continuos improvementluca mezzalira
 
Having fun with Adobe AIR 2013
Having fun with Adobe AIR 2013Having fun with Adobe AIR 2013
Having fun with Adobe AIR 2013luca mezzalira
 
Flash Platform su dispositivi mobili
Flash Platform su dispositivi mobiliFlash Platform su dispositivi mobili
Flash Platform su dispositivi mobililuca mezzalira
 
Flash Platform Ovierview
Flash Platform OvierviewFlash Platform Ovierview
Flash Platform Ovierviewluca mezzalira
 
Using design pattern for mobile
Using design pattern for mobileUsing design pattern for mobile
Using design pattern for mobileluca mezzalira
 
Sviluppo di contenuti Flash Platform su iOS e Android
Sviluppo di contenuti Flash Platform su iOS e AndroidSviluppo di contenuti Flash Platform su iOS e Android
Sviluppo di contenuti Flash Platform su iOS e Androidluca mezzalira
 
Actionscript 3 Design Pattern
Actionscript 3 Design PatternActionscript 3 Design Pattern
Actionscript 3 Design Patternluca mezzalira
 
Flash Platform & Android
Flash Platform & AndroidFlash Platform & Android
Flash Platform & Androidluca mezzalira
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash Platformluca mezzalira
 

More from luca mezzalira (14)

Mvi an architecture for reactive programming
Mvi an architecture for reactive programmingMvi an architecture for reactive programming
Mvi an architecture for reactive programming
 
Cycle.js a reactive framework
Cycle.js  a reactive frameworkCycle.js  a reactive framework
Cycle.js a reactive framework
 
Reactive programming with cycle.js
Reactive programming with cycle.jsReactive programming with cycle.js
Reactive programming with cycle.js
 
Next generation of frontend architectures
Next generation of frontend architecturesNext generation of frontend architectures
Next generation of frontend architectures
 
Evolution of front end architectures
Evolution of front end architecturesEvolution of front end architectures
Evolution of front end architectures
 
Kaizen - the key of continuos improvement
Kaizen - the key of continuos improvementKaizen - the key of continuos improvement
Kaizen - the key of continuos improvement
 
Having fun with Adobe AIR 2013
Having fun with Adobe AIR 2013Having fun with Adobe AIR 2013
Having fun with Adobe AIR 2013
 
Flash Platform su dispositivi mobili
Flash Platform su dispositivi mobiliFlash Platform su dispositivi mobili
Flash Platform su dispositivi mobili
 
Flash Platform Ovierview
Flash Platform OvierviewFlash Platform Ovierview
Flash Platform Ovierview
 
Using design pattern for mobile
Using design pattern for mobileUsing design pattern for mobile
Using design pattern for mobile
 
Sviluppo di contenuti Flash Platform su iOS e Android
Sviluppo di contenuti Flash Platform su iOS e AndroidSviluppo di contenuti Flash Platform su iOS e Android
Sviluppo di contenuti Flash Platform su iOS e Android
 
Actionscript 3 Design Pattern
Actionscript 3 Design PatternActionscript 3 Design Pattern
Actionscript 3 Design Pattern
 
Flash Platform & Android
Flash Platform & AndroidFlash Platform & Android
Flash Platform & Android
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash Platform
 

Recently uploaded

Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaCzechDreamin
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxDavid Michel
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceSamy Fodil
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsStefano
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024Stephen Perrenod
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfFIDO Alliance
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...FIDO Alliance
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...FIDO Alliance
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Julian Hyde
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfSrushith Repakula
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlPeter Udo Diehl
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераMark Opanasiuk
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FIDO Alliance
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfFIDO Alliance
 

Recently uploaded (20)

Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
WebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM PerformanceWebAssembly is Key to Better LLM Performance
WebAssembly is Key to Better LLM Performance
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 
TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024TopCryptoSupers 12thReport OrionX May2024
TopCryptoSupers 12thReport OrionX May2024
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024Enterprise Knowledge Graphs - Data Summit 2024
Enterprise Knowledge Graphs - Data Summit 2024
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
How we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdfHow we scaled to 80K users by doing nothing!.pdf
How we scaled to 80K users by doing nothing!.pdf
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Intro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджераIntro in Product Management - Коротко про професію продакт менеджера
Intro in Product Management - Коротко про професію продакт менеджера
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 

Adobe AIR & Printing

  • 1. AIR & Printing AIR 2, AlivePDF and PurePDF: everything you need in your RIA or desktop apps
  • 2. Luca Mezzalira ACE and ACI on Flash, Flex with AIR and Flash Lite Mart3 owner and Flash Platform Developer Adobe Italy Consultant Teacher, Writer, Adobe supporter!
  • 3. Luca Mezzalira ACE and ACI on Flash, Flex with AIR and Flash Lite Mart3 owner and Flash Platform Developer Adobe Italy Consultant Teacher, Writer, Adobe supporter! Oh, yes! I forget! I’m Chewbacca also!
  • 4. Save time when someone ask me to print a report in my RIA or Desktop App
  • 5. Agenda . Printing with Flash and Flex . AIR 2 new features . AIR 2 and PrintJob . AlivePDF . PurePDF . Questions & Answear
  • 6. When do you use PRINTING API? . to print a report . to print a form (invoice, receipt, ...) . to print an artwork . to prepare a PDF for typography (REMEMBER that WE HAVE TLF)
  • 7. Printing in Flash . PrintJob class . OS Dialog box to interact with printer . problem to create complex documents . problem to manage more than 1 page . problem to print big images . not easy to work with dynamic data
  • 8. Printing with Flex . FlexPrintJob to print Flex objects . PrintAdvancedDataGrid . PrintDataGrid . PrintOLAPDataGrid
  • 9. FlexPrintJob var printJob:FlexPrintJob = new FlexPrintJob(); printJob.start(); printJob.addObject(myObject, FlexPrintJobScaleType.MATCH_WIDTH); printJob.send(); When you call start() method Flash Player or AIR: 1. give a feedback from user’s choice (true/false) 2. retrieve page dimension from Printer Each object added with addObject method will be print in a different page
  • 10. PrintDataGrid //thePrintView is a custom component with PrintDataGrid component printJob.addObject(thePrintView); while (thePrintView.myDataGrid.validNextPage) { thePrintView.myDataGrid.nextPage(); printJob.addObject(thePrintView); } With PrintDataGrid component you can manage rows to print in many pages
  • 11. this is the past... ...now the PRESENT
  • 12. AIR 2 new features Multitouch API ( do you know Steve!? ) Microphone data access Open documents with user’s default application UDP Socket Socket Server (this feature ROCKS!) Screen reader support File promises Mass storage device detection Printing API ( :D ) ... and so on ...
  • 13. AIR Printing API . pixelsPerInch -> resolution to use for Bitmap . printer -> set Printer . printers -> Vector.<String> with all printers installed . copies -> number of copies to print . selectePaperSize() -> choose your page size . start2() -> start a print with new API . terminate() -> reset PrintJob object if you need it
  • 14. AIR Printing API PrintMethod: . AUTO -> Automatic selection of best method of printing . VECTOR -> ehm... maybe print with Vector method? . BITMAP -> mumble, mumble... DOH! PrintIUIOptions -> need to manage Print Dialog Box Everything you need it’s Language Reference!!!
  • 15. AlivePDF AS3 PDF library AlivePDF works with: Images, EPS files, you can use online Vectors, Embedded and offline Fonts... you don’t need You can add in your any serverside PDF: links, script transitions, PDF settings, ... THANK YOU MATE!
  • 16. AlivePDF Steps to work with AlivePDF API: 1. create a PDF object 2. addPage() 3. add content (images, text, eps...) 3a. (Optional) setting your PDF... 4. save it with FileReference or FileStream
  • 17. AlivePDF - case history My client ask me to create a comic creator that runs on Mac and PC without installation What do I need ??? Flash + Zinc + AlivePDF
  • 18. PurePDF It’s a very powerful PDF library made by Sephiroth http://www.sephiroth.it/weblog/archives/2010/02/ purepdf_a_complete_actionscript_pdf_l.php PurePDF has tons of cool features: . barcode generator . multi column . embedded movies . metadata, page headers, page footers . vertical text . javascript ... and so on
  • 19. PurePDF This library is targeted for Flash Player 10 For any help, doubt or more use PurePDF list: http://code.google.com/p/purepdf/issues/list Sepy and his team is working on this open-source as3 libs so in the next future will see new amazing functionalities!!!
  • 22. my “thoughts” about Flash Platform attack:
  • 23. my “thoughts” about Flash Platform attack: HTML 5, Apple and so on!
  • 24. my “thoughts” about Flash Platform attack: HTML 5, Apple and so on! NO OOP, Design Patterns, workflow, TLF, real multiple screen deployment...
  • 25.
  • 26. to lose your time with this cool shit! blog:lucamezzalira.com email:luca@mart3.org twitter:lucamezzalira site:www.mart3.org