Search found 18 matches: printprv

Return to advanced search

Re: Preview in Terminal Server does not look good - Antonio Help

Antonio, thanks for your answer If I'm not wrong, the METHOD PrintPrv is used to send the preview to the printer, and there is no problem there. Print physically perfect. The problem is when he paints the lines in the preview (only the lines, the rest ...
by Cgallegoa
Sun Feb 09, 2020 6:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview in Terminal Server does not look good - Antonio Help
Replies: 10
Views: 1750

Re: Preview in Terminal Server does not look good - Antonio Help

Carlos,

In METHOD PrintPrv( oDlg, nOption, nPageIni, nPageEnd ) CLASS TPreview we use PlayEnhMetaFile()

Please replace those calls with XPlayEnhMetaFile() and lets see if that makes a difference in your case, thanks
by Antonio Linares
Sun Feb 09, 2020 1:38 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview in Terminal Server does not look good - Antonio Help
Replies: 10
Views: 1750

Re: Preview and save to pdf at the same time

... in rpreview.prg, in: METHOD PrintPage() CLASS TPreview .... if ! lCancel MsgRun( ::oDevice:cDocument, "Imprimiendo Reporte",; { || ::PrintPrv( nil, nOption, nFirst, nLast ) } ) // daniel 2016-07-29 * ? 'ACA GUARDAR PDF',oApp:lGuardarPDF,oApp:cImprimiendo IF oApp:lGuardarPDF IF oApp:cImprimiendo ...
by puenteda
Mon Dec 31, 2018 7:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Preview and save to pdf at the same time
Replies: 1
Views: 829

Re: Fastreport help

... ) Here I made my changes like buttonbar and current bill number and qrcode. I made the changes in: static function PrintPrv( oDlg, nOption, nPageIni, nPageEnd, cArt, oRechnung ) if oRechnung:cDruckart <> "Kreditrechnung" if nFor = len(aFiles) //letzte ...
by Wanderson
Thu Nov 02, 2017 3:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fastreport help
Replies: 9
Views: 2030

Re: Fastreport help

... ) Here I made my changes like buttonbar and current bill number and qrcode. I made the changes in: static function PrintPrv( oDlg, nOption, nPageIni, nPageEnd, cArt, oRechnung ) if oRechnung:cDruckart <> "Kreditrechnung" if nFor = len(aFiles) //letzte ...
by Otto
Wed Nov 01, 2017 8:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Fastreport help
Replies: 9
Views: 2030

Re: Control Botón de Impresión

Si añades un codeblock, por ejemplo, bPrint, y lo llamasdesde el método PrintPrv: DATA bPrint......METHOD PRINTPRV()...if ::bPrint # NIL   EVAL(::bPrint,Self,...)endif... El cambio es muy pequeño y no tiene que modificar ningún programa. Y ya ...
by antolin
Wed Sep 16, 2015 6:37 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Control Botón de Impresión
Replies: 8
Views: 1437

Re: Control Botón de Impresión

... oPageEnd:Disable(), .T. ) else lCancel := .f. endif if ! lCancel MsgRun( ::oDevice:cDocument, "Printing Report",; { || ::PrintPrv( nil, nOption, nFirst, nLast ) } ) endif ///puedes colocar lo que quieras hacer en mi caso me toco para una impresión particular salir al imprimir ...
by luisduque
Thu Sep 10, 2015 7:24 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Control Botón de Impresión
Replies: 8
Views: 1437

METHOD PrintPage() CLASS TPreview

... crea la primera vez, despues ya no vuelve a salir... DEFINE DIALOG oDlg RESOURCE "PRINT" REDEFINE BUTTON ID 101 OF oDlg ; ACTION oThis:PrintPrv( oDlg, nOption, nFirst, nLast ) REDEFINE BUTTON ID 102 OF oDlg ACTION oDlg:End() REDEFINE RADIO oRad VAR nOption ID 103, 104, 105 OF oDlg ; ...
by thefull
Mon Feb 27, 2012 5:31 pm
 
Forum: Bugs report & fixes / Informe de errores y arreglos
Topic: METHOD PrintPage() CLASS TPreview
Replies: 0
Views: 640

Re: La previsualización de un reporte se puede envar por mail?

Armando,

En la clase Rpreview, busca el metodo ::printprv(). Alla es donde se borra los metafiles ->DeleteEnhMetafile( hMeta ). Puedes tratarlo como quiera, p.e. hacer una copia a una carpeta, enviarlos, ... y borrarlos luego claro :-)

Ciao.
C.
by Carles
Fri May 07, 2010 8:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: La previsualización de un reporte se puede envar por mail?
Replies: 6
Views: 2088

Re: preview alpha 2

... nY ) METHOD CheckKey( nKey, nFlags ) METHOD CheckMouseWheel( nKeys, nDelta, nXPos, nYPos ) METHOD SetFactor( nValue ) METHOD PrintPage() METHOD PrintPrv( oDlg, nOption, nPageIni, nPageEnd ) // Esteban METHOD CambiaPrinter() // Esteban ENDCLASS //----------------------------------------------------------------------------// ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: GetPrintDC()

... local hMeta := oMeta1:hMeta local oDlg, oRad, oPageIni, oPageFin local nOption := 1 ,; nFirst := 1 ,; nLast := len(DEVICE:aMeta) if nLast == 1 PrintPrv(nil, nOption, nFirst, nLast) RETU nil endif SET RESOURCES TO cResFile DEFINE DIALOG oDlg RESOURCE "PRINT" REDEFINE BUTTON ID 101 ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2708

... error: Application Exception - C:\prueba\IMPRESION\TESTPRN3.exe Terminated at: 2008.07.09 18:56:58 Called from ENDDOC(0) Called from TPREVIEW:PRINTPRV(0) Called from TPREVIEW:PRINTPAGE(0) Called from (b)BUILDBUTTONBAR(0) Called from TBTNBMP:CLICK(0) Called from TBTNBMP:LBUTTONUP(0) Called ...
by MOISES
Wed Jul 09, 2008 7:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error al imprimir. Urgente
Replies: 13
Views: 2054

... nOption := 1 ,; nFirst := 1 ,; nLast := len(DEVICE:aMeta) PRIVATE nCopias := nItem := 1 // if nLast == 1 // PrintPrv(nil, nOption, nFirst, nLast) // RETU nil // endif SET RESOURCES TO cResFile DEFINE DIALOG oDlg RESOURCE "PRINT" REDEFINE ...
by Kleyber
Tue Jul 01, 2008 8:42 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir a dos caras.
Replies: 5
Views: 1297

... local hMeta := oMeta1:hMeta local oDlg, oRad, oPageIni, oPageFin local nOption := 1 ,; nFirst := 1 ,; nLast := len(DEVICE:aMeta) if nLast == 1 PrintPrv(nil, nOption, nFirst, nLast) RETU nil endif SET RESOURCES TO cResFile DEFINE DIALOG oDlg RESOURCE "PRINT" REDEFINE BUTTON ID 101 OF oDlg ; ...
by Manuel Valdenebro
Thu Feb 28, 2008 4:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: RPREVIEW modificada por Manuel Valdenebro ?
Replies: 8
Views: 3362

Armando, En fwh\sources\classes\rpreview.prg la función PrintPrv() es la que finalmente imprime. Tan solo haría falta que esta función pusiese a .T. una variable static lPrinted e implementar una función PreviewPrinted() ; return lPrinted. Pruébalo, ...
by Antonio Linares
Thu Dec 14, 2006 3:08 pm
 
Forum: To do - WishList / Por hacer - Peticiones
Topic: RETURN de un Preview
Replies: 1
Views: 1718
Next

Return to advanced search