Sample Java Program to Print to a given printer

This is a sample Java program to check Java printer connections on your machine. It will print a page with a yellow image on it to the first print service found. package test;   import java.awt.Color; import java.awt.Graphics; import java.awt.Graphics2D; import java.awt.image.BufferedImage; import java.awt.print.PageFormat; import java.awt.print.Printable; import java.awt.print.PrinterException; import java.awt.print.PrinterJob; import javax.print.PrintService;   public class […]

Read More

Crop pages in a PDF using Java PDF library jPDFProcess

This is a sample Java program showing how to crop a page in Java using Qoppa’s PDF library jPDFProcess. This small snippet shows how to open a PDF, get the first page, set a new crop box and save the cropped PDF to a new file name.   // Open PDF file PDFDocument pdfDoc = new […]

Read More

OCR Language Download Links

OCR Language Download Links Afrikaans Albanian – shqip Arabic – العربية Azerbaijani – azərbaycan Basque – euskara Belarusian – беларуская Bengali – বাংলা Bulgarian – български Catalan – català Cherokee – ᏣᎳᎩ ᎦᏬᏂᎯᏍᏗ Chinese (Simplified) – 中文简体中文 Chinese (Traditional) – 中文繁體 Croatian – hrvatski Czech – čeština Danish – dansk Estonian – eesti Galician – galego Greek – Ελληνικά Hebrew – עברית Hindi […]

Read More