FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour two print preview in the same prg
Posts: 434
Joined: Wed Jun 06, 2007 02:58 PM
two print preview in the same prg
Posted: Thu Feb 07, 2019 12:01 PM

hi,
can I to manage two different PRINT PREVIEW in the same prg?

thanks

FiveWin for xHarbour 24.02 - Feb. 2024 - Embarcadero C++ 7.60 for Win32 Copyright (c) 1993-2023

FWH 64 for Harbour 19.06 (MSVC++) Jun. 2019 - Harbour 3.2.0dev (r1904111533)

Visual Studio 2019 - Pelles C V.8.00.60 (Win64)
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: two print preview in the same prg
Posted: Thu Feb 07, 2019 04:15 PM

why you need two preview on the same prg ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: two print preview in the same prg
Posted: Thu Feb 07, 2019 05:19 PM
* DeOndePartiu = Where it comes from

Code (fw): Select all Collapse
   IF DeOndePartiu = "GERARIMP"

      PRINT oPrn NAME "ORÇAMENTO" PREVIEW MODAL

   ELSEIF DeOndePartiu = "GERARPDF"

     cFile := "C:\NFEPDF\"+"ORCAM"+ALLTRIM( nProposta )+".PDF"

     // PRINT oPrn NAME cTPSerNome  FILE cFile
     PRINT oPrn PREVIEW NAME "ORCAM"+ALLTRIM( nProposta )

   ENDIF


Regards.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341

Continue the discussion