Code Monkey home page Code Monkey logo

ippsample's Introduction

IPPDOCLINT

IMPORTANT:This repo is just a proof-of-work for my participation in Google Summer of Code 2018. This repo has been out of sync with the upstream repo since I started working on this and will continue to remain so (at least the master branch) in the future so that my commits are clearly visible

Introduction

I have been selected as a student for the Google Summer of Code program to work for The Linux Foundation, more specifically the OpenPrinting project. My project was to build a tool which takes in different printing file formats and checks them for structural errors before sending it to the printer. This idea was taken from an open issue in the ippsample project.

Brief Summary

The proposed linter program will take as input common print file formats and checks them for any structural or content errors. The linter should support basic raster formats such as PWG and CUPS rasters along with JPEG and PDF formats. The program can be used as a standalone program or as a command for the ippserver program to check the document submitted along with a job. The program also reports various job attributes such as job-impressions-xxx, job-media-sheets-xxx, job-pages-xxx. The skeleton file for the program has already been created by Michael R. Sweet from Apple Inc. and my work will start from it and build on top of it.

Build

Refer to BUILD.md

Testing

Usage: ippdoclint [options] filename
Options:
  --help              Show program usage.
  --version           Show program version.
  -i content-type     Set MIME media type for file.
  -o name=value       Set print options.
  -v                  Be verbose.

TODO

  • Try to test with files from as many different sources as possible and look for corner cases or exceptions.
  • Merge the code into the upstream repo.

Contact

Thank You

Working with OpenPrinting has been extraordinary as before (this is my second GSoC with them :) ). If anything, it was even better. I thank all my mentors for guiding me to write good code and making me a better developer. And I thank OpenPrinting for this excellent opportunity one more time. I will try my best to keep contributing to OpenPrinting regularly and I will be looking forward to working with them again.

ippsample's People

Contributors

michaelrsweet avatar rithvikp1998 avatar stefanscherer avatar wifiprintguy avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.