Search found 74 matches

by Gilbert
Thu Nov 30, 2006 3:49 pm
Forum: FiveWin for CA-Clipper
Topic: PrinterSetup()
Replies: 9
Views: 4611

PrinterSetup()

Hi All, Can someone tell me why PrinterSetup() always return NIL. My logic says that if the OK button is pressed I should get something like a logic .T. or numeric 1. And when the cancel button is pressed a logic .F. or numeric 0. When the Cancel button is pressed I want to cancel the printout. Is t...
by Gilbert
Wed Nov 29, 2006 4:10 am
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12901

Hi Enrico,

For now I`m quite busy finishing up another application, but I will post a sample file illustrating the problem as soon as I can.

Regards,
by Gilbert
Tue Nov 28, 2006 3:11 pm
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12901

Hi Enrico, I agree with you up to a certain point. If the API is wrong or the Driver is bugged, then it`s true that FW can`t do anything about it. In this case, that would mean that I have 7 PC`s plus 3 Servers connected to 3 Laser printers, 1 InkJet printer and 1 Matrix printer that have either an ...
by Gilbert
Mon Nov 27, 2006 11:27 pm
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12901

Hi Enrico,

I`m not saying I have problem printing. I`m saying that DevMode(), DeviceCaps() and GetDeviceCaps() are resulting erroneaus results.

Regards,
by Gilbert
Sun Nov 26, 2006 5:11 am
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12901

Hi Enrico,

I don `t have a corrupted driver or whatever. It never worked on any PC with any Priter for the past 3 years. It`s not a printer driver it`s a BUG.

Regards,
by Gilbert
Fri Nov 24, 2006 4:48 am
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12901

Hi again, Actually I am not yet testing with USB printers, just local and network printers. I found Badara Thiam, on the forum concerning this problem. He had made a tremendous job in trying, like me to find a work around to this problem. With Windows 98 it is posible and quite simple to solve a big...
by Gilbert
Fri Nov 24, 2006 4:38 am
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12901

Hi, Not yet, but I`m trying to port to xHarbour & FiveWinH. I still have things to solve like modify my personal library, figure out what`s the problem with xBuild that will not compile my application, redo all my resource in 32 bits and a few other things. This will take a few weeks and I`m aff...
by Gilbert
Thu Nov 23, 2006 10:55 pm
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12901

Printers, Printers, Printers...

Hi All, Can anyone can tell me, since Antonio Linares can`t, why DeviceCapabilities(), GetDeviceCaps() and DevMode don`t work at all !!! I`ve been struggling whit these 3 functions for the past year and can`t get nothing out of them. Why ? And please, don`t suggest me to use TPrinter CLASS. It does ...
by Gilbert
Tue Nov 21, 2006 7:20 pm
Forum: FiveWin for CA-Clipper
Topic: function dbInfo ()
Replies: 0
Views: 838

function dbInfo ()

Hi All, Yes another problem. If I want to detect if a database is opened in READONLY mode, the dbInfo(DBI_CANCUTREC) function should return .T. or .F. according to the mode of the database. Yet it always return .F. (READWRITE) even if the database is opened in READONLY. Is there a workaround to this...
by Gilbert
Tue Nov 21, 2006 2:42 pm
Forum: FiveWin for CA-Clipper
Topic: Message to Badara
Replies: 10
Views: 3894

Hi Barada, Yesterday, I was talking to one of my friend that is very familliar with API calls. Unfortenatly he doesnt work with FiveWin but he says that all printers informations are available trought API Calls. He says that trying to retreive this information from the register is a difficult task a...
by Gilbert
Tue Nov 21, 2006 2:31 pm
Forum: FiveWin for CA-Clipper
Topic: DATA declaration
Replies: 2
Views: 1305

Hi Antonio,


Thanks for the clarifications.



Regards
by Gilbert
Tue Nov 21, 2006 2:18 am
Forum: FiveWin for CA-Clipper
Topic: DATA declaration
Replies: 2
Views: 1305

DATA declaration

Hi All,

Can someone tell me the difference between:

DATA nValue AS NUMERIC

and:

DATA nValue

Also, if I want to declare a DATA variable and initialize it at declaration.
Can I use:

DATA nValue INIT 0

or I must use:

DATA nValue AS NUMERIC INIT 0



Regards,
by Gilbert
Mon Nov 20, 2006 9:47 pm
Forum: FiveWin for CA-Clipper
Topic: API Calls
Replies: 0
Views: 879

API Calls

Hi All,


I want to retreive a list of available printers using an API Call.
I looked at DllTest, wich does nothing actually and also at DllCall, Wich does not say much either, and I can`t figure out how to do this.

Can anyone help me with the syntax.

Regards,
by Gilbert
Mon Nov 20, 2006 7:39 pm
Forum: FiveWin for CA-Clipper
Topic: Message to Badara
Replies: 10
Views: 3894

Hi Badara,


I did more searching and found out that the printer capabilities available under 2000 and XP cannot be found anywhere in Windows 98.

Could you validate this ?

Regards
by Gilbert
Mon Nov 20, 2006 7:37 pm
Forum: FiveWin for CA-Clipper
Topic: Dialog without class
Replies: 5
Views: 1925

Hi Antonio,

This function I`m developing as to be completely independant form any CLASSES because of portability. Also want to reduce code to a maximum.
I would like to use pure code instead of CLASSES.

Regards