SlideShare a Scribd company logo
1 of 60
The Third Screen
Designing for Print with HTML+CSS
#printdev
William Hertling
@hertling
Hewlett-Packard
print-dev.com
Agenda
• Background
– My interest
– The Third Screen
• How To
– Website Printing
– Non-web content
• Resources
– HP Link Technology
– Print-Dev Community
• Wrap Up & Questions
When I’m Not At HP…
• I write and publish science
fiction novels.
• Part of publishing is
making:
– Ebooks
– Print books
eBook workflow
• Setup: 2-3 hours
• Repeating process: 1 minute
Export to ePUB
Manuscript
(in Scrivener)
EPUB
Print Process
Export to
Microsoft Doc
Manuscript
(in Scrivener)
.docx
Email to
designer
Imports into
InDesign
Lays out in
InDesign
PDF
Email PDF Proof PDF
Communicate fixes with
“On page 136, paragraph 3,
line 2, word 4:…”
Email
Fixes
Fix in
InDesign
PDF Repeat 5 to
10x
What I wanted
A fully-automated manuscript-to-PDF tool that
would let me meet all of my print design needs:
Typography, line-spacing, justification, hyphenation,
alternating margins, header and footers,
widow/orphan control, dropcaps, chapter opening
formatting, page numbering control, special
formatting for different pages, left & right line
alignment, front matter, after matter, etc.
THE QUEST FOR THE HOLY GRAIL
Enter HTML+CSS
• After weeks of research, settled on HTML+CSS
• The print-focused alternatives (LaTeX, RTF) are
ancient.
• Familiar set of tools.
• One workflow, multiple outputs: both web
and print.
That’s how I got into tools for print.
What about The Third Screen?
The Third Screen Benefits
• High information density: A well-designed page can
contain a tremendous amount of high-resolution data, both
text and pictures.
• Water and dirt resistant: making it appropriate for
kitchens, construction work, and other places with exposure.
• Shareable: give it to someone.
• Postable: hang it on the wall or in a window.
• Recyclable: When you’re done with it, stick it in recycling.
• Markable: Draw on it, scribble notes, etc.
Print Gone Wrong: Wired
18 mostly wasted pages:
7 unusable pages of links to other articles
1 unusable page of advertisements
1 page article, poorly formatted
5 pages of comments on the article
5 unusable pages of links to Wired writers
~1 page article
Paper’s Changing Role
2005 2015
Paper is storage.
Printed content exists
standalone. You don’t know
where it came from, and you
might not be able to recreate it.
It becomes essential to hold
onto the paper.
Paper is a transitory way to
consume content that’s best
view on paper.
Content originates on web, and
still exists there. When you’re
done with a recipe, you might
scribble some notes on it, but
you’re equally likely to toss it
and just print it the next time
you need it.
Printing Scenarios
Scenario Description Considerations
Web Browser
File -> Print
Use media queries to
detect printed media, and
use CSS rules to format
content appropriately.
Cross-browser rendering
differences. Browsers don’t
support more sophisticated
print needs.
Webpage to
PDF
On the server, turn
webpage into PDF, return
PDF to user.
Consistent, high-fidelity
results across browsers,
including mobile. A little more
complicated to implement.
Non-web
content to
PDF
Generate HTML
representation of content,
turn into PDF.
Compared to InDesign, more
work to initially implement.
But subsequent variations
much easier to create.
Agenda
• Background
– My interest
– The Third Screen
• How To
– Website Printing
– Non-web content
• Resources
– HP Link Technology
– Print-Dev Community
• Wrap Up & Questions
Media Queries vs PDF
• Example uses HTML to PDF tools
• Most can also be done in-browser with media
queries.
– I’ll try to differentiate which works where.
• At the end, I’ll quickly cover a couple of media
query examples.
Tools for HTML -> PDF
• wkhtmltopdf
– Free & open source!
– Pretty good, most of the time.
– Rails GEM makes generating PDF as easy as requesting url.pdf
– It doesn’t support every last print-specific feature.
– Sometimes tricky to get working.
• PrinceXML
– Expensive & closed source!
– But really amazing.
– Robust and comprehensive support for all print styling.
– Stack Overflow: “I wish I had switched to PrinceXML sooner.”
– This is what we use for most of our projects.
• And many others…including newcomers.
PrinceXML.com
for more samples
PrinceXML.com
for more samples
Getting started
All of this available at print-dev.com/tutorials
Eliminate unnecessary content
• Turning off just the sidebar and global nav
shrinks the PDF from 18 pages to 5, and from
6MB to 136KB.
• Use Inspect Element in Chrome to see what’s
generating what on the page.
• Turning off everything unnecessary gets it down
to 3 pages 0:15
Once you get rid of the cruft,
make it awesome*
*I am not a designer.
0:30
Formatting the Body
• Short lines are easier to read
– Magazines and newspapers use narrow columns
– Two-column layout
• Justification and hyphenation improve readability
– Justification without hyphenation leads to bad spacing
• Big photos look great online but waste ink
• Printed links are useless
– Options:
• Turn off the link
• Display destination url
• Display shortened destination url
– For today, we’ll just turn off the blue underlined links.
All units in pt for points, not pixels.
1 point = 1 / 72nd inch
Reduced 18
pages to 1.
Two column
layout.
Appropriate
line spacing.
Fixed
typography
(font face,
justification,
hyphenation)
Undid link
styling.
Reduced 18
pages to 1.
Two column
layout.
Appropriate
line spacing.
Fixed
typography
(font face,
justification,
hyphenation)
Undid link
styling.
Made ink-
wise
choices.
Reasonably
attractive
compared to
original.
1 hour
invested.
Styling
works for all
Wired
articles.
PDF Generation vs. Media Queries
• Much of what I’ve shown can be achieved in
browser using print media queries.
• But browser support of multiple column layout
and hyphenation varies (read: doesn’t exist).
• PDFs generated on server guarantees consistency
across all browsers, even for mobile.
– Web-assisted mobile print
– When a user wants to print on a mobile device, let the
web server render the PDF, and just use the mobile OS
capabilities to send PDF to printer.
Using Media Queries
See Media Queries tutorial at
print-dev.com/tutorials
Agenda
• Background
– My interest
– The Third Screen
• How To
– Website Printing
– Non-web content
• Reources
– HP Link Technology
– Print-Dev Community
• Wrap Up & Questions
Web vs. Non-web Content
Type Format Needs
Web
Content
Article, Reports, Bills Basic margins, layout,
typography, image size
control.
Non-web
Content
Book, Poster,
Brochure, Product
Catalog, Newsletter,
etc.
Advanced page control,
sophisticated
header/footer, advanced
typography, precision
layout.
One Prerequisite
• Get your content into HTML
• How
– export to HTML
– generate HTML based on DB data
– create protected web view
• Out of scope for today!
Custom Pages and Margins
Code still at print-dev.com/tutorials. :)
Headers & Footers
Sets the page
Uses the page
Margin boxes
Part of CSS3 standard, but
only fully supported by
PrinceXML
More info: “css3 paged media”
http://www.w3.org/TR/css3-page/
Valid pseudo-selectors: left, right, blank, first
Valid values: right, left, always
Supported by all
Supported by PrinceXML
• Line spacing interval is key to alignment across pages.
• Everything has to be a multiple of your body line-height.
• Error was 12pt margin-top:
• Dropcaps: 2,000 year old solution to marking
chapters in hand-written manuscripts
Summary of non-web printing
• Content in HTML
• Page size and margins corresponding to expected
media
• CSS3 margin boxes to place header, footer, and other
surrounding content
• Named pages, if necessary, to style sections differently
• Print typography, including serif font and generous line
spacing
• Multiples of line-height to maintain alignment
• Dropcap technique
Agenda
• Background
– My interest
– The Third Screen
• How To
– Website Printing
– Non-web content
• Resources
– HP Link Technology
– Print-Dev Community
• Wrap Up & Questions
HP Link Technology
HP Link Technology
• Insert video here – Julie researching
Try this at home!
• HTML+CSS can be an effective way to generate good prints.
• For websites:
– A better experience for users who print.
– The right medium for your content (e.g. recipe on the kitchen
counter.)
– Your content visible in a new inherently postable/shareable
form.
– 1-2 hours to a better printing website.
– PDF creation helps avoid cross-browser and mobile browser
issues.
• For non-web content:
– An easier, fully automated way to generate PDFs.
– Robust support of even complex print needs.
– Relies on technology developers and designers understand well.
Questions?
Thank You!
William Hertling
Hewlett-Packard
@hertling
print-dev.com

More Related Content

Similar to The Third Screen: Using HTML+CSS to format for Print

Introduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesignIntroduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesign
ipmindthegap
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
Frédéric Harper
 

Similar to The Third Screen: Using HTML+CSS to format for Print (20)

Making Your Site Printable: Booster Conference
Making Your Site Printable: Booster ConferenceMaking Your Site Printable: Booster Conference
Making Your Site Printable: Booster Conference
 
MagNet 2013 - PR1 2013
MagNet 2013 - PR1 2013MagNet 2013 - PR1 2013
MagNet 2013 - PR1 2013
 
Week 8 - Interactive News Editing and Producing
Week 8 - Interactive News Editing and ProducingWeek 8 - Interactive News Editing and Producing
Week 8 - Interactive News Editing and Producing
 
CCS PPT 10.pptx
CCS PPT 10.pptxCCS PPT 10.pptx
CCS PPT 10.pptx
 
University of Portsmouth Library: A practical approach to Responsive Design
University of Portsmouth Library: A practical approach to Responsive Design University of Portsmouth Library: A practical approach to Responsive Design
University of Portsmouth Library: A practical approach to Responsive Design
 
Basics of Web Design: A primer of what you need to know to design for the web
Basics of Web Design: A primer of what you need to know to design for the webBasics of Web Design: A primer of what you need to know to design for the web
Basics of Web Design: A primer of what you need to know to design for the web
 
Web Service Creation in HTML5
Web Service Creation in HTML5Web Service Creation in HTML5
Web Service Creation in HTML5
 
Making Your Site Printable: CSS Summit 2014
Making Your Site Printable: CSS Summit 2014Making Your Site Printable: CSS Summit 2014
Making Your Site Printable: CSS Summit 2014
 
Web design
Web designWeb design
Web design
 
Word processing-dtp
Word processing-dtpWord processing-dtp
Word processing-dtp
 
Developing a practical HTML5 magazine workflow
Developing a practical HTML5 magazine workflowDeveloping a practical HTML5 magazine workflow
Developing a practical HTML5 magazine workflow
 
J105 Web Design
J105 Web DesignJ105 Web Design
J105 Web Design
 
How To Start A Web Design Business
How To Start A Web Design BusinessHow To Start A Web Design Business
How To Start A Web Design Business
 
Introduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesignIntroduction about wireframing and responsive webdesign
Introduction about wireframing and responsive webdesign
 
Responsive Web Design_2013
Responsive Web Design_2013Responsive Web Design_2013
Responsive Web Design_2013
 
FITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web DesignFITC - 2012-04-23 - Responsive Web Design
FITC - 2012-04-23 - Responsive Web Design
 
Responsive Web Design
Responsive Web Design Responsive Web Design
Responsive Web Design
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 
webdesign.ppt
webdesign.pptwebdesign.ppt
webdesign.ppt
 

Recently uploaded

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Recently uploaded (20)

Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 

The Third Screen: Using HTML+CSS to format for Print

  • 1. The Third Screen Designing for Print with HTML+CSS #printdev William Hertling @hertling Hewlett-Packard print-dev.com
  • 2. Agenda • Background – My interest – The Third Screen • How To – Website Printing – Non-web content • Resources – HP Link Technology – Print-Dev Community • Wrap Up & Questions
  • 3. When I’m Not At HP… • I write and publish science fiction novels. • Part of publishing is making: – Ebooks – Print books
  • 4. eBook workflow • Setup: 2-3 hours • Repeating process: 1 minute Export to ePUB Manuscript (in Scrivener) EPUB
  • 5. Print Process Export to Microsoft Doc Manuscript (in Scrivener) .docx Email to designer Imports into InDesign Lays out in InDesign PDF Email PDF Proof PDF Communicate fixes with “On page 136, paragraph 3, line 2, word 4:…” Email Fixes Fix in InDesign PDF Repeat 5 to 10x
  • 6. What I wanted A fully-automated manuscript-to-PDF tool that would let me meet all of my print design needs: Typography, line-spacing, justification, hyphenation, alternating margins, header and footers, widow/orphan control, dropcaps, chapter opening formatting, page numbering control, special formatting for different pages, left & right line alignment, front matter, after matter, etc.
  • 7. THE QUEST FOR THE HOLY GRAIL
  • 8. Enter HTML+CSS • After weeks of research, settled on HTML+CSS • The print-focused alternatives (LaTeX, RTF) are ancient. • Familiar set of tools. • One workflow, multiple outputs: both web and print.
  • 9. That’s how I got into tools for print. What about The Third Screen?
  • 10.
  • 11.
  • 12. The Third Screen Benefits • High information density: A well-designed page can contain a tremendous amount of high-resolution data, both text and pictures. • Water and dirt resistant: making it appropriate for kitchens, construction work, and other places with exposure. • Shareable: give it to someone. • Postable: hang it on the wall or in a window. • Recyclable: When you’re done with it, stick it in recycling. • Markable: Draw on it, scribble notes, etc.
  • 13. Print Gone Wrong: Wired 18 mostly wasted pages: 7 unusable pages of links to other articles 1 unusable page of advertisements 1 page article, poorly formatted 5 pages of comments on the article 5 unusable pages of links to Wired writers ~1 page article
  • 14. Paper’s Changing Role 2005 2015 Paper is storage. Printed content exists standalone. You don’t know where it came from, and you might not be able to recreate it. It becomes essential to hold onto the paper. Paper is a transitory way to consume content that’s best view on paper. Content originates on web, and still exists there. When you’re done with a recipe, you might scribble some notes on it, but you’re equally likely to toss it and just print it the next time you need it.
  • 15. Printing Scenarios Scenario Description Considerations Web Browser File -> Print Use media queries to detect printed media, and use CSS rules to format content appropriately. Cross-browser rendering differences. Browsers don’t support more sophisticated print needs. Webpage to PDF On the server, turn webpage into PDF, return PDF to user. Consistent, high-fidelity results across browsers, including mobile. A little more complicated to implement. Non-web content to PDF Generate HTML representation of content, turn into PDF. Compared to InDesign, more work to initially implement. But subsequent variations much easier to create.
  • 16. Agenda • Background – My interest – The Third Screen • How To – Website Printing – Non-web content • Resources – HP Link Technology – Print-Dev Community • Wrap Up & Questions
  • 17. Media Queries vs PDF • Example uses HTML to PDF tools • Most can also be done in-browser with media queries. – I’ll try to differentiate which works where. • At the end, I’ll quickly cover a couple of media query examples.
  • 18. Tools for HTML -> PDF • wkhtmltopdf – Free & open source! – Pretty good, most of the time. – Rails GEM makes generating PDF as easy as requesting url.pdf – It doesn’t support every last print-specific feature. – Sometimes tricky to get working. • PrinceXML – Expensive & closed source! – But really amazing. – Robust and comprehensive support for all print styling. – Stack Overflow: “I wish I had switched to PrinceXML sooner.” – This is what we use for most of our projects. • And many others…including newcomers.
  • 21. Getting started All of this available at print-dev.com/tutorials
  • 22. Eliminate unnecessary content • Turning off just the sidebar and global nav shrinks the PDF from 18 pages to 5, and from 6MB to 136KB.
  • 23. • Use Inspect Element in Chrome to see what’s generating what on the page. • Turning off everything unnecessary gets it down to 3 pages 0:15
  • 24.
  • 25. Once you get rid of the cruft, make it awesome* *I am not a designer.
  • 26.
  • 27. 0:30
  • 28.
  • 29. Formatting the Body • Short lines are easier to read – Magazines and newspapers use narrow columns – Two-column layout • Justification and hyphenation improve readability – Justification without hyphenation leads to bad spacing • Big photos look great online but waste ink • Printed links are useless – Options: • Turn off the link • Display destination url • Display shortened destination url – For today, we’ll just turn off the blue underlined links.
  • 30. All units in pt for points, not pixels. 1 point = 1 / 72nd inch
  • 31.
  • 32.
  • 33.
  • 34. Reduced 18 pages to 1. Two column layout. Appropriate line spacing. Fixed typography (font face, justification, hyphenation) Undid link styling.
  • 35. Reduced 18 pages to 1. Two column layout. Appropriate line spacing. Fixed typography (font face, justification, hyphenation) Undid link styling. Made ink- wise choices. Reasonably attractive compared to original. 1 hour invested. Styling works for all Wired articles.
  • 36. PDF Generation vs. Media Queries • Much of what I’ve shown can be achieved in browser using print media queries. • But browser support of multiple column layout and hyphenation varies (read: doesn’t exist). • PDFs generated on server guarantees consistency across all browsers, even for mobile. – Web-assisted mobile print – When a user wants to print on a mobile device, let the web server render the PDF, and just use the mobile OS capabilities to send PDF to printer.
  • 37. Using Media Queries See Media Queries tutorial at print-dev.com/tutorials
  • 38. Agenda • Background – My interest – The Third Screen • How To – Website Printing – Non-web content • Reources – HP Link Technology – Print-Dev Community • Wrap Up & Questions
  • 39. Web vs. Non-web Content Type Format Needs Web Content Article, Reports, Bills Basic margins, layout, typography, image size control. Non-web Content Book, Poster, Brochure, Product Catalog, Newsletter, etc. Advanced page control, sophisticated header/footer, advanced typography, precision layout.
  • 40.
  • 41. One Prerequisite • Get your content into HTML • How – export to HTML – generate HTML based on DB data – create protected web view • Out of scope for today!
  • 42. Custom Pages and Margins Code still at print-dev.com/tutorials. :)
  • 43. Headers & Footers Sets the page Uses the page Margin boxes Part of CSS3 standard, but only fully supported by PrinceXML
  • 44.
  • 45. More info: “css3 paged media” http://www.w3.org/TR/css3-page/
  • 46. Valid pseudo-selectors: left, right, blank, first
  • 47. Valid values: right, left, always
  • 49.
  • 50. • Line spacing interval is key to alignment across pages. • Everything has to be a multiple of your body line-height. • Error was 12pt margin-top:
  • 51. • Dropcaps: 2,000 year old solution to marking chapters in hand-written manuscripts
  • 52.
  • 53. Summary of non-web printing • Content in HTML • Page size and margins corresponding to expected media • CSS3 margin boxes to place header, footer, and other surrounding content • Named pages, if necessary, to style sections differently • Print typography, including serif font and generous line spacing • Multiples of line-height to maintain alignment • Dropcap technique
  • 54. Agenda • Background – My interest – The Third Screen • How To – Website Printing – Non-web content • Resources – HP Link Technology – Print-Dev Community • Wrap Up & Questions
  • 56. HP Link Technology • Insert video here – Julie researching
  • 57.
  • 58. Try this at home! • HTML+CSS can be an effective way to generate good prints. • For websites: – A better experience for users who print. – The right medium for your content (e.g. recipe on the kitchen counter.) – Your content visible in a new inherently postable/shareable form. – 1-2 hours to a better printing website. – PDF creation helps avoid cross-browser and mobile browser issues. • For non-web content: – An easier, fully automated way to generate PDFs. – Robust support of even complex print needs. – Relies on technology developers and designers understand well.

Editor's Notes

  1. My bet is that even if you don’t care about books, you’ve got a process like this somewhere in your organization.
  2. Think about a recipe: would you rather have it printed out, or try to scroll around on your smartphone.
  3. The irony: They even make a printed magazine. They know print design principles. Why are some pages listed as unusable? Because they’re mostly links that we can no longer visit on the printed page.
  4. And this is why I refer to it as a “screen” – it’s just another way for people to consume content, and for some types of content, read in some types of places, it’s still the best, and it’s preferred.