1 / 10

พอร์ตเครื่องพิมพ์

พอร์ตเครื่องพิมพ์. การเขียนโปแกรมติดต่อกับพอร์ตพริ้นเตอร์. ทำความรู้จักับโครงสร้างของพอร์ตพริ้นเตอร์ การใช้ภาษา ซี ในการติดต่อกับพอร์ตพริ้นเตอร์ ตัวอย่างการใช้งาน. โครงสร้างของพอร์ตพริ้นเตอร์ชนิด DB แบบ25 ขา และแบบ centronics 36 ขา. แบบ DB 25 ขา. แบบ Centronics 36 ขา.

Télécharger la présentation

พอร์ตเครื่องพิมพ์

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. พอร์ตเครื่องพิมพ์

  2. การเขียนโปแกรมติดต่อกับพอร์ตพริ้นเตอร์การเขียนโปแกรมติดต่อกับพอร์ตพริ้นเตอร์ ทำความรู้จักับโครงสร้างของพอร์ตพริ้นเตอร์ การใช้ภาษา ซี ในการติดต่อกับพอร์ตพริ้นเตอร์ ตัวอย่างการใช้งาน

  3. โครงสร้างของพอร์ตพริ้นเตอร์ชนิด DB แบบ25 ขาและแบบ centronics 36 ขา แบบ DB 25 ขา แบบ Centronics 36 ขา

  4. โครงสร้างในรายละเอียดของ พอร์ต DB25 • รายระเอียดของแต่ละขา • 8 output pins accessed via the DATA Port • 5 input pins (one inverted) accessed via the STATUS Port • 4 output pins (three inverted) accessed via the CONTROL Port • The remaining 8 pins are grounded

  5. รายละเอียดของแต่ละขา

  6. เบอร์พอร์ตที่ใช้ในการติดต่อเบอร์พอร์ตที่ใช้ในการติดต่อ Printer Data Port StatusControl LPT10x03bc 0x03bd 0x03be LPT2 0x0378 0x0379 0x037a LPT3 0x0278 0x0279 0x027a

  7. การใช้โปรแกรม debug บน dos เพื่อใช้ทำการตรวจสอบ หาเบอร์พอร์ตที่ใช้ในการติดต่อ • เราอาจที่จะใช้program debugon dos มาทำการตรวจสอบดูได้ดังนี้ • C:\debug • - d 0040:0008 L8 • 0040:0000 BC 03 78 0378 02 80 9F LTP2 = 378 h LTP1 = 3BC h LTP3 = 278 h

  8. การจำแนกประเภทของพอร์ตพริ้นเตอร์ในแต่ละขาการจำแนกประเภทของพอร์ตพริ้นเตอร์ในแต่ละขา

More Related