Search found 64 matches: printimage

Return to advanced search

simple image viewer - sample

... This button calls the `GetImage()` function to allow the user to select an image file to display. - "Print": This button calls the `PrintImage()` function to print the currently displayed image. - "Copy": This button copies the currently displayed image to the clipboard. ...
by Otto
Fri Jun 09, 2023 6:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: simple image viewer - sample
Replies: 3
Views: 266

Re: printer class printimage

If you need to use CM, you just use "CM" instead of "INCHES" in the above command. There is no need to create new functions for this. ok How I can make to insert an image on a box sample I use for a text IF lBorder         oPrn:Box(X, Y, Z, K,; ...
by Silvio.Falconi
Fri Apr 21, 2023 9:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 589

Re: printer class printimage

If you need to use CM, you just use "CM" instead of "INCHES" in the above command.
There is no need to create new functions for this.
by nageswaragunupudi
Fri Apr 21, 2023 2:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 589

Re: printer class printimage

Sorry my error :)

Image


Corrected!!!


How make Image with Box ?
by Silvio.Falconi
Thu Apr 20, 2023 10:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 589

Re: printer class printimage

... I have the x,y and sizes on cm I made: I have nTop,nLeft,nRight,nBottom on cm meausure nTop:= 0.10 nLeft := 0.50 nRight:= 1 nBottom:=1 Function PrintImage(nTop,nLeft,nRight,nBottom,cFile,oPrn)    local lStretch :=.f.    local nAlpha:=0    local lTransp:= .f.    local lGray  := .f.    ...
by Silvio.Falconi
Thu Apr 20, 2023 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 589

Re: printer class printimage

WOW() very good mister Rao.

Regards, saludos.
by karinha
Wed Apr 19, 2023 10:38 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 589

Re: printer class printimage

Note-1: We need not use oImage for printing. We can straight away use the image source, viz, filename, resource or any source of image. Note-2: TImage requires 'freeimage.dll'. Better to use TBitmap or TXImage instead so that our application runs without freeimage.dll. This is a simple sample to pri...
by nageswaragunupudi
Wed Apr 19, 2023 3:43 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 589

Re: printer class printimage

... Image" SIZE 50, 10  ;      OF oDlg ACTION GetImage( oImage )   @ 2, 28 BUTTON "Print" SIZE 50, 10 OF oDlg ;      ACTION PrintImage( oImage )   @ 3, 28 BUTTON "Copy" SIZE 50, 10 OF oDlg  ;      ACTION oImage:CopyToClipboard()   @ 4, 28 BUTTON ...
by karinha
Tue Apr 18, 2023 12:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 589

printer class printimage

today I have this Error Error occurred at: 18-04-2023, 12:22:49   Error description: Error BASE/1004  No exported method: PRINTIMAGE   Args:     [   1] = U        [   2] = N   1.00     [ ...
by Silvio.Falconi
Tue Apr 18, 2023 10:27 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer class printimage
Replies: 7
Views: 589

Re: vertical position in preview

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 PRINT oPrn NAME "prv_test" PREVIEW ...
by Silvio.Falconi
Fri May 13, 2022 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: vertical position in preview
Replies: 15
Views: 822

Re: vertical position in preview

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 PRINT oPrn NAME "prv_test" PREVIEW ...
by Detlef
Fri May 13, 2022 7:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: vertical position in preview
Replies: 15
Views: 822

Re: vertical position in preview

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

see on email
by Silvio.Falconi
Thu May 12, 2022 1:57 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: vertical position in preview
Replies: 15
Views: 822

Re: vertical position in preview

strange... https://i.postimg.cc/Hx3NRq6t/j.png here run ok PrintImage(0.3,0.33,9.8,21,"002.jpg",oPrn) Function PrintImage(nTop,nLeft,nRight,nBottom,cFile,oPrn)    local lStretch :=.f.    local nAlpha:=0  ...
by Silvio.Falconi
Thu May 12, 2022 8:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: vertical position in preview
Replies: 15
Views: 822

Re: Save JSON Signature string in Memo for printing

... at my previous post. I am NOW getting an image ( it was pretty poor in the sample I had so I didn't see it ). I am using the following code: oPrn:PrintImage(nRow, nCsp, oSignature, nCsp * 35, nRsp * 3, , , .t. )  What I am finding is that the image is justifying on the RIGHT side ...
by TimStone
Thu Mar 31, 2022 11:47 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save JSON Signature string in Memo for printing
Replies: 5
Views: 365

Save JSON Signature string in Memo for printing

... png format. IT IS NOT A FILE. It is a string. I need to store this in a MEMO field, and later print it on an invoice. For printing, I use the PrintImage( ) method from the printer class in FWH. What would be the proper way to store this string in the memo field, and then retrieve it for printing ...
by TimStone
Thu Mar 31, 2022 12:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Save JSON Signature string in Memo for printing
Replies: 5
Views: 365
Next

Return to advanced search