JapSeyz / simple-jdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JDF

A package for creating simple JDF messages

JDF is an XML standard used to send files to digital printers.

Installation

composer require japseyz/simple-jdf

Usage

Create a new JDF file

// instantiate a Job
$job = new \JapSeyz\SimpleJDF\Job();
// add a new print file to the Job
$job->setPrintFile('http://absolute/path/to/file.pdf');
// save the raw JDF to a file
file_put_contents('filename.jdf', $job->asXML());

Credits

Thanks to Joe Pritchard for his JoePritchard/jdf package which this is based upon.

About

License:GNU General Public License v3.0


Languages

Language:PHP 100.0%