Imagén del pdf pixelada y borrosa

Post Reply
User avatar
J. Ernesto
Posts: 161
Joined: Tue Feb 03, 2009 10:08 pm
Location: Bogotá D.C. Colombia
Contact:

Imagén del pdf pixelada y borrosa

Post by J. Ernesto »

Compañeros buenas.

Tengo un inconveniente al generar el archivo tipo PDF directamente desde fivewin, este se ve mal, como si estuviese pixelada, pero si se genera desde el preview se ve normal. Las ordenes para generar el PDF que uso son las siguientes:

Code: Select all | Expand


  PRINT oPrn  FILE sPath_PDF
ó
  FWSavePreviewToPDF ( oPrn, sPath_PDF2, .F. )
 


En ambos casos la imagen del PDF se ve mal

Como corrijo la calidad del PDF

Muchas gracias
[img]
http://s2.subirimagenes.com/privadas/pr ... pdfmal.jpg
[/img]
J. Ernesto Pinto Q.
Fwh_x64 2407 + BCC++_x64 7_70__6_72 + Harbour 3.20 + LopeEdit 5.8 + UEstudio 26.0
jepsys@hotmail.com, jepsys@gmail.com, jepsys@yahoo.com
postinelli
Posts: 149
Joined: Tue Jul 15, 2008 7:12 pm
Location: Argentina

Re: Imagén del pdf pixelada y borrosa

Post by postinelli »

yo hago así

debes tener el freeimage.dll

Hola Ernesto

haz la siguiente prueba
poner como impresora predeterminada la Microsoft XPS Document Writer previo a guardar el PDF
fijate si cambia la resolucion

yo para guardar pdfs hago así
>>>>

Local cPrinter:=GetPvProfString("Facturacion","IMPRESORA","Microsoft XPS Document Writer", cIniFile)

SetPrintDefault(cPrinter)

PrnSetPage(9) ///a4
PrnPortrait() ///vertical
// PrnLandScape() ///horizontal

TPreview():lListViewHide := .T.
//PRINT oPrn NAME "Impresión de facturas" PREVIEW
PRINT oPrn NAME "Facturas en PDF" FILE cFactPdf


****tu codigo


if file(cFactPdf)
CursorWait()
inkey(1.2)
MsgWait(cFactPdf+ ' creada con éxito','FactuPDF',1)
else
MsgStop('Factura NO Creada','Error')
endif

>>>>>
Post Reply