Search found 50 matches: lpreview

Searched query: lpreview

by Antonio Linares
Fri Jan 24, 2025 10:38 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... Same as DATA member Eval)

Return Value: None

Usage Example: (Internal use only - method version for codeblock usage)

244. Report( cTitle, lPreview, lModal, bSetUp, aGroupBy, cPDF, aCols )

Description: Accessor for Report (same as DATA member, method version for codeblock usage).

Parameters ...
by Antonio Linares
Fri Jan 24, 2025 10:37 am
Forum: FiveWin for Harbour/xHarbour
Topic: Using new Class TDeepSeek for documenting
Replies: 29
Views: 4827

Re: Using new Class TDeepSeek for documenting

... Iterates through all rows and displays "Column1" value in each row.
content_copy
download
Use code with caution.
Harbour

170. Report( cTitle, lPreview, lModal, bSetUp, aGroupBy, cPDF, aCols )

Description: Generates a report from the browse data, allowing for preview, printing, and exporting to ...
by Detlef
Sat May 13, 2023 4:58 pm
Forum: FiveWin for Harbour/xHarbour
Topic: create pdf
Replies: 14
Views: 2336

create pdf

... my program crashes with
Unrecoverable error 9003: Too many recursive error handler calls

Here a snippet from METHOD GenHaruPDF( cFile, lPreview ) of CLASS TPrinter
1905: for each aCall in ::aCallLog
1906: oPdf:oPrn := Self
1907: HB_ExecFromArray( oPdf, aCall[ 1 ], aCall[ 2 ] ) // here ...
by Otto
Thu May 05, 2022 10:12 pm
Forum: FiveWin for Harbour/xHarbour
Topic: FW Preview Menu
Replies: 6
Views: 683

Re: FW Preview Menu

Hello Detlef,

oPrinter:lPreview

Interesting, just yesterday I was dealing with this issue.

https://www.facebook.com/groups/modharbour.club/?multi_permalinks=1114768252410734

I tried to open the oReport with and without preview.

I didn't find out how this works with the oReport ...
by Antonio Linares
Sat Dec 11, 2021 7:34 am
Forum: FiveWin for Harbour/xHarbour
Topic: Print RTF using tPRINTER class ?????
Replies: 6
Views: 951

Re: Print RTF using tPRINTER class ?????

Dear Tim,

I am checking with Rao and Cristobal to implement a

oPrinter:SayRTF()

based on:
REPrintBox5( oRTF:hWnd, If( lPreview, oPrn:hDCOut, oPrn:hDC ), ;
oRTF:IsSelection(), ;
aRTF[ 1 ] + 20, 110, aRTF[ 1 ] + 1000, aRtf[ 2 ] + 990, 0 )
by tiagojbi
Thu Jun 25, 2020 5:53 pm
Forum: mod_harbour
Topic: How to use OPRN and error pdf2.prg sample
Replies: 20
Views: 4790

How to use OPRN and error pdf2.prg sample

... line: 130

Source:
0128: ENDCLASS
0129:
0130 =>//------------------------------------------------------------------------------
0131:
0132: METHOD New( cFileName, cPassword, cOwnerPassword, nPermission, lPreview ) CLASS TPdf

could they help me? I would like to use this example in my hosting at m.
by cnavarro
Sat Mar 09, 2019 2:49 am
Forum: FiveWin para Harbour/xHarbour
Topic: Quien me puede aclarar esta Duda IMPRIMIR MAS De Una Pagina
Replies: 11
Views: 2364

Re: Quien me puede aclarar esta Duda.

... usarla.
// Para estos dos: mira esto -> m
// hDCOut: si es a pantalla
// hDC: si es a impresora

// IsSelection: si hay texto seleccionado o no

aRTF := REPrintBox5( oRTF:hWnd, If( lPreview, oPrn:hDCOut, oPrn:hDC ), ;
oRTF:IsSelection(), ;
aRTF[ 2 ] + 10, 510, 1490, aRTF[ 2 ] + 990, aRTF[ 1 ] )

by remtec
Sat Mar 09, 2019 12:08 am
Forum: FiveWin para Harbour/xHarbour
Topic: Quien me puede aclarar esta Duda IMPRIMIR MAS De Una Pagina
Replies: 11
Views: 2364

Quien me puede aclarar esta Duda IMPRIMIR MAS De Una Pagina

... Disculpen mi ignorancia.

Algun amigo me puede explicar lo que significa este Código que esta en Testrtf5.prg, en la función " function PrintBox( lPreview,oRTF ) ":

oPrn:Box( aRTF[ 2 ], 500, aRTF[ 2 ] + 1000, 1500 ) aRTF := REPrintBox5( oRTF:hWnd, If( lPreview, oPrn ...
by mterraz
Mon Aug 06, 2018 10:20 pm
Forum: FiveWin para Harbour/xHarbour
Topic: EMF - Enhanced meta file no se borran
Replies: 0
Views: 605

EMF - Enhanced meta file no se borran

... Lower( oPrinter:cFile )
FWSavePreviewToPDF( oPrinter, If( Lower( cFileExt( oPrinter:cFile ) ) == "pdf", ;
oPrinter:cFile, nil ), oPrinter:lPreview )
oPrinter:End()
elseif "emf" $ Lower( oPrinter:cFile )
CopyFile( oPrinter:aMeta[ 1 ], oPrinter:cFile, 0 )
If oPrinter:lPreview
oPrinter ...
by Adolfo
Sun Aug 20, 2017 3:59 pm
Forum: FiveWin for Harbour/xHarbour
Topic: Report from xBrowse, need options
Replies: 1
Views: 631

Report from xBrowse, need options

... app. To make things simplier, I just added a button with xBrowse:Report(), fast an easy.
But... in one of them I need to put lines, like in formal report with CELLVIEW().

xBrowse:Report( cTitle, lPreview, lModal, bSetUp, aGroupBy, cPDF )

bSetup is for that, How?

Thanks in advance
From Chile
Adolfo
by Otto
Tue Aug 08, 2017 11:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: no printer selected program errors out
Replies: 2
Views: 575

no printer selected program errors out

... Maybe there is a way to build in a standard error handling for that.

Best regards,
Otto

oVRD.prg

after:
::oPrn := PrintBegin( ::cTitle,, ::lPreview, ;
IIF( EMPTY( ::cPrinter ), NIL, ::cPrinter ), ;
IIF( ::lPreview, lModal, .F. ) )
insert:
//kein Drucker gefunden
if ::oPrn:hDC = 0
RETURN ...
by mastintin
Sat Feb 18, 2017 12:25 pm
Forum: FiveWin para Harbour/xHarbour
Topic: Felices reyes!
Replies: 60
Views: 24429

Re: Felices reyes!

... en TharuPdfBase :

1._ declarar un static oPrinter en la clase ( como tiene tprinter )
2.- añadir 2 datas nuevas :
DATA bPreview
DATA lPreview

3.- Cambio en new ( añadiendo lPreview )
//------------------------------------------------------------------------------METHOD New&#40 ...
by Antonio Linares
Thu Jun 30, 2016 6:18 am
Forum: FiveWin for Harbour/xHarbour
Topic: Richedit( ) function problems
Replies: 27
Views: 7431

Re: Richedit( ) function problems

Tim,

In FWH\samples\testrtf.prg function PrintBox( lPreview ) you have an example to preview or print a richedit

static function PrintBox( lPreview )   local oPrn   local aRTF := { 100, 1000 }  // { nFrom, nTop }   DEFAULT lPreview := .f.&nbsp ...
by MOISES
Thu Feb 26, 2015 6:56 pm
Forum: FiveWin para Harbour/xHarbour
Topic: bug Fivewin printer.prg
Replies: 1
Views: 828

bug Fivewin printer.prg

Hola,

En source/printer.prg hay que usar FWStrings en :

METHOD New( cDocument, lUser, lPreview, cModel, lModal, lSelection, cFile ) CLASS TPrinter

MsgStop( "There are no printers installed!" + CRLF + ;
"Please exit this application and install a printer." )


METHOD _EndPage() CLASS TPrinter ...
by nageswaragunupudi
Wed Feb 04, 2015 11:46 am
Forum: FiveWin para Harbour/xHarbour
Topic: EXCESS RELEASE OF FONT
Replies: 28
Views: 8398

Re: EXCESS RELEASE OF FONT

... syntax error:
default cTitulo1 TO ''
default cTitulo2 TO ''
default cCaption TO cTitulo1
default cCabecera1 TO ''
default cCabecera2 TO ''
default campoSubgr TO ''
default campoSubgr TO ''
default lPreview TO .T.
default lPrinterSetup TO .T.

You can not compile the above program with FWH