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

📄 dj8xx.h

📁 HP喷墨打印机驱动代码 HP内部资料! 珍贵 珍贵 珍贵
💻 H
字号:
/*****************************************************************************\  dj8xx.h : Interface for the DJ8xx class  Copyright (c) 1996 - 2001, Hewlett-Packard Co.  All rights reserved.  Redistribution and use in source and binary forms, with or without  modification, are permitted provided that the following conditions  are met:  1. Redistributions of source code must retain the above copyright     notice, this list of conditions and the following disclaimer.  2. Redistributions in binary form must reproduce the above copyright     notice, this list of conditions and the following disclaimer in the     documentation and/or other materials provided with the distribution.  3. Neither the name of Hewlett-Packard nor the names of its     contributors may be used to endorse or promote products derived     from this software without specific prior written permission.  THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF  MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN  NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED  TO, PATENT INFRINGEMENT; PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS  OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON  ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF  THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\*****************************************************************************/#ifndef APDK_DJ8XX_H#define APDK_DJ8XX_HAPDK_BEGIN_NAMESPACE//extern char *ModelString[MAX_ID_STRING];/*!\internal*/class DJ8xx : public Printer{public:    DJ8xx(SystemServices* pSS,int numfonts=0, BOOL proto=FALSE);    PrintMode* GetMode(int index);    virtual Header* SelectHeader(PrintContext* pc);    virtual DRIVER_ERROR VerifyPenInfo();    virtual DRIVER_ERROR ParsePenInfo(PEN_TYPE& ePen, BOOL QueryPrinter=TRUE);    virtual DISPLAY_STATUS ParseError(BYTE status_reg);    Compressor* CreateCompressor(unsigned int RasterSize);    virtual BOOL UseGUIMode(PrintMode* pPrintMode);    DRIVER_ERROR CleanPen();protected:}; //DJ8xxclass VeniceMode1 : public PrintMode{public:    VeniceMode1();}; //VeniceMode1class VeniceMode2 : public PrintMode{public:    VeniceMode2();}; //VeniceMode2class VeniceMode3 : public PrintMode{public:    VeniceMode3();}; //VeniceMode3class VeniceMode4 : public GrayMode{public:    VeniceMode4();}; //VeniceMode4#ifdef APDK_EXTENDED_MEDIASIZEclass VeniceMode5 : public GrayMode{public:    VeniceMode5();}; //VeniceMode5#endif //APDK_EXTENDED_MEDIASIZE#if defined(APDK_DJ8xx)|| defined(APDK_DJ9xx)//! DJ8xxProxy/*!******************************************************************************/class DJ8xxProxy : public PrinterProxy{public:    DJ8xxProxy() : PrinterProxy(        "DJ8xx",                    // family name        "DESKJET 81\0"                          // DeskJet 81x Series        "DESKJET 83\0"                          // DeskJet 83x Series        "DESKJET 84\0"                          // DeskJet 84x Series        "DESKJET 88\0"                          // DeskJet 88x Series        "DESKJET 895\0"                         // DeskJet 895#ifdef APDK_MLC_PRINTER        "OfficeJet T\0"                         // OfficeJet T Series        "OFFICEJET R\0"                         // OfficeJet R Series        "PSC 5\0"                               // PSC 500#endif    ) {m_iPrinterType = eDJ8xx;}    inline Printer* CreatePrinter(SystemServices* pSS) const { return new DJ8xx(pSS); }	inline PRINTER_TYPE GetPrinterType() const { return eDJ8xx;}	inline unsigned int GetModelBit() const { return 0x40000;}};#endifAPDK_END_NAMESPACE#endif //APDK_DJ8XX_H

⌨️ 快捷键说明

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