class PrintJobForFiles extends React.Component { constructor(props) { super(props); this.state = { printFiles: null }; } setPrintFiles(event) { //no need to re-render if (event.target.name == "input-local-files") this.state.printFiles = Array.from(event.target.files); else this.state.printFiles = [event.target.value]; this.props.onPrintFilesChange(this.state.printFiles); } render() { return (

Select the File(s) to print
Remember to check if you meet the requeriments before printing files!  Check them here...


URL File must include file extension!
); } } window.PrintJobForFiles = PrintJobForFiles;