// CodeGear C++Builder
// Copyright (c) 1995, 2010 by Embarcadero Technologies, Inc.
// All rights reserved

// (DO NOT EDIT: machine generated header) 'PrintSetting.pas' rev: 22.00

#ifndef PrintsettingHPP
#define PrintsettingHPP

#pragma delphiheader begin
#pragma option push
#pragma option -w-      // All warnings off
#pragma option -Vx      // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp>	// Pascal unit
#include <SysInit.hpp>	// Pascal unit
#include <Windows.hpp>	// Pascal unit
#include <Messages.hpp>	// Pascal unit
#include <SysUtils.hpp>	// Pascal unit
#include <Classes.hpp>	// Pascal unit
#include <Graphics.hpp>	// Pascal unit
#include <Controls.hpp>	// Pascal unit
#include <Forms.hpp>	// Pascal unit
#include <Dialogs.hpp>	// Pascal unit
#include <StdCtrls.hpp>	// Pascal unit
#include <ExtCtrls.hpp>	// Pascal unit
#include <ComCtrls.hpp>	// Pascal unit
#include <WinSpool.hpp>	// Pascal unit
#include <Types.hpp>	// Pascal unit

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

namespace Printsetting
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TfrmPrintSetting;
class PASCALIMPLEMENTATION TfrmPrintSetting : public Forms::TForm
{
	typedef Forms::TForm inherited;
	
__published:
	Stdctrls::TGroupBox* GroupBox2;
	Stdctrls::TRadioButton* RB1;
	Stdctrls::TRadioButton* RB2;
	Stdctrls::TRadioButton* RB3;
	Stdctrls::TEdit* E2;
	Stdctrls::TLabel* Label2;
	Stdctrls::TButton* Button1;
	Stdctrls::TButton* Button2;
	Stdctrls::TGroupBox* GroupBox1;
	Stdctrls::TComboBox* CB1;
	Stdctrls::TButton* PropButton;
	Stdctrls::TGroupBox* GroupBox3;
	Stdctrls::TLabel* Label1;
	Stdctrls::TEdit* E1;
	Stdctrls::TCheckBox* CollateCB;
	Extctrls::TImage* CollateImg;
	Extctrls::TImage* NonCollateImg;
	Stdctrls::TLabel* Label3;
	Stdctrls::TLabel* Label4;
	Stdctrls::TLabel* Label5;
	Extctrls::TImage* Image1;
	Stdctrls::TComboBox* CB2;
	Extctrls::TPaintBox* PB1;
	Comctrls::TUpDown* UpDown1;
	void __fastcall CB1DrawItem(Controls::TWinControl* Control, int Index, const Types::TRect &ARect, Windows::TOwnerDrawState State);
	void __fastcall FormCreate(System::TObject* Sender);
	void __fastcall PropButtonClick(System::TObject* Sender);
	void __fastcall CB1Click(System::TObject* Sender);
	void __fastcall E2Click(System::TObject* Sender);
	void __fastcall RB3Click(System::TObject* Sender);
	void __fastcall FormDeactivate(System::TObject* Sender);
	void __fastcall Label3Click(System::TObject* Sender);
	void __fastcall CollateCBClick(System::TObject* Sender);
	void __fastcall PB1Paint(System::TObject* Sender);
	void __fastcall FormShow(System::TObject* Sender);
	
private:
	int OldIndex;
	System::StaticArray<System::WideChar, 128> FDevice;
	System::StaticArray<System::WideChar, 260> FDriver;
	System::StaticArray<System::WideChar, 128> FPort;
	unsigned FDeviceMode;
	_devicemodeW *FMode;
	bool FCreating;
	void __fastcall SetPrinter(int Index);
	void __fastcall PropertiesDlg(void);
public:
	/* TCustomForm.Create */ inline __fastcall virtual TfrmPrintSetting(Classes::TComponent* AOwner) : Forms::TForm(AOwner) { }
	/* TCustomForm.CreateNew */ inline __fastcall virtual TfrmPrintSetting(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(AOwner, Dummy) { }
	/* TCustomForm.Destroy */ inline __fastcall virtual ~TfrmPrintSetting(void) { }
	
public:
	/* TWinControl.CreateParented */ inline __fastcall TfrmPrintSetting(HWND ParentWindow) : Forms::TForm(ParentWindow) { }
	
};


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

}	/* namespace Printsetting */
#if !defined(DELPHIHEADER_NO_IMPLICIT_NAMESPACE_USE)
using namespace Printsetting;
#endif
#pragma pack(pop)
#pragma option pop

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