Search found 30 matches: getdefaultprinter

Return to advanced search

Re: Problema con Windows 10 y la impresora predeterminada

... TO cPrinter y en esa variable le digo a que impresora quiero la impresión. Lo que no comprendo es porque cuando utilizo la funcion GetDefaultPrinter() si funciona pero si yo le doy el valor no funciona Un saludo
by miarcod
Fri Feb 22, 2019 5:48 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Problema con Windows 10 y la impresora predeterminada
Replies: 5
Views: 1378

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

... GetClrFore(<cColor>)->cForegroundColor GetClrPair(<cColorString>,<nPos>)->cColorValue GetCurrentThread()->pThreadHandle GetDefaultPrinter()->cPrinterName GetE(<cEnvVar>)->cString GetEnv(<cEnvironmentVariable>)->cString GetLastError()->nErrorCode ...
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

... FReadStr FreeLibrary FRename FSeek FtoC Fv FWordCount FWrite GetActiveObject GetClearA GetClearB GetClrBack GetClrFore GetClrPair GetCurrentThread GetDefaultPrinter GetE GetEnv GetLastError GetPairLen GetPairPos GetPrec GetPrinters GetProcAddress GetRegistry GetVolInfo GT_AsciiSum GT_Ascpos GT_AtDiff ...
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

Impresión con fivetouch

Alguien puede ayudarme, como imprimir con fivetocuh, porque no encuentro nada, he probado averiguar cuál es la impresora por defecto con getdefaultprinter() y me dice que no existe la función, tampoco getprinter(), tampoco me funciona el Qprinterinfo() y QPrinterdialog, y ...... bueno a ver ...
by jtscalpe
Sun Sep 17, 2017 2:41 pm
 
Forum: FiveTouch
Topic: Impresión con fivetouch
Replies: 3
Views: 1348

Re: Long Printer Names.

Hello,
on printer redirection I use GetDefaultPrinter() - same on Bluetooth.
Best regards,
Otto
by Otto
Thu Jul 21, 2016 6:01 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Long Printer Names.
Replies: 10
Views: 2181

Re: Test to see if USB Printer is ready

... printer. This is 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 ...
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: Find default Printer?

I just tested getDefaultPrinter() here and it works fine with Windows 8.1, FW13.04, xHarbour and Borland 5.82. prnGetName() returns the current printer, which may, or may not, be the Windows default printer. When any app is run, ...
by James Bott
Thu Mar 05, 2015 12:41 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Find default Printer?
Replies: 4
Views: 696

Find default Printer?

Hi,

How can I find out default printer name?

I tried Getdefaultprinter() but it crashed.

I use msvc 2012 and harbour.

Thanks,
by Horizon
Wed Mar 04, 2015 3:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Find default Printer?
Replies: 4
Views: 696

Re: Establecer impresora predeterminada

... 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 impresora por defecto mediante la funcion de FW ...
by MarioG
Thu Feb 13, 2014 12:44 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Establecer impresora predeterminada
Replies: 10
Views: 3037

Re: GetPrinters() fails

Antonio,

ok, that solves the problem with GetPrinters() and GetdefaultPrinter(), but the other functions are still unavailable.

What was your intention, to replace these functions ?
by StefanHaupt
Fri Dec 16, 2011 8:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetPrinters() fails
Replies: 11
Views: 2033

Re: GetPrinters() fails

William,

GetDefaultPrinter fails here with fwh 11.09

Only if I remove legacycp.obj from fivehc.lib it is working again
by StefanHaupt
Thu Dec 15, 2011 9:07 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetPrinters() fails
Replies: 11
Views: 2033

Re: GetPrinters() fails

StefanHaupt, this is xHarbour PROCEDURE Main() LOCAL cPrinter := GetDefaultPrinter() ? cPrinter RETURN PROCEDURE Main() ? PrinterExists( "HP LaserJet 1200 Series PCL" ) // result: .T. ? PrinterExists( "HP LASERJET 1200 SERIES PCL" ) // ...
by wmormar
Thu Dec 15, 2011 8:20 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetPrinters() fails
Replies: 11
Views: 2033

GetPrinters() fails

... small sample shows the error. #include "Fivewin.ch"procedure Main ()  LOCAL aPrn, cPrn  aPrn := GetPrinters ()  cPrn := GetDefaultPrinter ()  ? Valtype (aPrn), Valtype (cPrn), cPrn  RETURN I found that these functions are replaced (?) in the file ...
by StefanHaupt
Wed Dec 14, 2011 6:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: GetPrinters() fails
Replies: 11
Views: 2033

Re: Pdf Printing

... port for that printer.  WaitRun(), could print a PDF file, but how can I get the complete string??? We need to find: Default printer.... ?? GetDefaultPrinter() Port Name.... ?? PrnGetPort() Driver... ?? ??????? Path .... ?? Full path and name of file... This should help us all to print without ...
by Bayron
Wed Aug 17, 2011 3:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Pdf Printing
Replies: 3
Views: 721
Next

Return to advanced search