Search found 39 matches: getprinters

Return to advanced search

Have the parameters Selecting a printer

local aPrn := GetPrinters()

Can I automatically have the following parameters of the printer I am going to use?

nPageWidth
nPageHeight
nXOffSet
nYOffSet
nPort
by Silvio.Falconi
Mon Jan 15, 2024 9:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Have the parameters Selecting a printer
Replies: 4
Views: 694

Re: funciones de FWH y Harbour en un archivo .txt

... GetPairLen(<cColorString>,<nPos>)->nLength GetPairPos(<cColorString>,<nPos>)->nAbsPos GetPrec()->nDecimalPlaces GetPrinters([<lPortInfo>],[<lLocalPrinters>])->aPrinterInfo GetProcAddress(<nDllHandle>,<cFuncName>|<nOrdinal>)->pAddress ...
by carlos vargas
Sat Oct 21, 2017 8:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

Re: funciones de FWH y Harbour en un archivo .txt

... GetClearA GetClearB GetClrBack GetClrFore GetClrPair GetCurrentThread GetDefaultPrinter GetE GetEnv GetLastError GetPairLen GetPairPos GetPrec GetPrinters GetProcAddress GetRegistry GetVolInfo GT_AsciiSum GT_Ascpos GT_AtDiff GT_CharEven GT_CharMix GT_CharOdd GT_ChrCount GT_ChrFirst GT_ChrTotal ...
by carlos vargas
Sat Oct 21, 2017 8:43 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: funciones de FWH y Harbour en un archivo .txt
Replies: 7
Views: 5710

Printers & ports

Guys:

How can I find out if there is a PDF / text file port defined on the network ? I know that the following function:
GetPrinters( .T. )

gets me an array of printer names and ports, but I need to find out if there is one of the above for sure. Thank you.
by HunterEC
Thu Jun 23, 2016 1:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printers & ports
Replies: 0
Views: 360

Re: Test to see if USB Printer is ready

... not possible with xHarbour's IsPrinter() function due to differences between DOS and modern operating systems. Info See also: GetDefaultPrinter(), GetPrinters(), PCol(), PRow(), SET DEVICE, SET PRINTER, SetPrc() Category: Printer functions Source: rtl\isprint.c LIB: xhb.lib DLL: xhbdll.dll Example ...
by sambomb
Thu May 21, 2015 8:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Test to see if USB Printer is ready
Replies: 20
Views: 5802

Re: Establecer impresora predeterminada

Ruben; Si compilas con xHarbour, tenes las siguientes 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 ...
by MarioG
Thu Feb 13, 2014 12:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Establecer impresora predeterminada
Replies: 10
Views: 3037

Re: FWH 13:08 Default Printer

Oscar, why don´t you use the TO <cPrinter> clause ? PRINT oPrn TO <cPrinterName> 1: get all printers with GetPrinters() (function from xHarbour) or any other function. 2: select the desired printer and save it in a global var or in an ini-file. 3: use always the TO clause ...
by StefanHaupt
Thu Oct 10, 2013 7:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: FWH 13:09 Default Printer
Replies: 61
Views: 12647

Re: Saber, Tipo de impresora?

Noe; xHarbour dispone de esta funcion: GetPrinters() Retrieves information about available printers. Syntax GetPrinters( [<lPortInfo>], [<lLocalPrinters>] ) --> aPrinterInfo Arguments <lPortInfo> The default value for <lPortInfo> ...
by MarioG
Fri Jul 19, 2013 11:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber, Tipo de impresora?
Replies: 2
Views: 699

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

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

La funcion de FWH toma los datos de win.ini

Slds
by nnicanor
Sat May 19, 2012 4:52 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fwh-AGetPrinters() vs. xHarbour-GetPrinters()
Replies: 2
Views: 772

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

Hola a todos, En un ambiente Terminal Server 2008 , los resultados de Fwh AGetPrinters() son muy distintos al array que se obtiene con [x]Harbour GetPrinters() Viendo las funciones tenemos que: Fwh AGetPrinters() llama a GetProfString( "Devices", 0 ...
by Antonio Martinez
Fri May 18, 2012 3:57 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Fwh-AGetPrinters() vs. xHarbour-GetPrinters()
Replies: 2
Views: 772

Re: BullZip PDF

... de la impresora no coincide... lo digo porque me pasa lo mismo con el PDFCreator. Pero el problema es que en la lista de impresoras obtenida con GetPrinters(), el nombre de la impresora es exactamente correcto: "Bullzip PDF printer"... no hay error. Alguna idea, porque esto me lleva ...
by Antonio Martinez
Fri May 18, 2012 10:23 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: BullZip PDF
Replies: 19
Views: 5414

Re: Impresoras y estaciones de trabajo

... que imprima una estación, debe ser en las impresoras disponibles en esa estación, tanto locales como de red o compartidas. Como tu dices, con GetPrinters() tengo las impresoras que puede disponer la estación en concreto, lo fácil ahora es grabarla en una tabla que será exclusiva de esa estación ...
by Pedro
Wed Dec 21, 2011 6:08 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresoras y estaciones de trabajo
Replies: 14
Views: 3571

Re: Impresoras y estaciones de trabajo

... entre impresoras disponibles de la estacion local y las impresoras configuradas por documento. Las impresoras disponibles se pueden obtener con GetPrinters() o similar y no importa que sea local, de red, de servidor o mediopensionista. Ha de haber, claro esta, una configuracion de Documento-impresora ...
by hmpaquito
Wed Dec 21, 2011 5:14 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresoras y estaciones de trabajo
Replies: 14
Views: 3571

Re: Impresoras y estaciones de trabajo

... compartidas en el lugar donde tu las buscas en el registro, pero al quitar todo lo relacionado con el registro y simplemente poner la función GETPRINTERS, obtengo de la misma forma todas las impresoras instaladas y sus puertos . Carlos de la Rosa, no entendí bien los tres puntos que me indicas, ...
by Pedro
Wed Dec 21, 2011 9:01 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Impresoras y estaciones de trabajo
Replies: 14
Views: 3571
Next

Return to advanced search