Search found 36 matches: agetprinters

Return to advanced search

Re: Impresoras en Terminal Server

... del registro de windows que de indicado antes, cosa que no debería ocurrir. Ocurre lo mismo con el array que devuelve la función AGetPrinters(), ya que en ambos casos se utiliza GetProfString( "Devices", 0 ) que a su vez llama a GetPrivateProfileString() de la api. De ...
by Sebastián Almirón
Thu Feb 08, 2024 10:38 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresoras en Terminal Server
Replies: 6
Views: 333

Re: Strange printers installed

Thank you Otto. Do you mean, Remote Desktop or what? Can they be hidden from aGetPrinters()?
by Enrico Maria Giordano
Thu Jul 20, 2023 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange printers installed
Replies: 4
Views: 278

Strange printers installed

Dear friends, I'm using aGetPrinters() to list the installed printers. One of my customers gets a series of strange printers installed, something like this:

Code: Select all  Expand view
S405(GS) (reindirizzamento 2)


What could they be?
by Enrico Maria Giordano
Thu Jul 20, 2023 3:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Strange printers installed
Replies: 4
Views: 278

Re: impresoras en preview

Manuel, La lista de impresoras la genera la función aGetPrinters(): function AGetPrinters() // returns an array with all the available printers   local aPrinters, cText, cToken := Chr( 15 )   cText = StrTran( StrTran( StrTran( ...
by Antonio Linares
Thu Jan 07, 2021 7:51 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: impresoras en preview
Replies: 6
Views: 796

Terminal server 2019

... like launching outlook, to send some emails, because of the wrong account. Does anyone have the same problem? Is there mayme an update of AGetPrinters()
by Marc Vanzegbroeck
Tue Mar 05, 2019 5:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Terminal server 2019
Replies: 0
Views: 420

Re: Terminal-server problem

... the registery, and now it's working :lol: It seems, if there are to many printers, FWH don't see them all. A displayed all printers returned with aGetPrinters(), al in the beginning the Adobe PDF was not shown. After deleted some in the registry, Adobe was also displayed 8)
by Marc Vanzegbroeck
Sun Oct 08, 2017 10:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Terminal-server problem
Replies: 4
Views: 963

Re: Terminal-server problem

... have no standard printer. Which account uses the the remote user. Have you added the RemoteDesktopUser to your useres and have you set the rights. aGetPrinters() seems to list the printers from registry entries. You have to clean your entries. Best regards, Otto
by Otto
Sat Oct 07, 2017 9:48 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Terminal-server problem
Replies: 4
Views: 963

Terminal-server problem

... 'Adobe PDF', it works. If I use PRINTER ... TO 'Adobe PDF', I get an error, printer not installed. If I list al the printers with the function aGetPrinters(), I can't see 'Adobe PDF', but the other installed printer , and a lot of printers that are not installed anymore. It seems that GetProfString(), ...
by Marc Vanzegbroeck
Sat Oct 07, 2017 6:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Terminal-server problem
Replies: 4
Views: 963

problemas con impresoras okidata usb

... en mismo PC, una para imprimir facturas y otra Boletas, desde el programa las capturo y las dejo asignadas para cada documento con la función aGetPrinters(), luego todo funciona OK (PRINTER oPrn to cPuerto) ;, el problema es que cuando se apaga el PC y se inicia el programa al día siguiente ...
by lafug
Mon Aug 18, 2014 7:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: problemas con impresoras okidata usb
Replies: 5
Views: 710

Re: Establecer impresora predeterminada

... PREVIEW TITLE "Nombre Listado" TO zImpLis2 zimplis2 lo saco de hacer un selección de todas las impresoras instaladas con "zImpr = aGetPrinters()" y lo presento para que la elija. Espero que te ayude a mi si me funciona desde hace mucho. Un saludo Carlos
by colthop
Thu Feb 13, 2014 7:19 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Establecer impresora predeterminada
Replies: 10
Views: 3037

Re: Establecer impresora predeterminada

Gracias Mario:

He intentado de todas formas.
Compilo con Harbour y aGetprinters funciona, pero cuando quiero dejar esa impresora como predeterminada, no lo hace.

Seguiré buscando, gracias.
by RDFernandez
Thu Feb 13, 2014 3:07 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Establecer impresora predeterminada
Replies: 10
Views: 3037

Re: Establecer impresora predeterminada

... funciones (ignoro si las trae Harbour, aunque supongo que si): GetPrinters() - retorna un array de las impresoras disponibles, o la funcion FW: aGetPrinters() tambien dispones de (xHarbour): GetDefaultPrinter() (para retener el nombre al inicio de tu app) luego, con ello podés establecer la ...
by MarioG
Thu Feb 13, 2014 12:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Establecer impresora predeterminada
Replies: 10
Views: 3037

Quitar dialogo de impresora

Hola a todos Tengo una aplicación en la que obtengo las impresoras instaladas con aGetPrinters() y guardo en un campo la impresora que voy a utilizar para imprimir los reportes, facturas o tickets, hasta ahi todo esta perfecto. Mi problema viene al momento de crear ...
by EBM
Mon Jul 15, 2013 7:21 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Quitar dialogo de impresora
Replies: 2
Views: 645

clase tprinter como destruir el objeto oprn sin que imprima

... una variable para determinar el tipo de papel configurado por el usuario 1= continuo las POS , 2 = hoja completa SoportaGra = .f. aImpresoras := aGetPrinters() LEXISTEIMP := .F. FOR X:=1 TO LEN(aImpresoras) if alltrim(upper(aImpresoras[x])) == alltrim(upper(CMIIMPREDEFAULT)) LEXISTEIMP := .t. ...
by mikeone
Sat Nov 10, 2012 6:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: clase tprinter como destruir el objeto oprn sin que imprima
Replies: 0
Views: 419

Re: Fwh-AGetPrinters() vs. xHarbour-GetPrinters()

nnicanor, Gracias por responder. Creo que GetProfString(), es una funcion mantenida por compatibilidad, y que en anteriores S.O. cogia los datos de Win.Ini, pero en posteriores S.O. coge la informacion del registro de Windows. Pero de cualquier forma, lo que si parece es que no coge del mismo lugar ...
by Antonio Martinez
Mon May 21, 2012 7:37 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fwh-AGetPrinters() vs. xHarbour-GetPrinters()
Replies: 2
Views: 772
Next

Return to advanced search

cron