Search found 42 matches: printdc

Return to advanced search

Re: *** Curso de C para programadores Harbour.

Hello Manuel, now I get: Error: Unresolved external '_GlobalAllocPtr' referenced from C:\WINHOTEL_ENTWICKLUNG_2021\XREPORT\RELEASE\PRINTDC.OBJ Error: Unresolved external '_GlobalFreePtr' referenced from C:\WINHOTEL_ENTWICKLUNG_2021\XREPORT\RELEASE\PRINTDC.OBJ Is it a problem, but I use ...
by Otto
Wed Jul 14, 2021 12:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: *** Curso de C para programadores Harbour.
Replies: 141
Views: 18273

Re: *** Curso de C para programadores Harbour.

Hello Manuel, Thank you for your help. Unfortunately, I am not familiar with C functions. I have inserted your code into printdc.c and integrated this file into my project. I get the following error message: Error E2188 C: \ FWH \ source \ winapi \ printdc.c 1228: Expression syntax ...
by Otto
Tue Jul 13, 2021 11:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: *** Curso de C para programadores Harbour.
Replies: 141
Views: 18273

Re: *** Curso de C para programadores Harbour.

... 1, 0 );    hb_retni( prnSetOrientation( short dmOrientationNew ) );}  Te recuerdo que lo tienes que añadir a printdc.c de FWH No lo compilo por lo que si hay errores y no lo sabes resolver dimelos
by xmanuel
Tue Jul 13, 2021 9:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: *** Curso de C para programadores Harbour.
Replies: 141
Views: 18273

Re: *** Curso de C para programadores Harbour.

Hola Otto la tienes que añadir al archivo printdc.c de FWH
by xmanuel
Mon Jul 12, 2021 7:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: *** Curso de C para programadores Harbour.
Replies: 141
Views: 18273

Longer TPrinter document name

Can we have longer TPrinter document name, please? From printdc.c:   char szDocName[ 32 ];   int iLen = MIN( 31, hb_parclen( 2 ) ); 64 should be enough:   char szDocName[ 64 ];   int iLen ...
by Enrico Maria Giordano
Fri Jan 26, 2018 11:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Longer TPrinter document name
Replies: 0
Views: 445

Re: Duplex Printing

It is in source\winapi\printdc.c
by Gale FORd
Tue Feb 14, 2017 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Duplex Printing
Replies: 3
Views: 834

New FTDN November/Noviembre 2016 (FWH 16.11)

... with thick fonts for titles, etc. In other cases normal text drawing functions/methods serve the purpose. Parameters 1. hDC. Please do not use PrintDC 2. Text. Can be ANSI/Unicode and can be multi-line 3. aRect. { nTop, nLeft, nBottom. nRight } pixels 4. hFont ( GDI font handle ) eg: oFont:hFont ...
by Antonio Linares
Wed Nov 30, 2016 12:07 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN November/Noviembre 2016 (FWH 16.11)
Replies: 4
Views: 3168

Antonio: Duplexprint

In the source printdc.c in function HB_FUNC( PRNDUPLEX ) // ( nValue ) --> nOldValue should be added the line if (pDevMode->dmFields & DM_DUPLEX) to set any nValue only if the duplexprint for the printer is present. ...
by byte-one
Sun Feb 14, 2016 2:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Antonio: Duplexprint
Replies: 9
Views: 1256

PrinterDCFromName en FWH 12.04 (Solucionado)

Buenos días amigos, estoy teniendo un problema con la función PrinterDCFromName() que viene definida en printdc.c HB_FUNC( PRINTERDCFROMNAME ) // ( cDriver, cModel, cPort ){   LPDEVMODE  lpDevMode;   lpDevMode  = (LPDEVMODE) GlobalLock( pd.hDevMode ...
by AngelSalom
Thu Apr 10, 2014 8:49 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: PrinterDCFromName en FWH 12.04 (Solucionado)
Replies: 9
Views: 1760

New function IsColorPrinter()

Antonio, can you add this code to printdc.c? Maybe it is for some people useful. HB_FUNC( ISCOLORPRINTER ){   LPDEVMODE  lpDevMode;   PrinterInit();   lpDevMode  = (LPDEVMODE) ...
by byte-one
Tue Apr 02, 2013 7:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New function IsColorPrinter()
Replies: 1
Views: 816

Re: Multiple Declaration of 'WORD' in FWH1005+BCC5.82 (resolved)

Antonio, yes, many years ago we made some modifications to printdc.c and since then we used our own one. Now I reprogrammed some of my sourcecode to become fully compatible to the standard printdc.c and with these modifications I could abandon the old ...
by gkuhnert
Tue Jun 15, 2010 12:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Declaration of 'WORD' in FWH1005+BCC5.82 (resolved)
Replies: 8
Views: 1536

Re: Multiple Declaration of 'WORD' using FWH1005 and BCC 5.82

Enrico Maria Giordano wrote:It is PrinterSetup() not PrintSetup().


gkuhnert wrote:But it was PrnSetup in our own printdc.c.


You are confusing PrinterSetup(), PrintSetup() and PrnSetup(). :-)

EMG
by Enrico Maria Giordano
Mon Jun 14, 2010 2:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Declaration of 'WORD' in FWH1005+BCC5.82 (resolved)
Replies: 8
Views: 1536

Re: Multiple Declaration of 'WORD' using FWH1005 and BCC 5.82

Enrico Maria Giordano wrote:It is PrinterSetup() not PrintSetup().

EMG


But it was PrnSetup in our own printdc.c. It worked until now. But for better compatibility I now made an own function in my PRG's and am able to use the standard printdc.c now. So the matter is resolved. Thanks for your efforts
by gkuhnert
Mon Jun 14, 2010 1:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Declaration of 'WORD' in FWH1005+BCC5.82 (resolved)
Replies: 8
Views: 1536

Re: Multiple Declaration of 'WORD' using FWH1005 and BCC 5.82

Antonio (and others): now I tried to use the original printdc.c (as I don't include my own printdc.c anymore) and a strange thing happens: nothing happens, when I call Printsetup(). Usually a printer setup dialog should open, but the program rusn on ...
by gkuhnert
Thu Jun 10, 2010 1:12 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Declaration of 'WORD' in FWH1005+BCC5.82 (resolved)
Replies: 8
Views: 1536

Re: Multiple Declaration of 'WORD' using FWH1005 and BCC 5.82

Antonio, it's a modified printdc.c, which we use now for several years, this is the code. As I didn't write it myself, I'd appreciate your help :roll: #include <WinTen.h>#include <Windows.h>//#include <Print.h>#include ...
by gkuhnert
Tue Jun 08, 2010 9:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Multiple Declaration of 'WORD' in FWH1005+BCC5.82 (resolved)
Replies: 8
Views: 1536
Next

Return to advanced search