Search found 30 matches: getprintdefault

Return to advanced search

Re: GetPrintDefault() lento en RDP

Gracias Karinha, pero no me vale.

Precisamente mi insterés es buscar una alternativa a GetPrintDefault() que en RDP va muy lento
by hmpaquito
Wed Apr 07, 2021 1:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDefault() lento en RDP
Replies: 3
Views: 331

Re: GetPrintDefault() lento en RDP

Intenta asi: FUNCTION DefaultPrinter()   LOCAL nPrn, nRet   // Abre a tela para a seleção da impressora   /*   GetPrintDC( GetActiveWindow() )   // Coloca a impressora selecionada como Default do Windows   SetDefaultPrinter( PRNGETN...
by karinha
Wed Apr 07, 2021 1:04 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDefault() lento en RDP
Replies: 3
Views: 331

GetPrintDefault() lento en RDP

Hola a todos. Uso Terminal Server. Detecté que GetPrintDefault() es muy lento en TS. Así que asumí que todas las impresoras están "preparadas". Quizá el problema es que TS "se trae" muchas impresoras, pero lo cierto es que es ...
by hmpaquito
Wed Apr 07, 2021 10:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDefault() lento en RDP
Replies: 3
Views: 331

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: 6382

Re: "No Default Printer" message on Windows 7 64-bit (Urgent)

Hua, Thanks Stefan. I can't find GetDefaultPrinter() in the source but I did find GetPrintDefault(). I assume that's the one you meant? No, I meant GetDefaultPrinter(), it exists in xHarbour, I don´t know if it exists in harbour, too. There are two functions I´m ...
by StefanHaupt
Fri Apr 30, 2010 4:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: "No Default Printer" message on Windows 7 64-bit
Replies: 18
Views: 6168

Re: "No Default Printer" message on Windows 7 64-bit (Urgent)

Thanks Stefan. I can't find GetDefaultPrinter() in the source but I did find GetPrintDefault(). I assume that's the one you meant? Unfortunately, it doesn't address the logic that I want to implement. See, as a feature, in our program we allow user to select a ...
by hua
Fri Apr 30, 2010 7:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: "No Default Printer" message on Windows 7 64-bit
Replies: 18
Views: 6168

Re: preview alpha 2

... , "" ) WriteProfString( "windows", "device", cOption ) SysRefresh() PrinterInit() ::oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() WriteProfString( "windows", "device", cPrinter ) RETURN nil //----------------------------------------------------------------------------// ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Nombre del recurso compartido

... ----> lo tengo resuelto con ALLTRIM(GetEnv("LOGONSERVER"))+'\' Ahora solo me falta el nombre de la impresora compartida. Probé con GetPrintDefault( GetActiveWindow() ), pero no hay manera. ¿ Es posible ? Mil gracias LORENZO.
by Loren
Thu Dec 10, 2009 11:12 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Nombre del recurso compartido
Replies: 0
Views: 208

Re: GetPrintDC()

... Sugestion by Enrico M. Giordano // Insert here the function to create the report // oWnd:End() // George - To close current preview oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() WriteProfString( "windows", "device", cPrinter ) RETURN nil
by jbrita
Tue Nov 24, 2009 11:29 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: GetPrintDC()
Replies: 4
Views: 2708

Varias posibilidades con TICKETS

...      oPrn:say(1,1,'empenzando a imprimir...')      ...     ENDIF ¿La variable vRuta se podría depurar con vRuta:=GetPrintDefault( GetActiveWindow() ) b) NO compartida en RED ¿ El código sería el mismo que en la opción anterior ? A la espera de respuestas, saluda ...
by Loren
Wed Nov 18, 2009 12:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Varias posibilidades con TICKETS
Replies: 1
Views: 504

Vista Printing issue

... PRINTERNAME ) where PRINTERNAME is the name of the printer to use as acquired from the PRINTERSETUP() function as follows: PRINTERSETUP() hDC := GetPrintDefault( GetActiveWindow() ) PRINTERNAME := PRNGETNAME() If, however in the vista environment, I call Tprinter:new with the 2cnd parameter to ...
by don lowenstein
Tue Oct 06, 2009 6:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Vista Printing issue
Replies: 2
Views: 626

Re: Impressora

FranciscoA wrote:Para obter o nome da impressora padrão, acho que você pode usar GetPrintDefault( GetActiveWindow() )
Saudações


Isto eu sei.

Quero nome do compartilhamento!!

Printer default -> \\computador\epson lx-300
Share name -> \\computador\epson <<<
Port Name -> LPT1
by Anderson.OL
Mon Jun 01, 2009 3:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impressora
Replies: 7
Views: 1002

Re: Impressora

Para obter o nome da impressora padrão, acho que você pode usar GetPrintDefault( GetActiveWindow() )
Saudações
by FranciscoA
Mon Jun 01, 2009 2:34 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impressora
Replies: 7
Views: 1002

Re: Error impresora en Vista

... SysRefresh() //iniciamos impresora PrinterInit() DeleteDC( oDevice:hDC ) // Sugestion by Enrico M. Giordano // temporal printer oDevice:hDC := GetPrintDefault( GetActiveWindow() ) SysRefresh() // default printer again WriteProfString( "windows", "device", cPrinter ) RETURN ...
by Manuel Valdenebro
Tue May 12, 2009 7:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Error impresora en Vista
Replies: 4
Views: 799
Next

Return to advanced search