阅读:2431回复:9
求epson喷墨驱动原码
求epson喷墨打印机任何一款的驱动原程序,或其mcu使用手册.transic0@sina.com
|
|
沙发#
发布于:2004-08-06 12:11
I can get the Source Code for Epson,IBM,HP.
I copy a segment below! If you need, write to me at the email box address: jackchant@126.com /* * epson.c - epson printer module * */ #include <slos_protos.h> #include <stdio.h> #include <string.h> #include "app.h" /********************************* Global data ******************************************/ LISTHANDLE mlh; #ifdef AMIGA #define __USE_SYSBASE #include <proto/exec.h> #include <exec/execbase.h> struct Library *SoftLogikOSBase = 0; #endif //commands the this module understands and the routines to handle them struct TagItem cmd[]= { MACT_EndStrip, (ULONG)&endstrip, MACT_BeginTile, (ULONG)&begintile, MACT_EndTile, (ULONG)&endtile, mgd->hmsys = tag->ti_Data; } mgd->vmsys = INCHES; if ((tag = SL_FindTagItem(MOD_VMSYS, tags))) { mgd->vmsys = tag->ti_Data; } if ((mgd->mh = SL_ModuleInitA(ah, modtags))) { if ((wh = SL_CreateSubRequester(mgd->mh, 100))) { if ((mgd->screencustom = SL_CreateRequester(mgd->mh, 102))) { if ((mgd->screenbuiltin = SL_CreateRequester(mgd->mh, 103))) { if ((mgd->colorcustom = SL_CreateRequester(mgd->mh, 104))) { if ((mgd->colorbuiltin = SL_CreateRequester(mgd->mh, 105))) { mad = 0; if ((tag = SL_FindTagItem(MOD_GUIAcceptData, tags))) { mad = (struct modacceptdata *)tag->ti_Data; } if (mad) { memcpy(&mgd->mad, (char *)mad, sizeof(struct modacceptdata)); m = mad->model; mgd->mad.printer = XPD_DuplicatePrinter(mad->printer); } else { defaultmad(&mgd->mad); m = 0; } initrequester(m, mgd, wh); return ((ULONG)wh); } SL_FreeRequester(mgd->colorcustom); } SL_FreeRequester(mgd->screenbuiltin); } SL_FreeRequester(mgd->screencustom); } SL_FreeSubRequester(wh); } SL_ModuleCleanup(mgd->mh); } SL_MFree(mgd); } break; case GACT_Cleanup: if ((tag = SL_FindTagItem(MOD_GUIReqhandle, tags))) { if ((wh = (WINHANDLE)tag->ti_Data)) { mgd = (struct modguidata *)SL_GetWindowAttr(wh, WINATTR_UserData); if (mgd->mad.printer) { XPD_DestroyPrinter(mgd->mad.printer); } if (mgd->screencustom) { SL_FreeRequester(mgd->screencustom); } if (mgd->screenbuiltin) { SL_FreeRequester(mgd->screenbuiltin); } if (mgd->colorcustom) { SL_FreeRequester(mgd->colorcustom); } if (mgd->colorbuiltin) { SL_FreeRequester(mgd->colorbuiltin); } SL_FreeSubRequester(wh); SL_ModuleCleanup(mgd->mh); SL_MFree(mgd); |
|
板凳#
发布于:2004-08-06 15:55
有好东西就放到网上大家共享嘛!哥们!
|
|
|
地板#
发布于:2007-08-10 23:35
估计他是想要钱
|
|
地下室#
发布于:2007-08-21 11:10
就是,估计是想要money
|
|
驱动中牛
|
5楼#
发布于:2007-08-21 15:51
鄙视这种人,有东西就要共享,要倡导开源代码,大家共同进步多好呀,鄙视!!!!
|
6楼#
发布于:2007-08-23 14:45
对阿,小日本的东西,给他开源了吧,兄弟。
|
|
|
7楼#
发布于:2007-08-24 08:55
怀念做VC的日子,大家讨论问题,问的人虚心请教,勤学好问,答的人热情如火,不会藏私,来到驱动网,连下载个东西都要收费,唉
|
|
|
8楼#
发布于:2008-03-16 21:32
我有2个epson源码,需要的朋友联系我。一起琢磨下。
qq:438047349 注明:驱动 |
|
9楼#
发布于:2008-04-04 01:31
google搜一下吧,记得以前人国外网站下到过
|
|