|
@@ -40,7 +40,7 @@ console.log( 'Printing PDF (Paper size: '+ page.paperSize.width + 'x' + page.pap
|
|
|
|
|
|
page.open( inputFile, function( status ) {
|
|
page.open( inputFile, function( status ) {
|
|
window.setTimeout( function() {
|
|
window.setTimeout( function() {
|
|
- console.log( 'Printed succesfully' );
|
|
|
|
|
|
+ console.log( 'Printed successfully' );
|
|
page.render( outputFile );
|
|
page.render( outputFile );
|
|
phantom.exit();
|
|
phantom.exit();
|
|
}, 1000 );
|
|
}, 1000 );
|