Search found 14 matches: aprinters

Return to advanced search

Conversion 1303 to 1402 : PRINT ... cModel

Hello , Making the conversion from a big FWH aplication from FWH1303 to FWH1402 , i have problems withy the command : PRINT oPrn NAME cTitle TO aPrinters[nPrint] // Checked : PDFCREATOR , printer is defined in windows DBG oPrn oPrn Shows as expected cModel (PDFCreator) and a value for hDc BUT ...
by Franklin Demont
Wed Apr 23, 2014 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Conversion 1303 to 1402 : PRINT ... cModel
Replies: 2
Views: 679

Re: Establecer impresora predeterminada

... gracias amigos. Solucionado con un poco de todos. Cambie lo que dice karinha y ademas hice.. claImpreAnterior := PrnGetName() nImprePDF:= AScan(aPrinters, "PDF") cLaImpre :=aPrinters[nImprePDF] cLaImpre := xTrim(cLaImpre) (ltrim+rTrim) SetPrintDefault( cLaImpre ) Saludos y gracias.
by RDFernandez
Wed Feb 19, 2014 8:16 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Establecer impresora predeterminada
Replies: 10
Views: 3037

Re: Imprimir

Incluso seria de utilidad que al iniciar el programa verifiques si tu impresora PDF esta instalada

aPrinters:=AgetPrinters()

Para obtener la lista de impresoras configuradas y luego con ASCAN buscas la presencia de la impresora que requieras...
by JoseGS
Thu Nov 18, 2010 5:28 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir
Replies: 11
Views: 1543

Re: Printer Problem

... them in branches where GetProfStr() does not look for, its necesary to modify so that also looks for, there is not a function that many we used is aPrinters, but works either very well, I have not proven it in Windows Vista because not it use, that could be a track of your problem. :cry: //-------------------------------------------------------------------//STATIC ...
by cuatecatl82
Tue Oct 05, 2010 12:31 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printer Problem
Replies: 2
Views: 1048

Re: Imprimir en impresora que no es la Default

... Para obtener las impresoras instaladas puedes usar la funcion aGetPrinters(), que devuelve un array con las mismas. Syntax: aGetPrinters() --> aPrinters Un saludo, Ernesto. Y es cierto que hoy al "buscar" distintos temas en los foros (SQL, xbrowse, etc.) aparecen muy pocos temas.
by ermatica
Tue May 18, 2010 10:19 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Imprimir en impresora que no es la Default
Replies: 1
Views: 336

Re: preview alpha 2

... oMenuTwoPages, oMenuUnZoom, oMenuOnePage DATA cResFile DATA aFactor, nPage, nZFactor DATA lTwoPages, lZoom, lExit DATA cPageNum // Esteban DATA aPrinters DATA cPrinter DATA cOldPrinter // Esteban CLASSDATA oWndMain METHOD New( oDevice ) METHOD Activate() METHOD BuildButtonBar() METHOD BuildWindow() ...
by dobfivewin
Thu Jan 14, 2010 10:08 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: preview alpha 2
Replies: 2
Views: 2033

Re: Printers

Hello Stefan, hello Otto,

even with 'aPrinters[nX][1]' the return value is always 4096!
by frose
Wed Jun 03, 2009 10:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Printers
Replies: 11
Views: 2137

printer trouble

... the following problem with the FiveWin printer commands. I want to print to a specified printer. To find the correct name i called the function aPrinters := aGetPrinters(). Here the content of aPrinter: --------------------------- Microsoft XPS Document Writer Microsoft Office Document Image ...
by Detlef Hoefner
Mon Feb 02, 2009 3:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: printer trouble
Replies: 5
Views: 775

Ola Anser
Seguem varias funçoes sobre este assunto
? GetDefaultPrinter(), PrnGetName(),PrnGetDrive() ,PrnGetOrientation() ,AGetPrinters()
aPrinters()

aImpr := GetPrinters(.T.)
For nX := 1 To Len(aImpr)
? aImpr[nX][1],aImpr[nX][2]
Next
by marca
Fri Oct 31, 2008 6:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Retrieve Network prn's share name & IP/NetBios (Solved)
Replies: 5
Views: 1314

DLL32 Question!!!

... PRINTER_ENUM_NAME 8 #define PRINTER_ENUM_REMOTE 10 #define PRINTER_ENUM_SHARED 20 #define PRINTER_ENUM_NETWORK 40 FUNCTION Main() LOCAL aPrinters, nNecesitados, nRetornados TotPrinters(PRINTER_ENUM_NAME,NIL,1,@aPrinters,0,@nNecesitados,@nRetornados) MsgInfo( aPrinters) ...
by metaldrummer
Mon Mar 31, 2008 6:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: DLL32 Question!!!
Replies: 4
Views: 829

DLL32 FUNCTION EnumPrinters( Flags AS DWORD, Name AS LPSTR, Level AS DWORD, @ aPrinters AS BYTE, cbBuf AS DWORD, @ pcbNeeded AS DWORD, @ pcReturned AS DWORD) ; AS LONG PASCAL FROM "EnumPrinters" LIB "winspool.drv" En la definicion DLL32 no tienes que poner las ...
by metaldrummer
Mon Mar 31, 2008 3:53 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL32 function
Replies: 15
Views: 3801

DLL32 FUNCTION EnumPrinters( Flags AS DWORD, Name AS LPSTR, Level AS DWORD, @ aPrinters AS BYTE, cbBuf AS DWORD, @ pcbNeeded AS DWORD, @ pcReturned AS DWORD) ; AS LONG PASCAL FROM "EnumPrinters" LIB "winspool.drv" En la definicion DLL32 no tienes que poner las ...
by JmGarcia
Fri Mar 28, 2008 10:11 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: DLL32 function
Replies: 15
Views: 3801

[code] //--------------------------- Function AGetPrinters() //--------------------------- Local aPrinters, cText, cToken := Chr(15) // Passing no second param or passing ZERO to GetProfStr() // grabs entire section in .ini file. Each printer is separated by a // null char ...
by dbSoft
Tue Mar 21, 2006 10:21 am
 
Forum: FiveWin for CA-Clipper
Topic: seleccionar impresoras
Replies: 3
Views: 1829

... for. For the list of installed printers problem, try this function. Do notice that the function returns an array: Function GetPrinters() Local aPrinters := {}, cText, cToken := Chr(15) // Passing no second param or passing ZERO to GetProfString() // grabs entire section in .ini file. Each printer ...
by reinaldocrespo
Sat Jan 07, 2006 4:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Scan Registry es muy doloroso! Linares Help US
Replies: 1
Views: 922

Return to advanced search