Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8328 > unrolled thread

Printing JPG with FabPaintLib

Started byBenchJoe <zweitaktfan@gmail.com>
First post2015-08-10 04:53 -0700
Last post2015-08-13 02:05 -0700
Articles 5 — 5 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Printing JPG with FabPaintLib BenchJoe <zweitaktfan@gmail.com> - 2015-08-10 04:53 -0700
    Re: Printing JPG with FabPaintLib Franz Rachbauer <office@rachbauer.org> - 2015-08-10 16:34 +0200
    Re: Printing JPG with FabPaintLib D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2015-08-10 18:18 +0200
    Re: Printing JPG with FabPaintLib sherlocksoftwarerules@gmail.com - 2015-08-10 21:30 -0700
      Re: Printing JPG with FabPaintLib Benchjoe <zweitaktfan@gmail.com> - 2015-08-13 02:05 -0700

#8328 — Printing JPG with FabPaintLib

FromBenchJoe <zweitaktfan@gmail.com>
Date2015-08-10 04:53 -0700
SubjectPrinting JPG with FabPaintLib
Message-ID<62d31f2a-03ca-4748-a64f-58ce4a7cde64@googlegroups.com>
Hi!

I'm showing JPGs with FabPaintLib, it works well.
How can i print this JPGs?

Thanks!

Joe

[toc] | [next] | [standalone]


#8329

FromFranz Rachbauer <office@rachbauer.org>
Date2015-08-10 16:34 +0200
Message-ID<mqacpk$58d$1@speranza.aioe.org>
In reply to#8328
Hi,
look at FabPaint3.28.zip, there's a FabPaintLib Demo with print example.
Regards

Am 10.08.2015 um 13:53 schrieb BenchJoe:
> Hi!
>
> I'm showing JPGs with FabPaintLib, it works well.
> How can i print this JPGs?
>
> Thanks!
>
> Joe
>

[toc] | [prev] | [next] | [standalone]


#8330

FromD.J.W. van Kooten <vankooten@removethis.ic2.com>
Date2015-08-10 18:18 +0200
Message-ID<nmjhsapbv7p7r022ahtr9u7i5pmsk5grja@4ax.com>
In reply to#8328
On Mon, 10 Aug 2015 04:53:55 -0700 (PDT), BenchJoe
<zweitaktfan@gmail.com> wrote:

Hello Joe,
>
>I'm showing JPGs with FabPaintLib, it works well.
>How can i print this JPGs?

Won't something like this do?

ShellExecute(NULL, String2Psz("print"), String2Psz(cDocName), NULL,
NULL, SW_HIDE )

Dick

[toc] | [prev] | [next] | [standalone]


#8331

Fromsherlocksoftwarerules@gmail.com
Date2015-08-10 21:30 -0700
Message-ID<e56716a8-27b4-49cb-88bb-aecd3c6fa026@googlegroups.com>
In reply to#8328
Joe

snip[ I'm showing JPGs with FabPaintLib, it works well.
 How can i print this JPGs? ]

Easy...

Step1 .. In Libraries 1st in list must be FabPaint_3.0.15 
Step2 .. 

IF File( cFileJPG )
    oDib := FabPaintLib{ cFileJPG, oPrinter } 
    IF oDib:Isvalid  
     //
  IF oDib:Height > oDib:Width 
    // if a PORTRAIT/VERTICAL photo verse LANDSCAPE/HORIZONTAL
    oDib:Rotate( -300.023,0)       // 90 degree rotation..
   ENDIF
   oPrinter:_DrawBMP( aImageOffset[xx][1]+6, aImageOffset[xx][2], oDib,       nImageWidth, nImageHeight,,, TRUE )

ENDIF


Phil McGuinness

[toc] | [prev] | [next] | [standalone]


#8332

FromBenchjoe <zweitaktfan@gmail.com>
Date2015-08-13 02:05 -0700
Message-ID<4b8d7d43-3757-4a75-8e84-2cfad259dda7@googlegroups.com>
In reply to#8331
Am Dienstag, 11. August 2015 06:30:06 UTC+2 schrieb sherlockso...@gmail.com:
> Joe
> 
> snip[ I'm showing JPGs with FabPaintLib, it works well.
>  How can i print this JPGs? ]
> 
> Easy...
> 
> Step1 .. In Libraries 1st in list must be FabPaint_3.0.15 
> Step2 .. 
> 
> IF File( cFileJPG )
>     oDib := FabPaintLib{ cFileJPG, oPrinter } 
>     IF oDib:Isvalid  
>      //
>   IF oDib:Height > oDib:Width 
>     // if a PORTRAIT/VERTICAL photo verse LANDSCAPE/HORIZONTAL
>     oDib:Rotate( -300.023,0)       // 90 degree rotation..
>    ENDIF
>    oPrinter:_DrawBMP( aImageOffset[xx][1]+6, aImageOffset[xx][2], oDib,       nImageWidth, nImageHeight,,, TRUE )
> 
> ENDIF
> 
> 
> Phil McGuinness

Thanks 2all!
It Works!
Sunny greetings,
Joe

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web