Skip to content

A shell script that will scrape a job cards exported from iTMS that is in a .txt format.

Notifications You must be signed in to change notification settings

ntaylor-86/iTMS-Job-Card-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 

Repository files navigation

iTMS-Job-Card-Scraper

A shell script that scans Job tickets that have been exported from iTMS into a .txt format. Once the job has been scanned it saves all the relevant data into different arrays. With this data it is possible to print all the customer pdf's, print the existing ROTO programs... More functions to come.

Getting Started

You will need a .txt file for the script to scrape all the information from. In iTMS, open Jobs (5), Print Job Ticket (3), enter the job number, click on print, choose Number. This will open the iTMS Print Preview, click on Export, choose Text as the file type and save the .txt file in the same location as the shell script.

Prerequisites

What things you need to install the software and how to install them

dos2unix

debian based distros:
$ sudo apt install dos2unix

Installing

Copy the script to your home directory preferably its own folder and make the script executable

Change into the directory where the script is located,
$ cmod +x scrape-job.sh

Runnings the Script

Once you have exported a job into a .txt format you can now run the script

Change into the directory where the script is located,
$ ./scrape-job.sh

About

A shell script that will scrape a job cards exported from iTMS that is in a .txt format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages