⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printer.h

📁 用数据库ACCESS和VISUAL C++编程
💻 H
字号:
#if !defined(AFX_PRINTER_H__CD9FD3C2_69B4_4E1E_A180_28CFEDEEF355__INCLUDED_)
#define AFX_PRINTER_H__CD9FD3C2_69B4_4E1E_A180_28CFEDEEF355__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.


// Dispatch interfaces referenced by this interface
class CPaperSizes;

/////////////////////////////////////////////////////////////////////////////
// CPrinter wrapper class

class CPrinter : public COleDispatchDriver
{
public:
	CPrinter() {}		// Calls COleDispatchDriver default constructor
	CPrinter(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CPrinter(const CPrinter& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	CString GetDeviceName();
	void SetDeviceName(LPCTSTR lpszNewValue);
	long GetNDevices();
	long GetNPorts();
	long GetDpi();
	long GetDuplex();
	void SetDuplex(long nNewValue);
	long GetPrintQuality();
	void SetPrintQuality(long nNewValue);
	float GetTwipsPerPixelX();
	float GetTwipsPerPixelY();
	float GetPaperWidth();
	void SetPaperWidth(float newValue);
	float GetPaperHeight();
	void SetPaperHeight(float newValue);
	CString GetDevices(long Index);
	CString GetPorts(long Index);
	long GetOrientation();
	void SetOrientation(long nNewValue);
	short GetCollate();
	void SetCollate(short nNewValue);
	short GetColorMode();
	void SetColorMode(short nNewValue);
	short GetCopies();
	void SetCopies(short nNewValue);
	short GetPaperBin();
	void SetPaperBin(short nNewValue);
	short GetPaperSize();
	void SetPaperSize(short nNewValue);
	CPaperSizes GetPaperSizes();
	void StartJob(LPCTSTR documentName);
	void EndJob();
	void PrintPage(LPDISPATCH Canvas);
	void Escape(LPCTSTR code);
	long GetFromPage();
	void SetFromPage(long nNewValue);
	long GetToPage();
	void SetToPage(long nNewValue);
	long GetMaxPage();
	void SetMaxPage(long nNewValue);
	CString GetPort();
	void SetPort(LPCTSTR lpszNewValue);
	BOOL GetTrackDefault();
	void SetTrackDefault(BOOL bNewValue);
	void AbortJob();
	long GetStatus();
	CString GetFileName();
	void SetFileName(LPCTSTR lpszNewValue);
	long GetHDC();
	BOOL PrintDialog(const VARIANT& ParentWindowHandle);
	BOOL SetupDialog(const VARIANT& ParentWindowHandle);
	BOOL GetDisplayProgressDialog();
	void SetDisplayProgressDialog(BOOL bNewValue);
	short GetDeviceCopies();
	void SetDeviceCopies(short nNewValue);
	VARIANT GetPaperBins();
	VARIANT GetPaperBinNames();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PRINTER_H__CD9FD3C2_69B4_4E1E_A180_28CFEDEEF355__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -