Skip to content

Commit

Permalink
PHPCS
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 21, 2014
1 parent 268723b commit 22c27e8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions htdocs/core/class/dolprintipp.class.php
Expand Up @@ -45,7 +45,6 @@ class dolprintIPP
* @param string $userid userid
* @param string $user user
* @param string $password password
* @return printIPP
*/
function __construct($db,$host,$port,$userid,$user,$password)
{
Expand Down Expand Up @@ -90,7 +89,7 @@ function print_file($file, $module)
global $conf,$db;

include_once DOL_DOCUMENT_ROOT.'/includes/printipp/CupsPrintIPP.php';

$ipp = new CupsPrintIPP();
$ipp->setLog(DOL_DATA_ROOT.'/dolibarr_printipp.log','file',3); // logging very verbose
$ipp->setHost($this->host);
Expand Down Expand Up @@ -121,12 +120,12 @@ function print_file($file, $module)
}
}
}

// Set number of copy
$ipp->setCopies($obj->copy);
$ipp->setData(DOL_DATA_ROOT.'/'.$module.'/'.$file);
$ipp->printJob();

return '';
}

Expand Down

0 comments on commit 22c27e8

Please sign in to comment.