<?php
/**
* adding route for ajax callback
*/
return ['routes' => [
['name' => 'printer#printfile', 'url' => '/printfile', 'verb' => 'GET']
]];