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
> 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
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
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
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
> 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
> _
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
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
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
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
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
// 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
// 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
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
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
15 matches
Mail list logo