vertical position in preview

vertical position in preview

Postby Detlef » Thu May 12, 2022 5:48 am

Hi all,

I'm still struggling with FiveWin preview.
A bitmap must be printed at a certain vertical position.
with this
Code: Select all  Expand view  RUN
PRINT oPrn NAME "prv_test" PREVIEW
I see the bitmap at it's correct place.

When I code
Code: Select all  Expand view  RUN
PRINT oPrn NAME "prv_test" PREVIEW FILE cPdfFile
the position is shifted to a wrong position.

Here a complete short test prg
Code: Select all  Expand view  RUN
#include "FiveWin.ch"

#define FWDIR   "d:\entw\fwh22"
REQUEST FWHARU

PROCEDURE Main()
//----------------
LOCAL oPrn, oFont
LOCAL cPdfFile := CurDrive() + ":\" + curdir() + "\test.pdf"
LOCAL cBmp     := FWDIR + "
\bitmaps\fwphone.bmp"
LOCAL nHeight, nRow, nCol, nYRes, nXRes



   TPreview():lListViewHide := .t.
   TPrinter():lUseHaruPDF   := .t.

   PRINT oPrn NAME "
prv_test" PREVIEW // FILE cPdfFile

      DEFINE FONT oFont NAME "
Arial" SIZE 0, -10 OF oPrn
      nHeight := oPrn:GetTextHeight( "
", oFont ) // value for proper line feeds

      nYRes := ( 10 * oPrn:nVertRes() / oPrn:nVertSize() ) / 10 // Faktor for mm in vertical
      nXRes := ( 10 * oPrn:nHorzRes() / oPRn:nHorzSize() ) / 10 // Faktor for mm in horizontal
      nCol  :=  20 * nXRes

      PAGE
         nRow := 52 * nYRes
         oPrn:Say( nRow, nCol, "
Line above", oFont )

         @ 59, 22 PRINT TO oPrn IMAGE cBmp SIZE 39.5, 24 MM

         nRow += 8 * nHeight
         oPrn:Say( nRow, nCol, "
Line below", oFont )

         ENDPAGE
   ENDPRINT

   RELEASE FONT oFont
RETURN

How could I do that both variants print at the same position?
Thanks and regards
Detlef
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: vertical position in preview

Postby Marc Venken » Thu May 12, 2022 6:14 am

Detlef,

Maybe you should also look at the Saytext syntax. I believe that this function is the newer printing solution for future projects...
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1442
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: vertical position in preview

Postby Detlef » Thu May 12, 2022 7:26 am

Thanks for jumping in, Marc.

I also tried
Code: Select all  Expand view  RUN
oPrn:SayBitmap( 5.9, 2.2, cBmp, 3.95, 2.4, , "C" )

and got the same fault.
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: vertical position in preview

Postby Silvio.Falconi » Thu May 12, 2022 7:28 am

Try this

Function PrintMyImage( nLTop,nLLef,nLWid,nLHei,oprn,cFile,nTrans)
loca ades:={}
local aHAs:= {}

IF File(cFile)
aDes:=oPrn:Cmtr2Pix(nLTop,nLLef)
aHas:=oPrn:Cmtr2Pix(nLWid,nLHei)
oPrn:SayImage( aDes[1],aDes[2], cFile, aHas[1],aHas[2], , , nTrans, )
endif
RETURN NIL
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7072
Joined: Thu Oct 18, 2012 7:17 pm

Re: vertical position in preview

Postby Detlef » Thu May 12, 2022 8:08 am

thanks, Silvio.
But oPrn:SayImage doesn't work with printing to pdf. :(
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: vertical position in preview

Postby Silvio.Falconi » Thu May 12, 2022 8:37 am

strange...

Image

here run ok
PrintImage(0.3,0.33,9.8,21,"002.jpg",oPrn)

Code: Select all  Expand view  RUN
Function PrintImage(nTop,nLeft,nRight,nBottom,cFile,oPrn)
    local lStretch :=.f.
    local nAlpha:=0
    local lTransp:= .f.
    local lGray  := .f.

          oPrn:Cmtr2Pix( @nTop,    @nLeft  )
          oPrn:Cmtr2Pix( @nBottom, @nRight )
          *oPrn:PrintImage( nTop,  nLeft,cFile,nRight,nBottom, lStretch, nAlpha, lTransp, lGray )
           oPrn:SayImage( nTop,  nLeft,cFile,nRight,nBottom)
// oPrn:SayBitmap(nTop,  nLeft,cFile,nRight,nBottom)

           return nil
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7072
Joined: Thu Oct 18, 2012 7:17 pm

Re: vertical position in preview

Postby Detlef » Thu May 12, 2022 9:03 am

but true.
Image
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: vertical position in preview

Postby Silvio.Falconi » Thu May 12, 2022 1:57 pm

use this
oPrn:PrintImage( nTop, nLeft,cFile,nRight,nBottom, lStretch, nAlpha, lTransp, lGray )

see on email
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7072
Joined: Thu Oct 18, 2012 7:17 pm

Re: vertical position in preview

Postby Detlef » Fri May 13, 2022 7:25 am

Silvio.Falconi wrote:use this
oPrn:PrintImage( nTop, nLeft,cFile,nRight,nBottom, lStretch, nAlpha, lTransp, lGray )

see on email

Hi Silvio,

it's still the same error.
The image position is different with
Code: Select all  Expand view  RUN
PRINT oPrn NAME "prv_test" PREVIEW
and
Code: Select all  Expand view  RUN
PRINT oPrn NAME "prv_test" PREVIEW FILE cPdfFile

:(
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: vertical position in preview

Postby Silvio.Falconi » Fri May 13, 2022 8:17 am

Detlef wrote:
Silvio.Falconi wrote:use this
oPrn:PrintImage( nTop, nLeft,cFile,nRight,nBottom, lStretch, nAlpha, lTransp, lGray )

see on email

Hi Silvio,

it's still the same error.
The image position is different with
Code: Select all  Expand view  RUN
PRINT oPrn NAME "prv_test" PREVIEW
and
Code: Select all  Expand view  RUN
PRINT oPrn NAME "prv_test" PREVIEW FILE cPdfFile

:(


ask to nages!!
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7072
Joined: Thu Oct 18, 2012 7:17 pm

Re: vertical position in preview

Postby nageswaragunupudi » Fri May 13, 2022 7:50 pm

Please try this:
Code: Select all  Expand view  RUN
#include "fivewin.ch"

#define FWDIR   "C:\FWH"
REQUEST FWHARU

function Main()

   local oPrn, oFont
   local cPdfFile := TrueName( "test.pdf" )
   local cBmp     := FWDIR + "\bitmaps\fwphone.bmp"
   local nHeight, nRow, nCol

   TPreview():lListViewHide := .t.
   TPrinter():lUseHaruPDF   := .t.

   PRINT oPrn NAME "prv_test" PREVIEW //FILE cPdfFile

      DEFINE FONT oFont NAME "Arial" SIZE 0, -10 OF oPrn
      //
      nHeight := oPrn:GetTextHeight( "", oFont ) // value for proper line feeds
      oPrn:Pix2Units( nil, nil, nil, @nHeight, "MM" )
      nHeight *= 1.2
      //
     
      nCol  :=  20 //MM

      PAGE
         nRow := 52 // MM
         oPrn:Say( nRow, nCol, "Line above", oFont, NIL, NIL, NIL, NIL, "MM" )

         nRow  += nHeight
         @ nRow, 20 PRINT TO oPrn IMAGE cBmp SIZE 39.5, 24 MM

         nRow  += 24
         oPrn:Say( nRow, nCol, "Line below", oFont, NIL, NIL, NIL, NIL, "MM" )

         ENDPAGE
   ENDPRINT

   RELEASE FONT oFont

 
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: vertical position in preview

Postby Detlef » Sat May 14, 2022 7:27 am

Mr. Rao,
now this works perfect. :D

Many thanks!
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: vertical position in preview

Postby Silvio.Falconi » Sat May 14, 2022 9:57 am

wich lib I must link ?

Code: Select all  Expand view  RUN

Progetto: test, Ambiente: bcc7Harbor:
[1]:Harbour.Exe test.prg  /m /n0 /gc1 /w1 /es2 /a /iC:\Work\fwh\include /iC:\work\HARBOUR\Include /jC:\Work\errori\STAMPA~1\I18n\Main.hil /iinclude;c:\work\fwh\include;C:\work\HARBOUR\include /oObj\test.c
Harbour 3.2.0dev (r1904111533)
Copyright (c) 1999-2019, https://harbour.github.io/
Compiling 'test.prg'...
Lines 5019, Functions/Procedures 1
Generating C source output to 'Obj\test.c'... Done.
[1]:Bcc32.Exe -M -c -DHB_OS_WIN_32 -DHB_FM_STATISTICS_OFF -DHB_NO_DEFAULT_API_MACROS -DHB_NO_DEFAULT_STACK_MACROS -IC:\Work\fwh\include -IC:\work\bcc7\Include\windows\sdk\;C:\work\HARBOUR\Include  -nC:\Work\errori\STAMPA~1\Obj test.c
Embarcadero C++ 7.30 for Win32 Copyright (c) 1993-2017 Embarcadero Technologies, Inc.
test.c:
[1]:iLink32.Exe -Gn -aa -Tpe -s -v @test.bcl
Turbo Incremental Link 6.80 Copyright (c) 1997-2017 Embarcadero Technologies, Inc.
Error: Unresolved external '_HPDF_New' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Free' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_NewDoc' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_FreeDoc' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_FreeDocAll' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SaveToFile' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SaveToStream' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetStreamSize' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_ReadFromStream' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_ResetStream' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_HasDoc' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetErrorHandler' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetError' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetErrorDetail' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_ResetError' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetPagesConfiguration' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetPageLayout' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetPageLayout' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetPageMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetPageMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetOpenAction' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetCurrentPage' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_AddPage' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_InsertPage' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetFont' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_AddPageLabel' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_CreateExtGState' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_CreateOutline' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetEncoder' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetCurrentEncoder' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetCurrentEncoder' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetInfoAttr' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetInfoAttr' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetInfoDateAttr' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetPassword' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetPermission' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetEncryptionMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_SetCompressionMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetWidth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetHeight' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetSize' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetRotate' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetWidth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetHeight' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_CreateDestination' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_CreateTextAnnot' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_CreateLinkAnnot' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_CreateURILinkAnnot' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_TextWidth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_MeasureText' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetGMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetCurrentPos2' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetCurrentTextPos2' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetCurrentFont' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetCurrentFontSize' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetTransMatrix' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetLineWidth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetLineCap' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetLineJoin' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetMiterLimit' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetDash' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetFlat' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetCharSpace' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetWordSpace' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetHorizontalScalling' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetTextLeading' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetTextRenderingMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetTextRise' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetRGBFill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetRGBStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetCMYKFill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetCMYKStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetGrayFill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetGrayStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetStrokingColorSpace' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetFillingColorSpace' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetTextMatrix' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GetGStateDepth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetSlideShow' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetLineWidth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetLineCap' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetLineJoin' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetMiterLimit' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetDash' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetExtGState' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GSave' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_GRestore' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Concat' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_MoveTo' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_LineTo' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_CurveTo' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_CurveTo2' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_CurveTo3' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_ClosePath' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Rectangle' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Stroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_ClosePathStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetFontAndSize' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_BeginText' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_EndText' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_TextOut' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_MoveTextPos' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_ShowText' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Fill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Eofill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_FillStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_EofillStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_ClosePathFillStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_ClosePathEofillStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_EndPath' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Clip' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Eoclip' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetCharSpace' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetWordSpace' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetHorizontalScalling' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetTextLeading' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetTextRenderingMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetTextRise' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_MoveTextPos2' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetTextMatrix' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_MoveToNextLine' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_ShowTextNextLine' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_ShowTextNextLineEx' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetGrayFill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetGrayStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetRGBFill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetRGBStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetCMYKFill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetCMYKStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_ExecuteXObject' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_DrawImage' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Circle' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Arc' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Ellipse' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_TextRect' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_GetFontName' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_GetEncodingName' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_GetUnicodeWidth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_GetBBox' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_GetAscent' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_GetDescent' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_GetXHeight' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_GetCapHeight' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_TextWidth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Font_MeasureText' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Encoder_GetType' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Encoder_GetByteType' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Encoder_GetUnicode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Encoder_GetWritingMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Outline_SetOpened' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Outline_SetDestination' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Destination_SetXYZ' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Destination_SetFit' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Destination_SetFitH' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Destination_SetFitV' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Destination_SetFitR' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Destination_SetFitB' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Destination_SetFitBH' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Destination_SetFitBV' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_ExtGState_SetAlphaStroke' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_ExtGState_SetAlphaFill' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_ExtGState_SetBlendMode' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_GetContents' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_CheckError' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_SetZoom' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_Page_Create3DView' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_AttachFile' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_ICC_LoadIccFromMem' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_LoadIccProfileFromFile' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_UseUTFEncodings' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|core
Error: Unresolved external '_HPDF_LoadType1FontFromFile' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|font
Error: Unresolved external '_HPDF_LoadTTFontFromFile' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|font
Error: Unresolved external '_HPDF_LoadTTFontFromFile2' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|font
Error: Unresolved external '_HPDF_LoadPngImageFromFile' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_LoadPngImageFromFile2' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_LoadRawImageFromFile' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_LoadRawImageFromMem' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_LoadJpegImageFromFile' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_LoadPngImageFromMem' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_LoadJpegImageFromMem' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_Image_GetSize' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_Image_GetWidth' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_Image_GetHeight' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_Image_GetBitsPerComponent' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_Image_GetColorSpace' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_Image_SetColorMask' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_Image_SetMaskImage' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unresolved external '_HPDF_Image_AddSMask' referenced from C:\WORK\HARBOUR\LIB\HBHPDF.LIB|image
Error: Unable to perform link
 
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7072
Joined: Thu Oct 18, 2012 7:17 pm

Re: vertical position in preview

Postby nageswaragunupudi » Sat May 14, 2022 11:01 am

see
buildh.bat
and link the same libs
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10646
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: vertical position in preview

Postby Silvio.Falconi » Sat May 14, 2022 11:47 am

nageswaragunupudi wrote:see
buildh.bat
and link the same libs

I not have

Code: Select all  Expand view  RUN
echo %hdirl%\libhpdf.lib + >> b32.bc
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7072
Joined: Thu Oct 18, 2012 7:17 pm

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 54 guests