Res: Res: Res: [Harbour] set printer to ( problem with network)

2010-03-31 Thread Fernando Athayde
with win_PrintFileRaw runs perfectly Thanks very much Best Regards, Fernando Athayde De: Viktor Szakáts Para: Harbour Project Main Developer List. Enviadas: Terça-feira, 30 de Março de 2010 16:56:14 Assunto: Re: Res: Res: [Harbour] set printer to ( problem

Re: Res: Res: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Viktor Szakáts
> extension .prn gone, but the problem continue > Error TERM/2014 Create error: \\caixa2\Epson LX-300 (DOS Error 67) > Called from ->SET(0) If this is a printer name (as opposed to share name) it won't work in Harbour. Use hbwin lib functions to push data into printer names: win_PrintFileRaw

Re: Res: Res: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Przemysław Czerpak
On Tue, 30 Mar 2010, Fernando Athayde wrote: Hi, > extension .prn gone, but the problem continue > Error TERM/2014 Create error: \\caixa2\Epson LX-300 (DOS Error 67) > Called from ->SET(0) winerror.h: #define ERROR_BAD_NET_NAME 67L Verify the server and printer names. Maybe the network tran

Re: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Przemysław Czerpak
On Tue, 30 Mar 2010, Fernando Athayde wrote: Hi, > Error TERM/2014 Create error: \\caixa2\Epson LX-300.prn (DOS Error 67) > Called from ->SET(0) > with xharbour runs well, but with harbour don´t run > i´ve migrated all my whole application for harbour, i´ll need to print in > network and in lx3

Res: Res: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Fernando Athayde
rço de 2010 16:29:58 Assunto: Re: Res: [Harbour] set printer to ( problem with network) Hi, l := Set( _SET_DEFEXTENSIONS, .F. ) ... print ... Set( _SET_DEFEXTENSIONS, l ) Brgds, Viktor On 2010 Mar 30, at 21:22, Fernando Athayde wrote: > the command set printer increases by it selt

Re: Res: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Viktor Szakáts
> Para: Harbour Project Main Developer List. > Enviadas: Terça-feira, 30 de Março de 2010 15:17:49 > Assunto: Re: [Harbour] set printer to ( problem with network) > > Try: > > SET PRINTER TO \\caixa2\Epson LX-300. > > Regards, > Vailton Renato > _

Res: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Fernando Athayde
the command set printer increases by it selt ".prn" Regards, Fernando Athayde De: Vailton Renato Para: Harbour Project Main Developer List. Enviadas: Terça-feira, 30 de Março de 2010 15:17:49 Assunto: Re: [Harbour] set printer to ( problem with net

Re: [Harbour] set printer to ( problem with network)

2010-03-30 Thread Vailton Renato
Try: SET PRINTER TO \\caixa2\Epson LX-300. Regards, Vailton Renato ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] set printer to ( problem with network)

2010-03-30 Thread Fernando Athayde
Error TERM/2014 Create error: \\caixa2\Epson LX-300.prn (DOS Error 67) Called from ->SET(0) with xharbour runs well, but with harbour don´t run i´ve migrated all my whole application for harbour, i´ll need to print in network and in lx300 usb can someone help me? Best regards, Fernando Athayd

Res: [Harbour] SET PRINTER TO

2010-01-18 Thread Fernando Athayde
great, i´ll report this i´ll try Thanks, Fernando De: Viktor Szakáts Para: Harbour Project Main Developer List. Enviadas: Segunda-feira, 18 de Janeiro de 2010 11:44:40 Assunto: [Harbour] SET PRINTER TO Hi All, Above extension works in xhb but is not

[Harbour] SET PRINTER TO

2010-01-18 Thread Viktor Szakáts
Hi All, Above extension works in xhb but is not supported in Harbour. Actually for good reason, so my intent is not to propose it for inclusion, but I still wonder what is the easiest way (least code change) to achieve the same result in Harbour. [ NOTICE: This feature can only work if printe

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
// before it was 'IP_10.0.40.30.prn' SET PRINTER TO ( Portname ) <<< Harbour core doesn't support any Windows printers natively, so you'll need to use hbwin.lib for some name to port conversion and getting Windows printer name list. >>> I fetched above info with Ge

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

2008-11-10 Thread Szakáts Viktor
in.lib for some name to port conversion and getting Windows printer name list. IOW, in Harbour 'SET PRINTER TO' always need to point to a filename, or any name that can be opened using FOpen(). Brgds, Viktor On 2008.11.11., at 2:47, Pritpal Bedi wrote: Hello All Here is the code: cPr

[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