Giter Site home page Giter Site logo

arthurvardevanyan / cpd_so_automated_printing Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 58.89 MB

A Program that Automates the Printing Processes

Home Page: http://www.arthurvardevanyan.com/cpd_ap.html

Python 95.62% Batchfile 0.38% JavaScript 4.01%
python3 pjl postscript automation printer

cpd_so_automated_printing's Introduction

CPD_SO_Automated_Printing

Custom Software for Running a Customers High Volume Print Orders

Demo: https://www.youtube.com/playlist?list=PL4Zf1ebS2aUtr2Mcu0p3o-rtfhzbWSEVA

The Program as whole will unlikely be of any use to anyone, however their may be portions that can be used, adapted, or spark ideas to fit your needs.

Known Bugs:

  • If the Order has Invalid* or Unrealistic inputs, if a human does not catch it, the order will be wrong. (Some/Most Invalid inputs will be caught by the script)
  • Can't Print Password Locked or Corrupt Files.

Explicit Feature Removals:

  • No Jobs with Front or Back Covers (Low Volume, Job files Inconsistent, need to be able to detect blank pages, and determine when and where to insert them.)
  • No Coil Books, Color Jobs or Posters (Low Volume)

Documentation

For more detailed documentation, refer to the doc folder.

Email.py

Fetches The Emails and calls other functions to setup and preprocess jobs.

Print.py

This is the Printing Utility. It prints mostly autonomously for the inputted orders, main aspects it still asks for are which printer to use and if the "Special Instructions" field cannot be automatically determined, it has an operator verify and input information.

EmailPrint.py (Tickets)

Prints the Emails with Page Counts and a Duplicate sheet on a different color.

order.py

Contains the object the contains all the information regarding the current order that is being processed.

printer.py

It processes the final commands that are sent to the printer, and also checks the status of the printer to ensure it doesn't get overloaded.

files.py

Grabs list of files and folders

PostScript.py

Converts the PDFS to PS Files, also merges postscript files when needed.

jsonData.py

Converts the Email text into a JSON file.

GDrive.py

Downloads the files for the order from Google Drive

BannerSheet.py

Generates a custom banner sheet for running these jobs. Outputted in front of each job before all the files get outputted.

instructions.py

Determines the Job Specs, and Reads the Special Instructions, and determines information based on that. Also Translates Human Instructions into Printer Instructions.

booklets.py

Contains the specific workflow for running Saddle-Stitched Booklets.

log.py

Allows the software to log its actions.

integrity.py

Checks the environment to make sure it is suitable to run the software.

googleform/emailsender.js

This allows Google Sheets to send formatted emails for incoming orders.

shortcuts/*.bat

For Colored Text to work in windows python must be executed from within command prompt.

buildexe.bat

Generates the executable files for Windows.

PJL_Commands

This folder contains the resources for the Printer Job Language (PJL) Commands needed to output the postscript files on the printer.
In our environment these PJL commands are for a Xerox D-Series (D110) Printer with a

  • High Capacity Stacker
  • 3 Hole Punch Unit
  • Booklet Maker Finisher

BannerSheetPS.py

This file is a PJL template file for how the banner sheets print. This gets inserted as is* on to the file generated by BannerSheet.py
The color can be changed based on the setting in BannerSheet.py*

PJL_PS.py

This file is a PJL template file for how the job files print. The file gets modified by on the job parameters and then inserting onto each postscript file.

Tests

This folder contains all the test code and test files for running tests.

Last Updated: 20200801

cpd_so_automated_printing's People

Contributors

arthurvardevanyan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

flipvis

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.