DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones AWS Cloud
by AWS Developer Relations
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Partner Zones
AWS Cloud
by AWS Developer Relations
Securing Your Software Supply Chain with JFrog and Azure
Register Today

Trending

  • Health Check Response Format for HTTP APIs
  • Step Into Serverless Computing
  • Writing a Vector Database in a Week in Rust
  • Performance Comparison — Thread Pool vs. Virtual Threads (Project Loom) In Spring Boot Applications

Trending

  • Health Check Response Format for HTTP APIs
  • Step Into Serverless Computing
  • Writing a Vector Database in a Week in Rust
  • Performance Comparison — Thread Pool vs. Virtual Threads (Project Loom) In Spring Boot Applications

PaperClips Printing Library for SWT: Version 1.0.3 Released

Matthew Hall user avatar by
Matthew Hall
·
Apr. 03, 08 · News
Like (0)
Save
Tweet
Share
888 Views

Join the DZone community and get the full member experience.

Join For Free

PaperClips is a simple, light weight, extensible printing library for SWT. PaperClips hides the complexity of laying out and rendering documents on the printer, helping you to focus on what to print instead of how to print it.

In a nutshell, PaperClips provides an assortment of document "building blocks," which you can tweak and combine to form a document. The assembled document is then sent to PaperClips for printing. PaperClips includes built-in support for printing text, images, borders, headers and footers, column layouts and tabular (grid) layouts. PaperClips is designed to be extensible, so you can code your own printable document elements.

Changes in version 1.0.3

Bugs fixed:

  • Fixed integer overflow error in GridPrint which sometimes caused printing of very long strings to fail.
  • Fixed column size distribution in GridPrint when paper space is scarce.


New Features

  • PrintPreview now supports lazy layout of print jobs. This can be used to speed up previews of very large print jobs.


Changes:

  • Implement equals() and hashCode() in all Print objects (useful for testing).
  • Performance tuning in text and grid layouts
  • Snippets no longer implement Print interface. This was an unnecessary detail and tends to confuse newcomers.


Known issues:

  • Linux: PrintPreview issues a page feed whenever a PrintPreview control is disposed or changes printers. This is due to missing API in GTK for cancelling a print job.


PaperClips depends on the SWT library, a project of the Eclipse Foundation. The SWT library may be downloaded from the Eclipse site:
http://www.eclipse.org/swt/

Project web page:
http://paperclips.sourceforge.net/

Download page:
http://sourceforge.net/project/showfiles.php?group_id=148509

Subversion:
https://paperclips.svn.sourceforge.net/svnroot/paperclips/trunk/net.sf.paperclips/
https://paperclips.svn.sourceforge.net/svnroot/paperclips/trunk/net.sf.paperclips.ui/

Standard Widget Toolkit Printing Library

Opinions expressed by DZone contributors are their own.

Trending

  • Health Check Response Format for HTTP APIs
  • Step Into Serverless Computing
  • Writing a Vector Database in a Week in Rust
  • Performance Comparison — Thread Pool vs. Virtual Threads (Project Loom) In Spring Boot Applications

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com

Let's be friends: