printing jpg-file

printing jpg-file

Postby Franklin Demont » Fri Aug 30, 2013 3:30 pm

Hello,

Maintaining a FW program (active from +/- 2000) , i have to change a emf-file , see also mine previous posts.

With the help from Uwe , i have now a EMF file , converted from a pfd file obtained from the client.

Now , i try to change the program as :

# ifdef TEST
oPrn:SayImage(0,0,"b:\test\mclskop.jpg")
# else
oPrn:ImportWMF(MCLSKOP)
# endif

Where the jpg-file is scanned ( full page) . nView shows as print dimensions : 21.009 x 29.705 cm , A4 format
Paint 1191 x 1684 px

Printing this file i expect that this dimensions are respected . The result is a litle image in the topleft corner

Providing dimension parameters nWidth,nHeight (in pixels) does'n change nothing

Can an image file be used to print for this purposes ?

Frank
test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am

Re: printing jpg-file : Solved

Postby Franklin Demont » Fri Aug 30, 2013 3:42 pm

oPrn:SayImage( 0, 0, oImage , oPrn:nHorzres() , oPrn:nVertres() )
test
Franklin Demont
 
Posts: 166
Joined: Wed Aug 29, 2012 8:25 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 52 guests