Search found 28 matches: getprintdc

Return to advanced search

Re: Error in FWH 18.01

Thanks Linares,

Sorry but when I wrote “system” I was saying “My application”.

Just in Windows Terminal Server, the FWH18.01 stopped to accept the printer selected by user using printersetup() or getprintdc(). It was necessary to change printer.prg for it to function as before.
by ORibeiro
Sat Mar 03, 2018 10:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in FWH 18.01
Replies: 4
Views: 844

Re: Error in FWH 18.01

Oscar,

> PrinterSetup () and GetPrintDC () were not modifying the system printer

Should they modify the system printer ?

why ?

We appreciate a more detailed explanation, thanks
by Antonio Linares
Sat Mar 03, 2018 8:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in FWH 18.01
Replies: 4
Views: 844

Error in FWH 18.01

I changed line 438 of Printer.prg because PrinterSetup () and GetPrintDC () were not modifying the system printer. METHOD End() CLASS TPrinter   if ::hDC != 0      if ! ::lMeta         if ::lStarted            EndDoc(::hDC)         endif  ...
by ORibeiro
Thu Mar 01, 2018 6:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Error in FWH 18.01
Replies: 4
Views: 844

Re: Ayuda DLL

Antonio, aquí la segunda parte: Error: Unresolved external '_HB_FUN_DRAWTHEMED' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_GETDLGBASEUNITS' referenced from P:\32BITS\FWH\LIB\FIVEHX.LIB|DIALOG Error: Unresolved external '_HB_FUN_CDLG2CHR' referenced from P...
by ricardog
Thu Aug 31, 2017 2:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Ayuda DLL
Replies: 24
Views: 6332

Re: multiple defintions, forst defined here

I changed the folder I was using to start hbmk2 to where the source code sits, and now am getting undefined instead of duplicates This is due, I guess, to not pulling in the correct library(ies). I added trace to see what was going on (thanks for that tip). Does this and the console listing below he...
by lmheimendinger
Mon Dec 05, 2016 11:37 pm
 
Forum: FiveWin for CA-Clipper
Topic: multiple defintions, forst defined here
Replies: 15
Views: 20315

Re: Disable button: NETWORK

Can I use GetPrintDC() instead of PrnterSetup() ???

It GetPrintDC() not appear the [Network] button.
by ORibeiro
Tue Sep 30, 2014 6:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Disable button: NETWORK
Replies: 4
Views: 791

Re: FWH 13:08 Default Printer

Linares,

We select one of two ways:

In the menu system using the command:
GetPrintDC (GetActiveWindow ())

Or before printing with the command:
PRINTERSETUP ()

Thanks,
by ORibeiro
Wed Oct 09, 2013 1:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 13:09 Default Printer
Replies: 61
Views: 12649

Re: Printer Problem

... USER show a dialog with the correct printers only and GetProfStr returns all the printers from the alternate registry location. It appears the GetPrintDC function is retrieving the available printers another way or from the normal registry location while the GetProfStr function is redirected ...
by Randal
Wed Oct 06, 2010 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer Problem
Replies: 2
Views: 1048

Re: REPORT IMPRIMIR EN 2 LINEAS UN REGISTRO

... REPORT oReport TITLE " ","EMPRESA X S.A. ","ESTADO DE SALDOS Y ABONOS", "HISTORICO X CLIENTE "; PREVIEW GetPrintDc() COLUMN TITLE "No FACT " DATA C->NUM_DOC SIZE 9 COLUMN TITLE "Fecha " DATA C->FEC_FAC PICTURE "99/99/9999" ...
by Ramon Paredes
Sat Feb 27, 2010 2:20 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: REPORT IMPRIMIR EN 2 LINEAS UN REGISTRO
Replies: 5
Views: 2098

Re: GetPrintDC()

... nada mas. Abandoné esa clase, porque daba muchos problemas en Windows Vista. Por eso ahora estoy utilizando (a opción del usuario), la funcion GetPrintDC() y funciona muy bien el cambio de impresora. El problema es que si en esa ventana usa el resto de los parámetros (num. de copias/numero ...
by Manuel Valdenebro
Wed Nov 25, 2009 6:12 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

Re: GetPrintDC()

Amigo Prueba esta: #include "FiveWin.ch" #define DEVICE oWnd:cargo #define GO_POS 0 #define GO_UP 1 #define GO_DOWN 2 #define GO_LEFT 1 #define GO_RIGHT 2 #define GO_PAGE .T. #define VSCROLL_RANGE 20*nZFactor #define HSCROLL_RANGE 20*nZFactor #define TXT_FIRST LoadString( GetResources(), 0...
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

Re: GetPrintDC()

... #include "report.ch" STATIC oReport Function Rep01( lCambio ) default lCambio := .t. USE TEST INDEX TEST NEW If lCambio GetPrintDc() endif REPORT oReport TITLE "*** My First Report ***" PREVIEW COLUMN TITLE "St" DATA Test->State COLUMN TITLE "First ...
by Manuel Valdenebro
Tue Nov 24, 2009 7:54 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707

Re: GetPrintDC()

Manuel,

Si no me equivoco, pienso que una vez cambiados esos valores habria que regenerar el previo.

Lo mejor sería probar un ejemplo autocontenido. Tienes un ejemplo que podamos probar ? gracias
by Antonio Linares
Tue Nov 24, 2009 4:10 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2707
Next

Return to advanced search