2007-10-23 10:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/contrib/win32/tprinter.c
* casting
This commit is contained in:
@@ -8,6 +8,10 @@
|
||||
2002-12-01 13:30 UTC+0100 Foo Bar <foo.bar@foobar.org>
|
||||
*/
|
||||
|
||||
2007-10-23 10:12 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/contrib/win32/tprinter.c
|
||||
* casting
|
||||
|
||||
2007-10-23 04:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/include/hbwince.h
|
||||
* harbour/source/common/hbwince.c
|
||||
|
||||
@@ -331,11 +331,11 @@ LONG hb_PrintFileRaw( UCHAR * cPrinterName, UCHAR * cFileName, UCHAR * cDocName
|
||||
HANDLE hPrinter, hFile;
|
||||
DOC_INFO_1 DocInfo;
|
||||
DWORD nRead, nWritten, Result;
|
||||
LPTSTR lpPrinterName = HB_TCHAR_CONVTO( cPrinterName );
|
||||
LPTSTR lpPrinterName = HB_TCHAR_CONVTO( ( char * ) cPrinterName );
|
||||
|
||||
if( OpenPrinter( lpPrinterName, &hPrinter, NULL ) != 0 )
|
||||
{
|
||||
LPTSTR lpDocName = HB_TCHAR_CONVTO( cDocName );
|
||||
LPTSTR lpDocName = HB_TCHAR_CONVTO( ( char * ) cDocName );
|
||||
DocInfo.pDocName = lpDocName;
|
||||
DocInfo.pOutputFile = NULL;
|
||||
DocInfo.pDatatype = TEXT( "RAW" );
|
||||
|
||||
Reference in New Issue
Block a user