Search found 19 matches: printpage

Return to advanced search

Re: Preview and save to pdf at the same time

I made this changes 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 ...
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: Control Botón de Impresión

Por qué no haces solo un EXTEND CLASS del METHOD BuildButtonBar y en el ACTION del PrintPage, haces antes una llamada a tu funcion?
.... ACTION ( MiFunc(), ::PrintPage(), .. )

Aunque lo interesante seria tener las acciones de los botones en un array de codeblocks para poderlos modificar
by cnavarro
Thu Sep 10, 2015 2: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

Hola Leandro como dice el Maestro Antonio Linares Modifica la clase rpreview METHOD PrintPage() CLASS TPreview local hMeta := ::oMeta1:hMeta local oDlg, oRad, oPageIni, oPageEnd local nOption := 1, nFirst := 1, nLast := Len( ::oDevice:aMeta ) // DEVICE local oThis ...
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

Re: Asignar bPrint de Tpreview

Purpose of bPrint is to enable you have your own dialog. You need to write a function which replaces Method PrintPage(), in your style. Within the function, you can use all methods and data of TPreview. bPrint := { |oRep| MyPrintPage( oRep ) } function MyPrintPage( Self ) <here ...
by mastintin
Fri Aug 16, 2013 7:36 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Asignar bPrint de Tpreview
Replies: 4
Views: 975

Re: Asignar bPrint de Tpreview

Purpose of bPrint is to enable you have your own dialog. You need to write a function which replaces Method PrintPage(), in your style. Within the function, you can use all methods and data of TPreview. bPrint := { |oRep| MyPrintPage( oRep ) } function MyPrintPage( Self ) <here ...
by nageswaragunupudi
Fri Aug 16, 2013 4:27 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Asignar bPrint de Tpreview
Replies: 4
Views: 975

Re: Conseguir la maxima velocidad del EXE creado por Harbour

... :wink: ) Optimización IV - Walter Negro 605 palabras totales en este texto (24 Lecturas) Versión Imprimible <modules.php?name=Sections&op=printpage&artid=13> ------------------------------------------------------------------------ Comando With Object WITH OBJECT ... END Esta es ...
by MarioG
Fri Mar 16, 2012 12:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Conseguir la maxima velocidad del EXE creado por Harbour
Replies: 29
Views: 10557

METHOD PrintPage() CLASS TPreview

Buenas Antonio Me ocurre una cosa muy muy rara. En un reporte que tenga más de una pagina, el boton de imprimir muestra el dialog ; DEFINE DIALOG oDlg RESOURCE "PRINT" Pero.. si salgo he intento imprimir, el dialogo ya no vuelve a aparecer. He puesto unos warnigs; SET RESOURCES TO ::cResFi...
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

Ribbon Bar preview

I tried to change a preview but i got this errormessage Error description: Warning BASE/1004 Message not found: TRBTN:PRINTPAGE Stack Calls =========== Called from: source\rtl\tobject.prg => TRBTN:ERROR(172) Called from: source\rtl\tobject.prg => TRBTN:MSGNOTFOUND(205) Called ...
by chicko.mafetty
Tue May 31, 2011 7:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Ribbon Bar preview
Replies: 0
Views: 323

Re: Consulta sobre TPrinter

... static lImprime debes declararla al inicio de tu prg principal. Luego, por ejemplo haces esto: DEFINE TBBUTTON OF oBar ; ACTION ( lImprime:=.t., ::PrintPage() ) ; //aqui sería .t. TOOLTIP Strtran(TXT_PRINT,"&","") ; MESSAGE TXT_PRINT_CURRENT_PAGE DEFINE TBSEPARATOR OF oBar ...
by FranciscoA
Mon Oct 11, 2010 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre TPrinter
Replies: 6
Views: 1253

Re: Consulta sobre TPrinter

Hola Juan, creo que puedes hacer lo siguiente: Busca en el rPreview los botones y menu relacionados con ::oWnd:End() en las llamadas a ::PrintPage() y agregale tu variable static: ( lImprime := .t., ::oWnd:End() ) , o ( lImprime := .f., ::oWnd:End() ), según el caso. Es sólo una idea. Con ...
by FranciscoA
Sun Oct 03, 2010 2:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta sobre TPrinter
Replies: 6
Views: 1253

Re: preview alpha 2

... ) METHOD SetOrg2( nX, 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()

... "á", "a" ) ; MESSAGE TXT_PREVIEW_ON_TWO_PAGES DEFINE TBSEPARATOR OF oBar DEFINE TBBUTTON OF oBar ; ACTION PrintPage() ; TOOLTIP Strtran(TXT_PRINT,"&","") ; MESSAGE TXT_PRINT_CURRENT_PAGE DEFINE TBSEPARATOR OF oBar DEFINE TBBUTTON ...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2708

... - 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 from TWINDOW:HANDLEEVENT(0) Called ...
by MOISES
Wed Jul 09, 2008 7:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: error al imprimir. Urgente
Replies: 13
Views: 2053

Tgif

... ; ACTION IIF(MsgYesNo ("R e c h n u n g abschließen?"),; ( TGif():New( oWnd, ".\gifs\halo.gif", 200, 200 ),; oBtnExit:hide(),; oRechnung:Save(),; PrintPage(cArt:="Rechnung",oRechnung),; oZahlung := TZahlung():New(oRechnung),; oZahlung:offen() ,; oZahlung:end() ,; oRechnung:CheckOut(cArt) ,; oDlgRg:End(),; ...
by Otto
Mon Jun 16, 2008 3:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Tgif
Replies: 4
Views: 1005

You will have to slightly modify RPreview.prg in order to do this, due to a slight oversight in METHOD PrintPage(). In this method, you will have to add code for a button that calls PrinterSetup(), as shown below. Here is the defect in the standard version... Although the ...
by Roger Seiler
Thu Jun 12, 2008 2:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing from report preview.
Replies: 16
Views: 3373
Next

Return to advanced search