// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved

// (DO NOT EDIT: machine generated header) 'RAWPrinter.pas' rev: 5.00

#ifndef RAWPrinterHPP
#define RAWPrinterHPP

#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <Classes.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <System.hpp>	// Pascal unit

//-- user supplied -----------------------------------------------------------

namespace Rawprinter
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TRAWPrinter;
class PASCALIMPLEMENTATION TRAWPrinter : public Classes::TComponent 
{
	typedef Classes::TComponent inherited;
	
__published:
	__fastcall virtual TRAWPrinter(Classes::TComponent* AOwner);
	__fastcall virtual ~TRAWPrinter(void);
	
private:
	AnsiString fDocumentTitle;
	AnsiString fPrinterName;
	unsigned fPrinterHandle;
	int fLevel;
	
public:
	bool __fastcall SetToDefaultPrinter(void);
	bool __fastcall BeginDoc(void);
	bool __fastcall EndDoc(void);
	bool __fastcall Abort(void);
	unsigned __fastcall Write(const void *Buffer, int Count);
	bool __fastcall WriteStr(const AnsiString text);
	bool __fastcall WriteLn(const AnsiString line);
	bool __fastcall NextPage(void);
	bool __fastcall CR(void);
	bool __fastcall LF(void);
	
__published:
	__property AnsiString PrinterName = {read=fPrinterName, write=fPrinterName};
	__property AnsiString DocumentTitle = {read=fDocumentTitle, write=fDocumentTitle};
};


//-- var, const, procedure ---------------------------------------------------

}	/* namespace Rawprinter */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Rawprinter;
#endif
#pragma option pop	// -w-
#pragma option pop	// -Vx

#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif	// RAWPrinter
