簡易檢索 / 詳目顯示

研究生: 高偉欽
Wei-Ching Kao
論文名稱: 嵌入式印表機伺服器
An Embedded Print Server
指導教授: 鍾葉青
Yeh-Ching Chung
口試委員:
學位類別: 碩士
Master
系所名稱: 電機資訊學院 - 資訊工程學系
Computer Science
論文出版年: 2005
畢業學年度: 94
語文別: 英文
論文頁數: 37
中文關鍵詞: 嵌入式系統列印伺服器LPD協定PCL 5PCL 6.NET
外文關鍵詞: Embedded System, Print Server, LPD Protocol, PCL 5, PCL 6, .NET
相關次數: 點閱:3下載:0
分享至:
查詢本校圖書館目錄 查詢臺灣博碩士論文知識加值系統 勘誤回報
  • 在辦公室以及校園環境中,印表機的使用越來越頻繁,然而大部分的印表機都未經控管。系統管理者無法追蹤列印的工作,並且也缺乏更進步的管理印表機方法,例如可以計算使用者的列印數量並依此作為收費依據等等。加上現在的列印伺服器大多侷限於單一平台上。在此篇論文中,我們實做了一個.NET嵌入式列印伺服器,伺服器只需經過一次編譯,就可以在多種不同的作業系統下執行。我們設計的列印伺服器可以分辨不同規格印表機進行列印工作時所使用的控制語言,包括HP PCL 5、HP PCL 6、Epson ESC/P和Adobe PostScript。伺服器使用RFC 1179的LPD協定來接收和列印工作,然後系統管理者就可以從列印工作檔案及控制檔案裡獲得一些資訊,這些資訊還可以用來做其他參考用途。我們比較不同印表機控制語言的檔案大小,並且也評估了伺服器裡不同的語言解析器在不同平台下的性能,這證明我們的嵌入式印表機伺服器可以在Windows XP、Windows CE .NET和Linux的平台下執行,並且可以促成軟體快速開發之目的,列印工作的內容也正確地被解析出來。


    The use of printers is common in offices and campus environment but printers are mostly uncontrolled. Administrators can neither track the jobs printed nor manage printers in advanced method, such as charging for printing documents automatically. Additionally, the print servers nowadays are restricted on one kind of platform. In the thesis, we implement a .NET embedded print server, which can be executed on multiple operating systems with only one compilation. Our server is able to distinguish print jobs between different format of printer control languages, including HP PCL5, HP PCL6, Epson ESC/P, and Adobe PostScript. The server accepts and prints jobs through RFC 1179, LPD protocol. The information retrieved from print jobs and control files is useful for administration or for further use. We also did a comparison of sizes of jobs in different printer languages, and the performance of language parsers in embedded print server is evaluated on different platforms. This also proves that our server can run under Windows XP, Windows CE .NET, and Linux, which enables rapid development of software. Moreover, the information of jobs is revealed precisely.

    Chapter 1 Introduction....................1 Chapter 2 Preliminaries...................5 2.1 Line Printer Daemon Protocol..........5 2.2 Adobe PostScript......................11 2.3 HP Printer Control Language (PCL).....13 2.3.1 PCL 5 Control Language..............14 2.3.2 PCL 6 Control Language..............17 2.4 Epson ESC/P Printer Control Language..21 2.4 GDI Printers..........................22 Chapter 3 Implementation..................23 3.1 Print Server..........................23 3.1.1 Programming Interfaces..............23 3.2.2 Structure of Print Server...........24 3.2 Target Platform.......................26 3.2.1 Samsung S3C2410TK with Windows CE...26 3.2.2 Pentium III with Linux..............29 3.3.3 Pentium III with Windows XP.........29 Chapter 4 Job Size and Parser Performance.30 Chapter 5 Conclusions.....................35 References.................................36

    [1] "PrintQuota and PrintSecurity", Star Shining Information Company, Ltd., http://www.star.com.tw/
    [2] "Microsoft Windows Server/XP/2000/NT", Microsoft Corporation, http://www.microsoft.com/windows/default.mspx
    [3] "HP JetDirect Series", Hewlett-Packard Corporation, http://www.hp.com/go/jetdirect/
    [4] Glenn C. Reid, "Thinking in PostScript", Addison-Wesley Publishing Company, Inc. 1990
    [5] "PCL 5 Printer Language Technical Reference Manual", Hewlett Packard Co., First Edition, October 1992.
    [6] "PCL XL Feature Reference Protocol Class 2.0”, Hewlett Packard Co., Rev 2.2, March 2000.
    [7] "Epson ESC/P Reference Manual", Seiko Epson Corporation, Dec. 1997.
    [8] "Windows CE .Net", Microsoft Corporation, http://msdn.microsoft.com/embedded/prevver/ce.net/
    [9] L. McLaughlin III, "Line Printer Daemon Protocol", RFC 1179, August 1990.
    [10] "UNIX Operating System", The Open Group, http://www.unix.org/
    [11] Russell Lang, "Introduction to Ghostscript", Dec. 2000.
    [12] "PostScript Language Program Design", Adobe Systems Inc., Addison-Wesley, 1987
    [13] "Platform Builder Tutorials", Microsoft Corporation, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcelib40/html/pbtutpbTutorials.asp/
    [14] Paul Yao, "Microsoft .NET Compact Framework for Windows CE .NET", July 2002
    [15] "Mono Project", Novell, Inc., http://www.mono-project.com/
    [16] "S3C2410X01 RISC Microprocessor", Samsung Semiconductor, http://www.samsung.com/Products/Semiconductor/SystemLSI/MobileSolutions/MobileASSP/MobileComputing/S3C2410X/S3C2410X.htm
    [17] Andy Wigley, Mark Sutton, Rory MacLeod, Robert Burbidge, Stephen Wheelwright, “Microsoft .NET Compact Framework (Core Reference)”, First Edition, Microsoft Press, January 2003.
    [18] "Debian", Software in the Public Interest, Inc., http://www.debian.org/index.en.html/
    [19] "XFree86", The XFree86 Project, Inc., http://www.xfree86.org/

    無法下載圖示 全文公開日期 本全文未授權公開 (校內網路)
    全文公開日期 本全文未授權公開 (校外網路)

    QR CODE