Search found 26 matches: devmode

Return to advanced search

Re: Have the parameters Selecting a printer

... as PaperWidth, PaperHeight, TopMargin, LeftMargin, PageBreak, Orientation, XOffSet, and YOffSet, are typically part of a printer's Device Mode (DevMode) structure. This structure contains information about a printer's capabilities and print job configuration. This array represents the DevMode ...
by Otto
Mon Jan 15, 2024 2:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Have the parameters Selecting a printer
Replies: 4
Views: 694

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

Hello Manuel, I found this code but do not know how to use. Best regards, Otto Once the DEVMODE structure has been modified to suit our configuration, we can either create a printer device context using the CreateDC API call: Code: Select all HDC hDC = CreateDC( _T( ...
by Otto
Mon Jul 12, 2021 8:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: *** Curso de C para programadores Harbour.
Replies: 141
Views: 18267

Re: SetLandscape

... for all applications. Can you please help me? Best regards, Otto https://www.amyuni.com/forum/viewtopic.php?t=1224 Once the DEVMODE structure has been modified to suit our configuration, we can either create a printer device context using the CreateDC API call: Code: Select ...
by Otto
Mon Jun 14, 2021 7:33 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetLandscape
Replies: 11
Views: 1263

Re: Se necesita ayuda en el wiki !

... DelIniEntry() Delinisection() Delresource() DelwndBrus() DestroyCursor() DestroyIcon() DestroyMenu() DestroyWindow() DeviceCapabilities() DevMode() DialogBoxIndirect() DibDraw() DibFromBitmap() DibHeight() DibPalette() DibRead() DibWidth() DibWrite() Ditbackgrd() DlgFindText() Dotsadjust() ...
by Cgallegoa
Sat Feb 20, 2010 8:13 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Se necesita ayuda en el wiki !
Replies: 12
Views: 5502

Seleccionar Bandeja no funciona

... lo tanto, es imposible saber el codigo BIN que le corresponde a las diferentes bandejas de la impresora. function GetBinSelection: integer; var hDevMode: THandle; Device,Driver,Port: array [0..1024] of Char; bin: integer; DevMode : PDevMode; begin Printer.GetPrinter (Device,Driver,Port,hDevMode); ...
by thefull
Wed Dec 16, 2009 4:20 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Seleccionar Bandeja no funciona
Replies: 1
Views: 550

Re: PrintDC.c - From User - Antonio

Davide, nCopies Contains the initial number of copies for the Copies edit control if hDevMode is NULL; otherwise, the dmCopies member of the DEVMODE structure contains the initial value. When PrintDlg returns, nCopies contains the actual number of copies to print. This value depends on whether ...
by Antonio Linares
Fri Sep 18, 2009 5:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: PrintDC.c - From User - Antonio
Replies: 4
Views: 692

Chris,

There is an extra ")" here:

devmode.dmDisplayOrientation = hb_parnl( 1 ) );

Just remove it and it will compile fine
by Antonio Linares
Thu Jul 10, 2008 6:42 pm
 
Forum: FiveWin for Pocket PC
Topic: Landscape() not working on my WinCE 5.0 Device
Replies: 5
Views: 1385

... ReadBitmap() ; return nil function PalBmpRead() ; return nil #pragma BEGINDUMP #include "windows.h" #include "hbapi.h" HB_FUNC( ORIENTATION ) { DEVMODE devmode; memset( &devmode, 0, sizeof( devmode ) ); devmode.dmSize = sizeof( DEVMODE ); devmode.dmDisplayOrientation = hb_parnl( 1 ) ); devmode.dmFields ...
by ChrisMillard
Thu Jul 10, 2008 12:23 pm
 
Forum: FiveWin for Pocket PC
Topic: Landscape() not working on my WinCE 5.0 Device
Replies: 5
Views: 1385

I remember reading somewhere that DeviceCaps() and DevMode() don't even work the same on different OSs, so this may be a Windows problem not a FWH issue. You might try Googling them to see what you can find.

James
by James Bott
Thu Dec 07, 2006 5:35 pm
 
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12237

Badara, > It is easy to see DeviceCapa() don't work, like DevMode() If it is so easy, then please provide a small sample, thanks :-) To test, insert DeviceCapa() in your main PRG and test compile with FW 2.5 (october 2004). You see like me, or you have ...
by Antonio Linares
Thu Dec 07, 2006 5:25 pm
 
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12237

Badara, > It is easy to see DeviceCapa() don't work, like DevMode() If it is so easy, then please provide a small sample, thanks :-) To test, insert DeviceCapa() in your main PRG and test compile with FW 2.5 (october 2004). You see like me, or you have ...
by Badara Thiam
Thu Dec 07, 2006 8:56 am
 
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12237

Badara,

> It is easy to see DeviceCapa() don't work, like DevMode()

If it is so easy, then please provide a small sample, thanks :-)
by Antonio Linares
Thu Dec 07, 2006 1:16 am
 
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12237

Antonio,

It is easy to see DeviceCapa() don't work, like DevMode()
and some others printing functions, and TPrinter() originale class,
with the FW 2.5 pack.

Regards,
by Badara Thiam
Wed Dec 06, 2006 11:10 pm
 
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12237

Gilbert, Badara, > I`m saying that DevMode(), DeviceCaps() and GetDeviceCaps() are resulting erroneaus results. > Could you please provide us a small sample to reproduce the errors ? Thanks, > I have exactly the same problem with this ...
by Antonio Linares
Tue Dec 05, 2006 4:39 am
 
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12237

... derrière ces fonctions m`ont grandement aider à découvrir une méthode de contourner Fivewin. J`étais rendu au point de récupérer les information (DevMode) des imprimantes configurées sous Windows. Malheureusement les fonctions de Fivewin qui devrait permettre d`y parvenir n`ont pas l`air de fonctionner ...
by Gilbert
Tue Dec 05, 2006 3:34 am
 
Forum: FiveWin for CA-Clipper
Topic: Printers, Printers, Printers...
Replies: 26
Views: 12237
Next

Return to advanced search