Tamaño de Hoja con TPrinter...
Posted: Sun Mar 05, 2006 3:22 pm
Hola a todos.
Llevo ya varios días tratando de controlar el tamaño de la hoja de impresión con TPrinter, el problema es que tengo que imprimir una hoja tamaño legal en horizontal (landscape) y lo que estoy haciendo es:
///Tamano de Impresora
////// Ancho, Alto
PrnSetSize( 35000, 21500 )
oPrn := PrintBegin( "Prueva", , .t. )
oPrn:SetLandscape()
....y mas codigo de impresion, pero no me respeta el tamaño, siempre me toma el tamaño carta de la hoja, y lo que he visto es la TReport si me cambia los tamaños de la hoja.
He cambiado la posicion del PrnSetSize y SetLandscape, pero igual no funciona.
oPrn := PrintBegin( "Prueva", , .t. )
oPrn:SetLandscape()
PrnSetSize( 35000, 21500 )
Alguien puede ayudarme por favor. Gracias y saludos.
Carlos Sincuir
Llevo ya varios días tratando de controlar el tamaño de la hoja de impresión con TPrinter, el problema es que tengo que imprimir una hoja tamaño legal en horizontal (landscape) y lo que estoy haciendo es:
///Tamano de Impresora
////// Ancho, Alto
PrnSetSize( 35000, 21500 )
oPrn := PrintBegin( "Prueva", , .t. )
oPrn:SetLandscape()
....y mas codigo de impresion, pero no me respeta el tamaño, siempre me toma el tamaño carta de la hoja, y lo que he visto es la TReport si me cambia los tamaños de la hoja.
He cambiado la posicion del PrnSetSize y SetLandscape, pero igual no funciona.
oPrn := PrintBegin( "Prueva", , .t. )
oPrn:SetLandscape()
PrnSetSize( 35000, 21500 )
Alguien puede ayudarme por favor. Gracias y saludos.
Carlos Sincuir