great, i´ll report this
i´ll try
Thanks,
Fernando
________________________________
De: Viktor Szakáts <[email protected]>
Para: Harbour Project Main Developer List. <[email protected]>
Enviadas: Segunda-feira, 18 de Janeiro de 2010 11:44:40
Assunto: [Harbour] SET PRINTER TO <cWinPrinterName>
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 printer
controls codes match those supported by the printer,
and it's easily possible the printer doesn't support
raw input _at all_. Plus it makes SET PRINTER TO
incompatible. ]
---
SET PRINTER TO ( win_PrinterGetDefault() )
...
SET PRINTER TO
---
is equivalent to something like this in Harbour:
--- [untested]
LOCAL cTempName
FClose( hb_FTempCreateEx( @cTempName ) )
SET PRINTER TO ( cTempName )
...
SET PRINTER TO
win_PrintFileRaw( win_PrinterGetDefault(), cTempName )
FErase( cTempName )
---
Anyhow, this is my suggestion to xhb users wanting
to switch to Harbour. If you know a better way, pls
speak up.
Brgds,
Viktor
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour
____________________________________________________________________________________
Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour