Printers/Utility/Printaitor.php
public static function _loadPrinterOutput( $outputType ) {
        $outputType = ucfirst(strtolower( $outputType ));
        $printerOutputName = $outputType."PrinterOutput";
                
        App::uses($printerOutputName, "Printers.PrinterOutput");
        self::$PrinterOutput = new $printerOutputName();
    }
public static function _loadPrinterOutput( $outputType ) {
        $outputType = ucfirst(strtolower( $outputType ));
        $printerOutputName = $outputType."PrinterOutput";
                
        App::uses($printerOutputName, "Printers.PrinterOutput");
        self::$PrinterOutput = new $printerOutputName();
    }
public static function _loadPrinterOutput ( $ outputType ) { $ outputType = ucfirst ( strtolower ( $ outputType ) ) ; $ printerOutputName = $ outputType . "PrinterOutput" ; App :: uses ( $ printerOutputName , "Printers.PrinterOutput" ) ; self :: $ PrinterOutput = new $ printerOutputName ( ) ; }
Instanciates an Engine for change Output Printing

@param string $outputType
Actualmente pueden ser la opciones: "cups" o "file"
@return PrinterOutput or false
Instanciates an Engine for change Output Printing