$pdf=new FPDF();
$pdf->AddPage();
$pdf->SetFont('Arial','',10);
$pdf->SetAutoPageBreak(false, 0);
/*margen superior
*/
$pdf->Cell(25,10,'',0,1,'L');
/*margen izquiedo numero*/
$pdf->Cell(155,07,'',0,0,'L');
/*numero*/
$pdf->Cell(35,07,'fac_numero',0,1,'L');
/*margen izquiedo fecha*/
$pdf->Cell(135,10,'',0,0,'L');
/*FECHA*/
$pdf->Cell(50,10,$fac_fecha,0,1,'L');
/*margen arriba nombre*/
$pdf->Cell(80,15,'',0,1,'L');
/*MARGEN IZQUIERDA NOMBRE*/
$pdf->Cell(15,07,'',0,0,'L');
/*NOMBRE*/
$pdf->Cell(90,07,$fac_nombre,0,0,'L');
/*MARGEN IZQUIERDA CODIGO*/
$pdf->Cell(20,05,'',0,0,'L');
/*CODIGO*/
$pdf->Cell(57,05,'fac_codigo',0,1,'L');
/*MARGEN IZQUIERDA DIRECCION*/
$pdf->Cell(10,02,'',0,0,'L');
/*DIRECCION*/
$pdf->Cell(110,05,$fac_domicilio,0,0,'L');
/*MARGEN IZQUIERDA PEDIDO*/
$pdf->Cell(15,05,'',0,0,'L');
/*PEDIDO*/
$pdf->Cell(57,05,'fac_pedido',0,1,'L');
/*MERGEN IZQUIERDA LOCALIDAD*/
$pdf->Cell(10,02,'',0,0,'L');
/*LOCALIDAD*/
$pdf->Cell(100,05,$fac_localidad,0,1,'L');
/*MARGEN SUPERIOR IVA*/
$pdf->Cell(20,15,'',0,1,'L');
/*MARGEN IZQUIERDO IVA*/
$pdf->Cell(20,05,'',0,0,'L');
/*iva*/
$pdf->Cell(90,05,$fac_IVA1,0,0,'L');
/*MARGEN IZQUIERDA CUIT*/
$pdf->Cell(23,05,'',0,0,'L');
/*CUIT*/
$pdf->Cell(57,05,'fac_cuit',0,1,'L');
/*margen arriba condiciones de venta*/
$pdf->Cell(210,06,'',0,1,'L');
/*margen izquierdo condiciones de venta*/
$pdf->Cell(58,05,'',0,0,'L');
/*condiciones de venta*/
$pdf->Cell(70,05,$fac_condiciones,0,0,'L');
/*margen izquierdo remitos de venta*/
$pdf->Cell(26,05,'',0,0,'L');
/*remitos*/
$pdf->Cell(50,05,$fac_ordendecompra,0,1,'L');