Skip to main content
  • 4253 Accesses

Abstract

Java matured very quickly in most respects after it was first introduced, but for a long time printing was one of Java’s weakest points. In fact, Java 1.0 didn’t offer any support for printing at all. Java 1.1 included a class called PrintJob in the java.awt package, but the printing capabilities supported by that class were somewhat crude and unreliable. When Java 1.2 (or “Java 2”) was introduced, it included a completely separate mechanism (the Java 2D printing API) for printing designed around PrinterJob and other classes and interfaces defined in the new java.awt.print package. This rendered the PrintJob-based printing mechanism (also known as AWT printing) largely obsolete, although PrintJob has never been deprecated and is still technically a supported class.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 44.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 59.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Brett Spell

About this chapter

Cite this chapter

Spell, B. (2015). Printing. In: Pro Java 8 Programming. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0641-6_11

Download citation

Publish with us

Policies and ethics