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

📄 printer_readme.txt

📁 介绍用Java解析网络数据的三种特殊方法
💻 TXT
字号:
Printer.exe - Device for Emu8086

Andrew Nelis (andrewn@nipltd.com)

Date: 20 Feb 2003

Description: Simple line printer device

** Usage **

Start up printer.exe. Now the printer can be accessed through port 130 (decimal).

Controlling it is simple, you just 'out' a byte to the printer port and it'll print out
the corresponding character onto the page, then clear the port back to zero once its
done, that way you can tell when it's time to pass it the next character.

A few things to note:

If the char value is greater than 31, then it'll just be printed straight out.
Below and including that, it's won't be printed (they wouldn't come out anyway?)
apart from the ones that I've implemented:

07 - Bell. Well I had to didn't I?  ;)
08 - Backspace, move print head left one character
10 - Line feed
13 - Carriage return

The below 32 control codes are actually ascii control codes.

Well, have a good play with it - the VB source is included too if you're interested.

** Notes/Todo **

- Please email me if you have any coments/requests, bug fixes.
- It's not finished yet, apart from the basic functionality.
- Not a lot distinguishes it from the user screen, I was trying to get a printer head moving across (see the .bmps)
  the screen but couldn't figure out why VB wasn't moving it. Also maybe it could be joined with a real printer?
  And it's interface could be closer to that of a real parallel port.
- Must sleeeeppp .....

⌨️ 快捷键说明

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