Pesquisa resultou em 96 ocorrências: +WIN_PRINTERLIST

Termo pesquisado: +win printerlist

por microvolution
26 Nov 2024 00:09
Fórum: MiniGui
Tópico: include\i_MsgBox.ch(20) Warning W0002 Redefinition or dupli
Respostas: 59
Exibições: 22914

include\i_MsgBox.ch(20) Warning W0002 Redefinition or dupli

... mingw32/bin/ld.exe: C:/Users/MICROV~1/AppData/Local/Temp/hbmk_8q1xoq.dir/pci10000.o:pci10000.c:(.data+0x1c8): undefined reference to `HB_FUN_WIN_PRINTERLIST'
f:/programasinstalados/hmg.3.5/mingw/bin/../lib/gcc/i686-w64-mingw32/9.3.0/../../../../i686-w64-mingw32/bin/ld.exe: C:/Users/MICROV~1/AppData ...
por Itamar M. Lins Jr.
07 Dez 2023 11:04
Fórum: Contribuições, Dicas e Tutoriais
Tópico: Ajustando sistema Hwgui(Win) para Hwgui(Linux).
Respostas: 43
Exibições: 42420

Ajustando sistema Hwgui(Win) para Hwgui(Linux).

... undefined reference to `HB_FUN_WIN_OEMTOANSI'
/usr/bin/ld: .hbmk/linux/gcc/cheques.o:(.data.rel+0x2110): undefined reference to `HB_FUN_WIN_PRINTERLIST'
/usr/bin/ld: .hbmk/linux/gcc/cheques.o:(.data.rel+0x2150): undefined reference to `HB_FUN_WIN_PRINTERGETDEFAULT'
/usr/bin/ld: .hbmk/linux/gcc ...
por Itamar M. Lins Jr.
06 Dez 2023 19:18
Fórum: [x]Harbour
Tópico: Convertendo Sistema do GASPRO para Harbour
Respostas: 276
Exibições: 370194

Convertendo Sistema do GASPRO para Harbour

... WIN_PRN().


*********************************
Function PrintWinPrn(cArq,cPrint)
*********************************
*
*
Local oPrn, aPrn:=WIN_PRINTERLIST(), n := 0
if empty(aPrn)
alert('Não há impressoras instaladas')
return .f.
endif
If cPrint == Nil
cPrint := win_PrinterGetDefault()
EndIf ...
por Itamar M. Lins Jr.
06 Dez 2023 17:26
Fórum: [x]Harbour
Tópico: Convertendo Sistema do GASPRO para Harbour
Respostas: 276
Exibições: 370194

Convertendo Sistema do GASPRO para Harbour

... PrintFileRaw


**********************************
Function Imprime(cArq,cPrint,cTit)
**********************************
*
*
Local oPrn, aPrn:=WIN_PRINTERLIST()
hb_default(@cPrint,win_PrinterGetDefault())
hb_default(@cTit,"PEDIDO")

If Empty(cArq)
alert('Informe algo p/ imprimir.')
Return .F.
EndIf ...
por Fernando queiroz
04 Jun 2023 15:47
Fórum: Contribuições, Dicas e Tutoriais
Tópico: PIX
Respostas: 20
Exibições: 7266

PIX

... interrompe" )
// ENDIF

RETURN lPrint

FUNCTION PrintSelect( cImpressora )

LOCAL acPrinterList, nOpc := 1, lOk, nCont

acPrinterList := Win_PrinterList()
FOR nCont = 1 TO Len( acPrinterList )
IF acPrinterList[ nCont ] == Win_PrinterGetDefault()
nOpc := nCont
EXIT
ENDIF
NEXT
// WAchoice ...
por marco.prodata
15 Jul 2021 11:34
Fórum: [x]Harbour
Tópico: Mesmo PRG windows e linux com WVT e outras funções
Respostas: 11
Exibições: 1644

Mesmo PRG windows e linux com WVT e outras funções

... um programa em linux, e surgiu uma dúvida, no windows utilizo gtwvg.hbc e o hbwin.hbc para utilizar funções como wvt_setpalette, wvt_setfont, win_printerlist, como faço para utilizar o mesmo .prg para compilar no linux e compilador não reclamar a falta dessas funções?
Tem algum IFDEF WINDOWS algo ...
por cjp
12 Mai 2021 15:37
Fórum: [x]Harbour
Tópico: Win_PrintFileRaw
Respostas: 8
Exibições: 1509

Win_PrintFileRaw

... 27)+"(s9H"
@ nLf,2 say Chr(27)+"&d@"
nLf++
nLf++
@ nLf,5 say "Observaçoes: "+substr(observacoes,1,48)
a=49

....

cls
private aPrn := Win_PrinterList( .t., .f. )
escimpr()
If !Empty( cPrinter )
?Win_PrintFileRaw( cPrinter, "ArqPrint.Tmp", "Rel.pdf" )
Endif
set devi to scre
set printer ...
por Itamar M. Lins Jr.
21 Abr 2021 22:51
Fórum: [x]Harbour
Tópico: Create Error..impressão.
Respostas: 25
Exibições: 4618

Create Error..impressão.

... esta função.


*********************************
Function PrintWinPrn(cArq,cPrint)
*********************************
*
*
Local oPrn, aPrn:=WIN_PRINTERLIST(), n := 0
if empty(aPrn)
hwg_Msginfo('Não há impressoras instaladas')
return .f.
endif
If cPrint == Nil
cPrint := win_PrinterGetDefault ...
por ziul
21 Abr 2021 18:59
Fórum: [x]Harbour
Tópico: Create Error..impressão.
Respostas: 25
Exibições: 4618

Create Error..impressão.

... return nil

*----------------------------------*
Function Imprime(cArq,cPrint,cTit)
*----------------------------------*
Local oPrn, aPrn:=WIN_PRINTERLIST()
hb_default(@cPrint,win_PrinterGetDefault())
hb_default(@cTit,"PEDIDO")
If Empty(cArq)
alert('Informe algo p/ imprimir.')
Return .F ...
por Itamar M. Lins Jr.
21 Abr 2021 18:40
Fórum: [x]Harbour
Tópico: Create Error..impressão.
Respostas: 25
Exibições: 4618

Create Error..impressão.

... próprio Harbour.

#require "hbwin"

PROCEDURE Main()

LOCAL nPrn := 1
LOCAL cFileName := Space( 40 )
LOCAL GetList := {}

LOCAL aPrn := win_printerList()

CLS

IF Empty( aPrn )
Alert( "No printers installed - Cannot continue" )
ELSE
DO WHILE nPrn != 0
CLS
@ 0, 0 SAY "win_PrintFileRaw ...
por ricardosierban
13 Jan 2021 21:22
Fórum: [x]Harbour
Tópico: Erro HB_FUN aparece diversas vezes, como resolver ?
Respostas: 25
Exibições: 4689

Erro HB_FUN aparece diversas vezes, como resolver ?

... to `HB_FUN_SETDATE'
C:/Users/Ricardo/AppData/Local/Temp/hbmk_2g2v5c.dir/gasp40hb.o:gasp40hb.c:(.data+0x2310): undefined reference to `HB_FUN_WIN_PRINTERLIST'
C:/Users/Ricardo/AppData/Local/Temp/hbmk_2g2v5c.dir/gasp40hb.o:gasp40hb.c:(.data+0x2350): undefined reference to `HB_FUN_WIN_PRINTFILERAW'
C ...
por cjp
15 Set 2020 14:17
Fórum: Contribuições, Dicas e Tutoriais
Tópico: Modo gráfico Tutor Plug and Play - Hwgui
Respostas: 46
Exibições: 26290

Modo gráfico Tutor Plug and Play - Hwgui

... CLEANBLUE := 16771276
PUBLIC N_CLEANGRAY := 12632256
PUBLIC N_BLUE001 := 16777172
*
PRIVATE cUserName := Hb_GetEnv("USERNAME")
PRIVATE aPrn := Win_PrinterList()
PRIVATE oSayMsg0
PRIVATE oSayMsg1
PRIVATE oSayMsg2
PRIVATE oSayMsg3
PRIVATE oBar
PRIVATE nTempoInicio

::AppSetup()

nIconIndex := NIIF ...
por Fernando queiroz
09 Jun 2020 20:17
Fórum: [x]Harbour
Tópico: Sobre a pdfclass
Respostas: 14
Exibições: 2935

Sobre a pdfclass

... interrompe" )
// ENDIF

RETURN lPrint

FUNCTION PrintSelect( cImpressora )

LOCAL acPrinterList, nOpc := 1, lOk, nCont

acPrinterList := Win_PrinterList()
FOR nCont = 1 TO Len( acPrinterList )
IF acPrinterList[ nCont ] == Win_PrinterGetDefault()
nOpc := nCont
EXIT
ENDIF
NEXT
// WAchoice ...
por cjp
27 Mai 2020 11:28
Fórum: HwGui
Tópico: Aos poucos migrando tela caracter para GUI
Respostas: 195
Exibições: 67937

Aos poucos migrando tela caracter para GUI

... CLEANBLUE := 16771276
PUBLIC N_CLEANGRAY := 12632256
PUBLIC N_BLUE001 := 16777172
*
PRIVATE cUserName := Hb_GetEnv("USERNAME")
PRIVATE aPrn := Win_PrinterList()
PRIVATE oSayMsg0
PRIVATE oSayMsg1
PRIVATE oSayMsg2
PRIVATE oSayMsg3
PRIVATE oBar
PRIVATE nTempoInicio

::AppSetup()

nIconIndex := NIIF ...
por Fernando queiroz
06 Nov 2019 17:25
Fórum: [x]Harbour
Tópico: Exemplos de recibos em PDF
Respostas: 15
Exibições: 4220

Exemplos de recibos em PDF

... interrompe" )
// ENDIF

RETURN lPrint

FUNCTION PrintSelect( cImpressora )

LOCAL acPrinterList, nOpc := 1, lOk, nCont

acPrinterList := Win_PrinterList()
FOR nCont = 1 TO Len( acPrinterList )
IF acPrinterList[ nCont ] == Win_PrinterGetDefault()
nOpc := nCont
EXIT
ENDIF
NEXT
// WAchoice ...