Re: [Harbour] SET PRINTER TO ( cPrinter ) - Bug

2008-11-11 Thread Szakáts Viktor
// creates disk file Kyocera FS-1000 (KPDL-2)" // before it was Kyocera FS-1000 (KPDL-2).prn" SET PRINTER TO ( Printername ) This won't work either way, it's Windows printer name. // creates disk file 'IP_10.0.40.30' // before it was 'IP_10.0.40.30.prn' SET PRINTER TO ( Portname ) This also

Re: [Harbour] SET PRINTER TO ( cPrinter ) - Bug

2008-11-11 Thread Pritpal Bedi
Hello Viktor <<< First of turn _SET_DEFEXTENSIONS to .F., after that in Harbour you'll need to convert the Windows printer name to a port, share name, or filename in order to print to it using SET PRINTER TO. >>> I tried both. Printername = "Kyocera FS-1000 (KPDL-2)" Portname= "IP_10.0.40

Re: [Harbour] SET PRINTER TO ( cPrinter ) - Bug

2008-11-10 Thread Szakáts Viktor
First of turn _SET_DEFEXTENSIONS to .F., after that in Harbour you'll need to convert the Windows printer name to a port, share name, or filename in order to print to it using SET PRINTER TO. Harbour core doesn't support any Windows printers natively, so you'll need to use hbwin.lib for some name

[Harbour] SET PRINTER TO ( cPrinter ) - Bug

2008-11-10 Thread Pritpal Bedi
Hello All Here is the code: cPrinter := 'Kyocera FS-1000 (KPDL-2)' SET PRINT ON SET CONSOLE OFF SET PRINTER TO ( cPrinter ) ? 'Ok, I am printing' eject SET PRINTER TO SET PRINT OFF SET CONSOLE ON The code above correctly prints on the specified printer in xHarbour