$script .= "pp.interactive = pp.constants.interactionLevel.automatic;"; } $script .= "pp.printerName = '\\\\\\\\" . $server . "\\\\" . $printer . "';"; $script .= "print(pp);"; $this->IncludeJS($script); } } //*****************CONEXION A SIMA*************** require CONSTANT_PATH_CONFIGURACION . '/baseDatos.php'; $base = new MYSQL(); $basedatos = $base->basedatos(); $conexionManual = new MYSQL(); $conexionManual->conecta(); //************************************************** $pdf = new PDF_AutoPrint(); $pdf->AddPage(); function saca_iva($can, $por) { $cant = $can; $can = $can / 100 * $por; $can += $cant; return $can; } //aqui estoy //$_GET['keyClientesInternos']='22822'; $sSQL311 = "Select * From clientesInternos WHERE keyClientesInternos='" . $_GET['keyClientesInternos'] . "' "; $result311 = mysql_db_query($basedatos, $sSQL311); $myrow311 = mysql_fetch_array($result311); $paciente = $myrow311['paciente']; $numeroE = $myrow311['numeroE']; $nCuenta = $myrow311['nCuenta'];