bhagyas/jspi


JSPI - Java Internet Printing Protocol Implementation

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.bhagyas:jspi:'
	}
	dependencies {
		implementation("com.github.bhagyas:jspi:")
	}
	<dependency>
	    <groupId>com.github.bhagyas</groupId>
	    <artifactId>jspi</artifactId>
	    <version></version>
	</dependency>

                            
    libraryDependencies += "com.github.bhagyas" % "jspi" % ""
        
        

                            
    :dependencies [[com.github.bhagyas/jspi ""]]
        
        

Readme


JSPI - Java Internet Printing Protocol Implementation

This library enables you to add remote printing capabilities to your Java applications running on servers and other client applications.

Usage

Adding dependency using Apache Maven

  1. Clone the project

    Execute git clone https://github.com/bhagyas/jspi

  2. Install artifact on your Maven repository

    Change into jspi-core project and execute mvn clean install or mvn deploy. Note that you might need to skip the tests when building the project.

  3. Add as a dependency

    Add the following on your pom.xml

    	<dependency>
     <groupId>com.xinterium.jspi</groupId>
     <artifactId>jspi-core</artifactId>
     <version>1.0-SNAPSHOT</version>
    </dependency>
    

API and Examples

Examples are available in the jspi-core/src/test directory along with the tests.

Notes from the History :

jspi

This project is based on the original project exported from code.google.com/p/jspi (LGPL)

Description:

We realize a pure java implementation of the internet printing protocol (ipp) implementing Java Print Service API (jsp). This implementation can be useful for both server and client side code, so this helps in high level printing services, virtual printers for document conversion and so on.

Authors

Original library author information can be found on the Google Code project location.