Re: [Harbour] Printer list

2008-11-11 Thread Guillermo Varona Silupú
Thank very much Francesco, That's what I needed! Best Regards GVS Francesco Saverio Giudice escribió: Hi Guillermo, Use: lFullDetails := TRUE lLocalPrinters := FALSE aPrinters := GETPRINTERS( lFullDetails, lLocalPrinters ) in aPrinters you will find: { ; { "Printer Full Name 1", "P

Re: [Harbour] Printer list

2008-11-11 Thread Szakáts Viktor
Hi Guillermo, For sure there is a function to convert Windows printer name to port name, but you'll have to check the exact function name in win_prn*.* files, it was something like printertofile() AFAIR. For more, I'm afraid you'll have to dig into hbwin lib a bit deeper, or maybe someone else c

Re: [Harbour] Printer list

2008-11-11 Thread Francesco Saverio Giudice
Hi Guillermo, Use: lFullDetails := TRUE lLocalPrinters := FALSE aPrinters := GETPRINTERS( lFullDetails, lLocalPrinters ) in aPrinters you will find: { ; { "Printer Full Name 1", "Port Name", "LOCAL" | "NETWORK", "Driver Name } ,; } Best Regards Francesco Il 11/11/2008 18.04

Re: [Harbour] Printer list

2008-11-11 Thread Guillermo Varona Silupú
Szakáts Viktor escribió: Hi, Check GETPRINTERS() in hbwin.lib. In this PRG: - function main() setmode(25,80) aPrn := GETPRINTERS() cPrn := GetDefaultPrinter() aPor := PRINTERPORTTONAME() ? aPrn wait return nil ---

Re: [Harbour] Printer list

2008-11-11 Thread Guillermo Varona Silupú
Szakáts Viktor escribió: 'sh make_gnu.sh install' This works here with 4.1.2, but should also with 3.4.5. But I am using Windows XP + Harbour (SVN) + MinGW, and this, ('sh make_gnu.sh install' ), is for Linux. What would it be for WinXP? It is for XP, just try. 'sh' is part of msys. But I

Re: [Harbour] Printer list

2008-11-10 Thread Szakáts Viktor
'sh make_gnu.sh install' This works here with 4.1.2, but should also with 3.4.5. But I am using Windows XP + Harbour (SVN) + MinGW, and this, ('sh make_gnu.sh install' ), is for Linux. What would it be for WinXP? It is for XP, just try. 'sh' is part of msys. [ Despite some drawbacks (you

Re: [Harbour] Printer list

2008-11-10 Thread Guillermo Varona Silupú
Szakáts Viktor escribió: Hi Guillermo, I have this version of Harbor: -- C:\HarbourMinGW\bin>harbour Harbour 1.0.1dev Intl. (Rev. 9229) Copyright (c) 1999-2008, http://www.harbour-project.org/ ---

Re: [Harbour] Printer list

2008-11-10 Thread Szakáts Viktor
Hi Guillermo, I have this version of Harbor: -- C:\HarbourMinGW\bin>harbour Harbour 1.0.1dev Intl. (Rev. 9229) Copyright (c) 1999-2008, http://www.harbour-project.org/ -- and h

Re: [Harbour] Printer list

2008-11-10 Thread Guillermo Varona Silupú
Szakáts Viktor escribió: Hi, Check GETPRINTERS() in hbwin.lib. Hi Viktor, ENV: WinXP+Harbour from SVN+MinGW I have this version of Harbor: -- C:\HarbourMinGW\bin>harbour Harbour 1.0.1dev Intl. (Rev. 9229) Copyright (c) 1999-2008, http

Re: [Harbour] Printer list

2008-11-10 Thread Szakáts Viktor
Hi, Check GETPRINTERS() in hbwin.lib. Brgds, Viktor On 2008.11.10., at 4:09, Guillermo Varona Silupú wrote: Hi Is there any role that I return the printer list (names and ports they use)? and the default printer I use: WinXP SP3 + Harbour + MinGW Best Regards. GVS __

[Harbour] Printer list

2008-11-09 Thread Guillermo Varona Silupú
Hi Is there any role that I return the printer list (names and ports they use)? and the default printer I use: WinXP SP3 + Harbour + MinGW Best Regards. GVS ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailma