Search found 22 matches: centimeters

Return to advanced search

Silvio,

You can create a new control or use a standard FWH window.

The key is in how you manage its device context. Please review source\classes\printer.prg Method CmSay() and you will see how to convert from centimeters to pixels.
by Antonio Linares
Tue Apr 22, 2008 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Paper simulation
Replies: 2
Views: 704

Rene, Did you mean to say "transform the size into pixels" instead of "transform the size into centimeters"? Here is what you said: "4th and 5th parameter are the SIZE of the image, (131,168) you have to transform the size into centimeters (the same way you did with the ...
by Roger Seiler
Thu Nov 02, 2006 3:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing of Images on Printers having different resolutions
Replies: 6
Views: 2975

Rene, Did you mean to say "trnasform the size into pixels" instead of "transform the size into centimeters"? Here is what you said: "4th and 5th parameter are the SIZE of the image, (131,168) you have to transform the size into centimeters (the same way you did with the ...
by Roger Seiler
Thu Nov 02, 2006 3:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing of Images on Printers having different resolutions
Replies: 6
Views: 2975

Thank you Mr.Rene and Thank you Mr.James

I am testing it now after conversion of Bitmap's height and width into
centimeters.

Regards to both of you

- Ramesh Babu P
by RAMESHBABU
Wed Nov 01, 2006 4:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing of Images on Printers having different resolutions
Replies: 6
Views: 2975

Your error is here:

oPrn:SayBitmap(aRowCol[1], aRowCol[2],"c:\fwh\bitmaps\fivewin.bmp") //, 131, 168)

4th and 5th parameter are the SIZE of the image, (131,168) you have to transform the size into centimeters (the same way you did with the coordinates of the position.)
by R.F.
Tue Oct 31, 2006 4:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printing of Images on Printers having different resolutions
Replies: 6
Views: 2975

How to use Free TWAIN_32.dll

Hello ! I found for twain driver at : http://nt.twain.org/database/search.asp many files there for use with application But all code written with C : /* * File: scanner.c * Company: TWAIN Working Group, JFL Peripheral Solutions Inc. * Author: Jon Harju * Description: * Simulates basic scanner operat...
by areang
Thu Aug 03, 2006 9:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to use Free TWAIN_32.dll
Replies: 0
Views: 1730

testscan.prg

Dear Mauricio, This is testscan.prg #INCLUDE "Fivewin.ch" // BitDeph #define TWPT_BW 0 /* Black and White */ #define TWPT_GRAY 1 #define TWPT_RGB 2 #define TWPT_PALETTE 3 //----- Unit of Measure #define TWUN_INCHES 0 #define TWUN_CENTIMETERS 1 #define TWUN_PICAS 2 #define TWUN_POINTS 3 #define TWUN_...
by dutch
Mon Dec 05, 2005 5:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: link error while compile testscan.prg and tscan.prg
Replies: 13
Views: 6025
Previous

Return to advanced search