TW303431B - Scanner control method and apparatus - Google Patents

Scanner control method and apparatus Download PDF

Info

Publication number
TW303431B
TW303431B TW85109865A TW85109865A TW303431B TW 303431 B TW303431 B TW 303431B TW 85109865 A TW85109865 A TW 85109865A TW 85109865 A TW85109865 A TW 85109865A TW 303431 B TW303431 B TW 303431B
Authority
TW
Taiwan
Prior art keywords
printer
scanner
plug
play
port
Prior art date
Application number
TW85109865A
Other languages
Chinese (zh)
Inventor
Kuang Her
jia-zhang Guo
Original Assignee
Behavior Tech Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Behavior Tech Co Ltd filed Critical Behavior Tech Co Ltd
Priority to TW85109865A priority Critical patent/TW303431B/en
Application granted granted Critical
Publication of TW303431B publication Critical patent/TW303431B/en

Links

Landscapes

  • Facsimiles In General (AREA)

Abstract

A scanner control method with built-in plug-and-play printer connection portcomprises of: (1) when switching from printer position to scanner position, first storing current state of each control signal of printer, and keeping several control signals in specific electric level, and via data line repeating sending identification code, thereby cutting printer connection state;(2) by one identification code of scanner connection sent via data line, making computer build connection between parallel port and scanner;(3) when switching from scanner to printer connection state, sending scanner off-line identification code on data line, thereby making scanner loop and computer parallel port disconnect; (4) restoring printer previous control signal state, and on data line sending identification code for opening printer connection to recover connection between computer parallel port and printer; (5) thereby constituting one switching method simply by judging switching direction form signal state of data terminal.

Description

經濟部中央樣準局員工消費合作社印裝 S03431 at B7 五、發明説明(/ ) 本發明係為一種内含隨插即用印表機連接埠之掃描器 控制方法及裝,主要為一種可同時符合s P P、E P P 及E C P規格之内含印表機切換迴路之掃描器控制方法及 控制裝置,使其可適用於搭接讁插即用印表機與符合隨插 即用之規格要求者。 按現今掃描器之設計上,均朝著安裝簡便及使用方便 之方向不斷地改進•故而有所謂可連接在電腦並列埠 (PRINTER PORT)上之掃描器(以下阍稱為:並列埠掃描器 )應市•而實際使用上,即無需於電腦内部插接任何S C SI或專颺界面卡之不便性·且無插接界面卡所衍生之佔 用擴充槽、調整I/O埠、中斷埠(IRQ)之複雜作業 •而僅需將掃描器直接插接在電腦並列埠上*透過在罨腦 裝置上執行裝匾驅動程式後即可使用•如此•對使用者而 言,確有使用上極為簡便之效果及提供極佳的親和性,誠 為一相當實用的產品。 然而上述連接在並列埠上之掃描器,亦有其缺點存在 •亦即因其為佔用並列埠之故,則導致無法順利地連接印 表機,鑒於此等問題下,更有所謂内含印表機連接埠之掃 描器,透過内部切換控制迴路之控制下,使得印表機可連 接在該掃描器之印表機連接埠上,令播描器及印表機可共 用電腦並列埠者•就以上述方式而論*雖可適當地解決上 述印表機無法連接之問題,然實際運用上•由於現今WI NDOWS 95作業系統的普及》各項週邊裝蠹均已符 -3- 本紙張尺度適用中國國家標隼(CNS ) A4現格(2丨0X297公釐) -------1丨裝------訂-----線 * (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消费合作社印製 A7 B7 五、發明説明(z) 合r隨插即用』(PLUG & PLAY)(PnP)規格之下•上述習知 之掃描器所内含之印表機切換控制迴路•即無法令隨插即 用型式之印表機正常運作•導致無法適用之缺陷·以下即 就簿統掃描器之切換控制迺路概略說明之: 就市售之並列埠掃描器内部之印表機切換控制迴路而 論.主要為針對標準並列埠規格(SPP) (STANDARD PRINT PORT)而設計者·亦即係限制並列埠之各接腳為在該 S P P規格條件下·而其與印表機之通訊方式亦限制為僅 在S P P方式進行溝通之情況下,即導致無法以E P P或 E C P模式之隨插即用型式的印表機通訊•以致於無法符 合隨插即用之規格要求。S03431 at B7 Printed and Printed by the Employees ’Consumer Cooperative of the Central Prototype Bureau of the Ministry of Economic Affairs 5. Description of the invention (/) The present invention is a scanner control method and device that includes a plug-and-play printer port, which is mainly a s The PP, EPP and ECP specifications include a scanner control method and control device for the printer switching circuit, making it suitable for overlapping plug-and-play printers and those that meet plug-and-play specifications. According to the design of today's scanners, they are continuously improved in the direction of easy installation and ease of use. Therefore, there are so-called scanners that can be connected to the computer's parallel port (PRINTER PORT) (hereinafter referred to as: parallel port scanner) Market-oriented • In actual use, there is no inconvenience of plugging any SC SI or dedicated interface card inside the computer, and no expansion slot, adjustment of I / O port, interrupt port (IRQ) derived from plugging the interface card ) Complex operation • only need to plug the scanner directly to the parallel port of the computer * can be used by running the plaque driver on the brain device • so • for the user, it is very easy to use The effect and provide excellent affinity, sincerely a very practical product. However, the above scanners connected to the parallel port also have their shortcomings. That is, because they occupy the parallel port, the printer cannot be successfully connected. In view of these problems, the so-called embedded printing The scanner of the printer port is controlled by the internal switching control loop, so that the printer can be connected to the printer port of the scanner, so that the player and the printer can share the computer parallel port. As far as the above method is concerned * Although it can properly solve the problem that the above printer cannot be connected, it is actually used. Due to the popularity of the WI NDOWS 95 operating system today, all peripheral installations have been conformed to -3- This paper standard Applicable to China National Standard Falcon (CNS) A4 cash (2 丨 0X297mm) ------- 1 丨 installed ------ order ----- line * (please read the notes on the back first (Fill in this page again) A7 B7 printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of the Invention (z) Plug and Play (PLUG & PLAY) (PnP) specifications Built-in printer switching control loop • Even plug-and-play printers cannot be adjusted Normal operation • Defects that make it impossible to apply • The following is a brief description of the switching control path of the book scanner: On the printer switching control circuit inside the commercially available parallel port scanner. Mainly for the standard parallel port SPP (STANDARD PRINT PORT) and the designer, that is, the pins of the parallel port are restricted to the SPP specifications, and the communication method with the printer is also limited to only SPP communication In this case, it is impossible to communicate with the plug-and-play printer in the EPP or ECP mode • so that it cannot meet the plug-and-play specifications.

且該切換控制迴路之設計上•更僅為改變鼋腦並列埠 之選擇訊號線(SLCT— IN)之高低霉位狀態決定· 亦即•設定該選擇訊號線為在低電位狀態時•為令印表機 動作•而訊號線為呈高霉位狀態時·則切換至掃描器位匾 •此等透過並列埠之選擇訊號線做為辨認之設計更嚴格其 僅能適用於S P P模式之印表機而已·此乃由於現今E P P或E C P模式下之各接腳定義上之差別,該選擇訊號線 (SLCT—IN)在EPP或ECP模式下,不容許任 意更動者•故而在此接腳刻意拉低或拉高鼋位顯然易造成 誤動作或嚴重導致當機的問題,因此,市售或傳統型式之 内含印表機連接頭之掃描器控制迴路即無法適用於E P P 或E C P模式之印表機•相對的*即限制印表機僅能在S -4- 本紙張尺度適用中國國家標準(CNS ) A4規格(210X29?公釐) -------」丨裝------訂-----線 - (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印装 A7 B7 五、發明説明(3 ) p p模式下動作而無法達到隨插即用之效果》 因此,本發明人即鑒於習知之掃描器切換控制方法無 法適用於隨插即用規格之印表櫬的限制下,故而提供一種 全新的切換控制方法及控制裝置·不僅可適用於s P P模 式之印表機之外•更可適用於E P P或E C P模式之隨插 即用型式之印表機者。 本發明之主要目的在於提供一種内含隨插即用印表機 連接埠之掃描器控制方法及裝置•主要為改變傳統之訊號 辨識方式·為一種不使用並列埠之各控制訊號(CONTROL SIGNAL)之電位狀態進行辨識*而係使用並列埠之各資料端 (DO〜D7)送出辨識碼之方式·經控制迴路内部之控 制單元對之進行解碼而決定印表機或掃描器之多工切換, 此舉•即由於不使用選擇訊號(SLCT— IN)之狀態 做為辨識及任意改變電位狀態•故可適用及符合隨插即用 規格與連接隨插即用印表機之效果者。 本發明之次一目的在於提供一翟内含隨插即用印表機 連接埠之掃描器控制方法及裝霤•前述運用並列埠之資料 端做為傳送辨識碼之型態,亦同樣可適用於S P P型式之 印表機,故具有良好的適用性》 本發明之另一目的在於提供一種内含隨插即用印表機 連接埠之掃描器控制方法及裝置,於進行掃描器與印表機 間之交替切換期間•亦即於印表機接通狀態而欲切換至掃 描器位置時•或是在掃描器連線狀態欲切換至印表機位匾 -5- 本紙張又度適用中國國家標準(CNS ) A4規格(210X297公釐) -------i I裝------訂-----線 * (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 A7 B7 五、發明説明(Y ) 時·均有一完全離線之緩衝期間•此完全離線之緩衝期間 可供儲存印表櫬之先前狀態或供送入印表機之原先狀態· 以防止動作不連纊之問題外*更可確實防止掃描器與印表 機間之訊號相互衝擓之誤動作者•達到切換較為播定之效 果者。 本發明之又一目的在於提供一種内含隨插即用印表機 連接埠之掃描器控制方法及裝置’前述透過電腦並列埠送 出之辨識碼之型態上,更有考慮誤動作之問題者,亦即欲 將原為連接印表機之狀態切換至掃描器位置時•為設定辨 識碼必須以兩組資料碼交替重覆次數至一特定數置時*始 予印表機離線,例如:連纘交替地送入E6及E7 (十六 進位)之資料碼十六次之情況下•始判斷為欲令印表機離 線之訊號者》 本發明之再一目的在於提供一種内含隨插即用印表機 連接埠之掃描器控制方法及裝霤,於印表機離線後而欲建 立掃描迴路之連接之方式上,更為透過並列埠之資料端送 入一開啓掃描迺路之辨識碼(例如:十六進位之E 2的資 料碼)》並在並列埠之_發訊號(st robe)端產生 一低霉位脈衝之狀態下•始令並列埠切換至掃描器之迴路 上·達到建立掃描器與並列埠之通訊。 本發明之更一目的在於提供一種内含隨插即用印表機 連接埠之掃描器控制方法及裝霪 > 欲使掃描迴路與並列埠 離線時*則為類似於前述方式 > 由並列埠送入一辨識碼( -6 — 本紙張尺度適用中國國家標準(CNS ) A4規格(2IOX297公釐〉 -------1丨裝------訂------線 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印裂 S03431 A7 B7 五、發明説明(ir ) 例如:十六進位之E3的資料碼)以及在並列埠上之觸發 訊號(s t r obe)呈現一低電位脈衝之際送入,達到 迅速地令掃描器離線者。 本發明之又一目的在於提供一種内含隨插即用印表機 連接埠之播描器控制方法及裝置•於掃描器離線而欲使印 表機再行恢復為連線狀態時•則於前述掃描器離線之際· 除了恢復至印表機先前狀態之外,更為送入兩辨識碼訊號 (例如:依序產生十六進位之E8及E9 —次)•而依據 此辨識碼而重新建立印表機之迴路連接者。 依據前述本發明之各項目的及在不同狀態之資料碼辨 識步驟•可配合以下_式之詳細說明獲得進一步瞭解: (—)· _式部份: 第一圔:係本發明之控制方塊_。 第二圔:係本發明之各控制單元的詳細電路圃。 第三圔:係本發明之各週邊裝置之詳細霉路_ » 第四騮:係本發明之動作時序及狀態示蕙_ » (二)·圔號部份: (1〇)電腦裝置 (11) (12)連接器 (20)隨插即用印表機 (30)控制裝匾 (31) (33) (35) (62) (64〉緩衝器 (32) 振動消除霪路 (34)資料匯流排 (40) (50)切換控制單元 (41) 〜(45) (4 8) ( 5 1) (52)及閘 -7- 本紙張尺度適用中國國家標準(CNS ) A4規格(2丨OX297公釐) -------i丨裝------訂------線 (請先閱讀背面之注意事項再填寫本頁) 經濟部中央樣準局员工消f合作社印製 A7 B7 五、發明説明(z) (47)移位暫存器(46) (4 9) (53)〜(55 )D型正反器 (61) (71)控制匯流排閂鎖 (63) (72)狀態匯流排三態緩衝器 (80)掃描器内部電路 如第一所示•本發明之内含隨插即用印表機連接埠 之掃描器控制裝霾(30)為如面中央以虚線框出之部 位者•為一設在掃描器機體内部之控制線路•於此控制裝 匾(30)之右下方位匾即為掃描器内部電路(80) · 而於該虛線框其他部位之各項構造即為相關的切換控制迥 路,而整個控制裝置(30)的左側為形成可與霪腦裝霤 (10)之並列埠連接之連接器(11) •而控制裝置( 30)右側為形成可供隨插即用印表機(20)連接之連 接器(12) •此控制裝匾(30)包括多數緩衝器(3 1) (33) (35) (62) (64)、印表機/掃描 器控制匯流排閂鎖(6 1) ( 7 1 )、印表機/掃描器狀 態匯流排三態緩衝器(63) (7 2)以及印表機/掃描 器匯流排切換控制單元(4 0 ) ( 5 0 )所共用組成,其 中,在該兩連接器(11) (12)之上、中、下三個位 置分別為並列埠之控制匯流排(CONTROL BUS)、狀態匯流排 (STATUS BUS )以及資料匯流排(DATA BUS )·而在上述兩連 接器(11) (12)間之控制匯流排與狀態匯流排之間 則串接有緩衝器(31) (3 3) (6 2) (6 4)(亦And the design of the switching control loop is only determined by changing the high and low mold status of the selection signal line (SLCT-IN) of the parallel port of the brain. That is, when the selection signal line is set to a low potential state, it is Printer operation • When the signal line is in a high mold state, switch to the scanner position plaque. • The design of the selected signal line through the parallel port is more strict. It can only be used for SPP mode printers. This is due to the difference in the definition of the pins in EPP or ECP mode. The selection signal line (SLCT-IN) in EPP or ECP mode does not allow any changers. Therefore, this pin is deliberately pulled Low or high bit positions are obviously prone to malfunction or serious downtime problems. Therefore, the commercially available or traditional type of scanner control circuit with printer connector is not suitable for EPP or ECP printers. • Relative * means that the printer can only be applied to the Chinese national standard (CNS) A4 specification (210X29? Mm) at S -4- This paper size ------- "丨 installed ------ Order ----- Line- (Please read the precautions on the back before filling in this ) A7 B7 printed by the Employees ’Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs V. Description of the invention (3) Action in pp mode cannot achieve the effect of plug and play. Therefore, the present inventor is unable to apply the conventional scanner switching control method Under the limitation of the plug-and-play specifications, it provides a new switching control method and control device. Not only applicable to printers in s PP mode, but also applicable to EPP or ECP mode. Plug-and-play printers. The main purpose of the present invention is to provide a scanner control method and device with a plug-and-play printer port • Mainly to change the traditional signal identification method • To be a control signal that does not use parallel ports (CONTROL SIGNAL) The identification of the potential state * is the method of sending the identification code by using the data ports (DO ~ D7) of the parallel port. Decode it by the control unit inside the control loop to determine the multiplexing switch of the printer or scanner. For example, because the state of not using the selection signal (SLCT-IN) is used for identification and arbitrarily changing the potential state, it is applicable and meets the plug-and-play specifications and the effect of connecting the plug-and-play printer. The second object of the present invention is to provide a scanner control method and device for a port with a plug-and-play printer. The data port using the parallel port as the type of transmission identification code is also applicable to The SPP type printer has good applicability. Another object of the present invention is to provide a scanner control method and device including a plug-and-play printer port, between the scanner and the printer During the alternate switching • that is, when the printer is turned on and you want to switch to the scanner position • or when the scanner is connected, you want to switch to the printer position plaque-5- This paper is also applicable to the Chinese national standard (CNS) A4 specification (210X297mm) ------- i I installed ------ ordered ----- line * (please read the precautions on the back before filling in this page) Ministry of Economic Affairs The A7 B7 is printed by the Staff Consumer Cooperative of the Bureau of Standards 5. In the description of invention (Y) • There is a completely offline buffer period • This completely offline buffer period can be used to store the previous state of the printer or the original for feeding into the printer Status · In order to prevent the problem of non-continuity of action Real action to prevent the misuse of signals between the scanner and the printer of mutual Chong Kuai • achieve more sowing switching effect those prescribed. Another object of the present invention is to provide a scanner control method and device including a plug-and-play printer port. In the form of the aforementioned identification code sent through the parallel port of the computer, the problem of misoperation is more considered. That is, when you want to switch the status of the original connected printer to the scanner position • To set the identification code, you must alternately repeat the number of sets of two sets of data codes to a certain number of times * Start with the printer offline, for example: Lianzhan In the case where the data codes of E6 and E7 (hexadecimal) are sent alternately sixteen times • It is initially judged as a signal to make the printer offline. Another object of the present invention is to provide a plug-and-play printing The scanner control method and installation method of the meter's connection port, when the printer is offline and the connection of the scan circuit is to be established, an identification code for opening the scan path is sent through the data port of the parallel port (for example : Hexadecimal E 2 data code) "and in the state where a low mildew pulse is generated at the _signal (st robe) end of the parallel port • Initiate the switch of the parallel port to the scanner circuit And union Port of. A further object of the present invention is to provide a scanner control method and device including a plug-and-play printer port> When the scan circuit and the parallel port are to be taken offline *, it is similar to the aforementioned method> By the parallel port Enter an identification code (-6 — This paper standard is applicable to the Chinese National Standard (CNS) A4 specification (2IOX297mm> ------- 1 丨 installation ------ order ------ line (Please read the precautions on the back before filling in this page) Employee's Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs printed S03431 A7 B7 V. Description of Invention (ir) For example: the data code of E3 in hexadecimal) and on the parallel port The trigger signal (str obe) is sent when it presents a low potential pulse, so as to quickly take the scanner offline. Another object of the present invention is to provide a player control method including a plug-and-play printer port And device • When the scanner is offline and you want to restore the printer to the connected state again • When the aforementioned scanner is offline • In addition to returning to the previous state of the printer, two identification code signals are also sent (For example: Hexadecimal E8 and E9 are generated in sequence — Second) • Re-establish the loop connection of the printer based on this identification code. According to the aforementioned items of the present invention and the data code identification steps in different states • You can obtain a further understanding with the following detailed description: —) · _Form part: The first circle: is the control block of the invention_. The second circle: is the detailed circuit garden of each control unit of the invention. The third circle: the detailed mold of each peripheral device of the invention Road _ »The fourth 骪: the timing and status of the operation of the present invention is shown _» (2) · 圔 号 part: (1〇) computer device (11) (12) connector (20) plug-and-play printing The machine (30) controls the plaque (31) (33) (35) (62) (64> Buffer (32) Vibration Suppression (34) Data bus (40) (50) Switching control unit (41) ~ (45) (4 8) (5 1) (52) and Zha-7-This paper size is applicable to the Chinese National Standard (CNS) A4 specification (2 丨 OX297mm) ------- i 丨 installation-- ---- order ------ line (please read the precautions on the back before filling in this page) A7 B7 printed by the employees ’cooperative of the Central Prototype Bureau of the Ministry of Economic Affairs V. Invention Instructions (z) (47) Move Bit register (46) (4 9) (53) ~ (55) D-type flip-flop (61) (71) Control bus latch (63) (72) State bus tri-state buffer (80) Scanner internal circuit as the first Shown • The scanner control device (30) of the plug-and-play printer port included in the present invention is the part outlined by the dotted line in the center of the face • It is a control circuit provided inside the scanner body • The plaque at the bottom right of the control plaque (30) is the internal circuit of the scanner (80). The other structures in the other parts of the dotted frame are related switching control circuits, and the entire control device (30) The left side is formed with a connector (11) that can be connected to the parallel port of the brain (10) • The right side of the control device (30) is formed with a connector (12) that can be connected to a plug-and-play printer (20) ) • This control panel (30) includes most buffers (3 1) (33) (35) (62) (64), printer / scanner control bus latch (6 1) (7 1), The printer / scanner status bus tri-state buffer (63) (7 2) and the printer / scanner bus switching control unit (4 0) (5 0) are shared, in which the two The upper, middle and lower positions of the controller (11) (12) are the control bus (CONTROL BUS), the status bus (STATUS BUS) and the data bus (DATA BUS) of the parallel port. A buffer (31) (3 3) (6 2) (6 4) is connected in series between the control bus and the status bus between the controller (11) (12)

可省略),以及在連接器(11)之觸發輸出端(STR -8- 本紙張尺度適用中國國家標準(CNS ) A4現格(2丨0X 297公釐) (請先閲讀背面之注意事項再填寫本页) -s 經濟部中央標準局負工消費合作社印裝 A7 B7 五、發明説明(7 ) OBE〉端連接有振動消除電路(32)以消除不霈要的 振盪訊號•而胲控制匯流排以及狀態匯流排則分別經印表 機/掃描器控制匯流排閂鎖(6 1 ) ( 7 1 )以及印表機 /播描器狀態匯流排三態緩衝器(63) (72)而分別 與隨插即用印表機(2 0)及掃描器内部霉路(8 0〉連 接•而上述控制印表機與掃描器之相關的閂鎖及三態緩衝 器則分別以控制訊號(X) (Y)與圖面左下方之印表機 /掃描器匯流排切換控制單元(40) (50)連接•而 藉由此兩控制單元(4 0) (5 0)控制印表機與掃描器 之通斷狀態•而經外部電腦裝置(1 0 )送入之資料匯流 排則直接與隨插即用印表機(20)與透過一緩衝器(3 5)送入至該兩組控制單元(40) (50)與掃描器内 部電路(8 0 )中。 而以上述迴路架構下,其内部切換之動作為藉由外部 之電腦裝霪(1 0)經資料匯流排送入切換之辨識碼進入 ,而經緩衝器(35)送入至兩控制單元(40) (50 )内,而藉兩控制單元(40) (50)進行訊號解碼作 業•以決定接通或切斷孩印表機或掃描器相關之閂鎖及三 態緩衝器(61) (63) (71) (72),達到選擇 性地於印表機與掃描器間進行迴路切換動作者•而對於電 腦裝匾(1 0)送出之控制匯流排的選擇訊號(SLCT —IN)及觸發訊號(STROBE)雖亦送入至兩切換 控制單元(40) (50)内•然此兩訊號僅做為核對狀 -9- 本紙張尺度適用中國國家標隼(CNS ) A4規格(2丨0X 297公康) -------J丨裝------訂-----線 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印裝 A7 B7 五、發明説明(次) 態是否確實而已•並不做為切換的主要依據•亦即•本發 明達成印表機與掃描器間之切換為完全由資料匯流排送入 之資料碥所決定•而與簿統為判斷選擇訊號(s L CT — I N)之高低電位狀態無關與毫無影響,而對於印表機之 適用性方面•於切換至印表機狀態下•更可由第一圃可清 楚看出*印表機(20)與電腦裝匾(10)之間的控制 /狀態/資料匯流排為呈直通狀態,此舉•即如同直接將 印表機直接連接在電腦裝置(1 〇 )之並列埠般,無虞受 到並列埠不同規格之影響而仍可正常動作,如此•令本發 明可適用於一般S P P規格之印表機之外,更可符合E P P或E C P之隨插即用型式之印表機者,達到解決習知切 換裝鼴適用性不足之缺點者。 關於第一_之各單元之詳細構造上•可K合參看第二 _所示·_面左側及右側即分別為印表檄/掃描機匯流排 切換控制單元(40) (50)之内部構造*於孩印表機 匯流排切換控制單元(40)内部為以兩組分別與並列埠 資料匯流排(CMD 1〜7)連接之各別具有八輸入腳之 及閘(41) (42)、數個兩輸入端之及閘(4 3 )〜 (45)、時序輸入端與匯流排位元0 (CMD0)連接 之D型正反器(46)、十六位元移位暫存器(47)以 及十六輸入腳之及閘(48)所組成,而此印表機匯流排 切換控制單元(40)之下半部份之及閘(42) (44 )(45)、十六位元移位暫存器(47)及十六輸入腳 -10- 本纸佚尺度適用t國國家標準(CNS ) A4規格(2丨0X297公釐) -------I-丨裝------訂-----·線 (請先閱讀背面之注意事項再填寫本頁) 經濟部中央標準局負工消费合作社印裂 S0S431 A7 B7 五、發明説明(y ) 位之及閘(48)為判斷是否送入印表機離線之辨識碼者 (此例中為依序連緬送入十六進位碼~ Ε6Λ " E7”共 十六次而觸發)•而上半部位之及閘(41) (43)與 D型正反器(46)則為判画是否送入印表機連線之辨識 碥者(此例中為依序送入十六進位碼~ Ε8~ ~ Ε9 " — 次而臞發)•而上述十六輸入腳位之及閘(4 8)輸出端 為連接於_面最上方之D型正反器(49)之重匾端(C LR) ·故而可湳除此正反器(49)之印表機開啓輸出 端(X)為低電位(即:切斷印表機)•而該上半部份之 D型正反器(46)輸出端為與前述D型正反器(49) 之致能端(CE)連接,可在呈現高電位時,令正反器( 49)送出高電位訊號(即:接通印表機)。 而第二右剧之掃描器匯流排切換控制單元(5〇〉 概為以類似於前述之構造所組成•其上、下兩部份為開啓 及關閉掃描器之判斷迺路,最上方亦為以一 D型正反器( 5 5)之掃描器開啓輸出端(Υ)之高、低霣位狀態控制 掃描器相關電路之通斷•在此例中•為以十六進位之〃 Ε 2〃及配合觸發訊號(STB — LAT) (STROBE )產生低霣位脈衝之際(充當D型正反器(53)之時序 訊號)·即直接令掃描器迴路接通•而以十六進位之"E 3〃與該STB — LAT呈低電位脈衝時,為令掃描器迴 路關閉與離線者》 而第一讎貝他諸如閂鎖、三態緩衝器、各緩衝器以及 -11- 本紙沬尺度適用中國國家標隼(CNS ) A4現格(210X297公釐) -------J _裝------訂丨----·線 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局貝工消費合作社印裝 A7 B7 五、發明説明((0 ) 振動消除電路之構造為如第三所示•於·面右下角及左 上角分別為掃描器内部電路(80)之局部構造,而圃面 左下角為以數個D型正反器與互斥或閘形成一可將霉腦裝 霤送入之觸發訊號(PC — STB)予以整形消除振動後 •而由右下角送出已消振之觸發訊號(STB—LAT) •而_面中央上方位置則分別為多組三態緩衝器構成如前 述之印表機/掃描器狀態匯流排三態緩衝器(63) (7 2)及緩衝器(33) •圈面右側以兩組相同構造之D型 正反器組構成印表櫬/掃描器控制匯流排閂鎖(61)( 7 1)。 而對於本發明之貢際切換的控制流程方面•可K合參 看第四圃所示•於面上方即表示由印表機之連線狀態切 換至掃描器狀態以及恢復至印表檄連線之示意圔(圔面中 以PC表示霪腦裝置、PR表示印表櫬、SC表示掃描器 、(:表示控制訊號、S表示狀態訊號)·而圔面下方為表 示相關的控制訊號及資料之時序關係•由於本發明之控制 迴路在啓始狀態下為呈印表機連線狀態•故以圓面最左側 依序解釋說明之*於第四A圔面最初之狀態下•若欲將霉 腦裝置(PC)與印表機(PR)之連線狀態切換至掃描 器(SC)位霤時•即透過電腦裝置予以儲存(PUSH )並列埠各控制訊號之現在狀態資料•然後為令圔面下方 之選擇訊號(SLCT— IN)及觸發訊號(STB)維 持在高鼋位狀態,而資料端即依序交替地送入十六進位之 -12- 本紙張尺度適用中國國家標準(CNS ) A4规格(210X29?公釐) --------i ------1T------0 (請先閱讀背面之注意事項再填寫本页) 經濟部中央標準局—工消費合作社印装 A 7 B7 五、發明説明(/ f) "E6〃 # E7#並重覆十六次後,即可令第二左側之 印表襪匯流排切換控制單元(40)之下半部份動作,而 使第一圃右上方之閂鎖(61)及三態緩衝器(63)呈 斷開狀態,亦即為呈現如第四B國上方所示之完全離線的 型態•然後再以該第四B圔下方之時序所示•該控制訊 號之自動跳頁(AUTO — FD)此時即暫時充做為掃描 器之啓閉燈號使用*而在資料端經送入~ E 碼以及在 觸發訊號(STB)之上昇緣位龌狀態下•即令掃描器( SC)形成如第四C圔上方所示之與霉腦(PC)連通之 狀態,而當掃描器使用完畢而欲釋放主控權時•則為於資 料端送入” E3~及以在該觸發訊號(STB)為在上昇 縁狀態時,即迅速地令掃描線為如第四D_之離線狀態· 並配合第四D_下方之時序画所示·一經將掃描器離線後 ,則先行將印表機之先前狀態回復(POP),並透過資 料端依序送入一〃 E8"及一〃 E9〃後,即恢復如第四 A_之印表櫬連線狀態》Can be omitted), and at the trigger output of the connector (11) (STR -8- This paper standard is applicable to the Chinese National Standard (CNS) A4 format (2 丨 0X 297mm) (Please read the notes on the back first (Fill in this page) -s A7 B7 Printed by the Consumer Labor Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs 5. Description of the invention (7) OBE> The end is connected with a vibration cancellation circuit (32) to eliminate undesirable oscillation signals while controlling the confluence The bus and status bus are controlled by the printer / scanner control bus latch (6 1) (7 1) and the printer / player status bus tri-state buffer (63) (72) respectively Connected to the plug-and-play printer (20) and the internal path of the scanner (80) and the above-mentioned latches and tri-state buffers that control the printer and scanner are controlled by the control signal (X) (Y) Connected to the printer / scanner bus switching control unit (40) (50) at the bottom left of the drawing. The two control units (4 0) (50) control the printer and scanner On-off status • The data bus sent via the external computer device (1 0) is directly connected to the plug-and-play printer (2 0) and sent to the two sets of control units (40) (50) and the internal circuit of the scanner (80) through a buffer (35). With the above loop structure, the internal switching action is used as a borrow Installed by the external computer (10) through the data bus to enter the identification code to switch into, and through the buffer (35) into the two control units (40) (50), and borrow two control units (40 ) (50) Perform signal decoding operations • To determine whether to turn on or off latches and tri-state buffers related to children ’s printers or scanners (61) (63) (71) (72) to achieve selective The operator who performs the circuit switching between the printer and the scanner • The selection signal (SLCT-IN) and the trigger signal (STROBE) for the control bus sent by the computer plaque (10) are also sent to the two switching control units (40) (50) Inside • These two signals are only used as a check-9- This paper scale is applicable to China National Standard Falcon (CNS) A4 specification (2 丨 0X 297 public health) ------- J 丨------ Subscribe ----- Line (please read the precautions on the back before filling in this page) A7 B7 printed by the Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy V. Description of invention ( Second) Whether the status is correct • It is not used as the main basis for switching • That is, the invention achieves the switch between the printer and the scanner to be completely determined by the data feed sent by the data bus • It is the same as the book. Judge the selection signal (s L CT — IN) high and low potential status is irrelevant and has no effect, but for the applicability of the printer • in the state of switching to the printer • can be clearly seen by the first garden * print The control / status / data bus between the printer (20) and the computer plaque (10) is in a straight-through state, which is like directly connecting the printer directly to the parallel port of the computer device (1 〇) , It is possible to operate normally due to the influence of different specifications of parallel ports, so • The invention can be applied to printers of general SPP specifications, and can also be compatible with EPP or ECP plug-and-play printers In order to solve the shortcomings of the lack of applicability of the conventional switching equipment. About the detailed structure of the first unit, please refer to the second part. The left and right sides of the surface are the internal structure of the printer / scanner bus switching control unit (40) (50) * In the kid's printer bus switch control unit (40), there are two groups respectively connected to the parallel port data bus (CMD 1 ~ 7) with eight input pins and gates (41) (42), Several two-input sum gates (4 3) ~ (45), D-type flip-flop (46) connected to the timing input terminal and bus row 0 (CMD0), 16-bit shift register ( 47) and the sixteen input pin and gate (48), and the lower half of the printer bus switching control unit (40) and gate (42) (44) (45), sixteen Element shift register (47) and sixteen input pins -10- This paper's standard is applicable to the national standard (CNS) A4 specification (2 丨 0X297mm) ------- I- 丨 installed- ----- Subscribe ----- · Line (please read the notes on the back before filling in this page) S0S431 A7 B7 printed by the Consumer Labor Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs V. Invention description (y) Gate (48) is to judge whether to send the print The offline identification code (in this example, the hexadecimal code is sent to Burma in sequence ~ Ε6Λ " E7 "triggering a total of sixteen times) • The upper half of the gate (41) (43) and D type The flip-flop (46) is for the identification of whether the picture is sent to the printer connection (in this case, the hexadecimal code is sent in sequence ~ Ε8 ~ ~ Ε9 " — and then sent) The output gate of the above 16 input pins and the gate (48) is the heavy plaque end (C LR) of the D-type flip-flop (49) connected to the top of the surface. Therefore, the flip-flop (49) can be eliminated ) The printer's open output (X) is low potential (ie: cut off the printer) • The upper half of the D-type flip-flop (46) output is the same as the aforementioned D-type flip-flop ( 49) The enable terminal (CE) connection can make the flip-flop (49) send a high potential signal (ie: turn on the printer) when the high potential is present. And the scanner bus switch of the second right drama The control unit (5〇) is generally composed of a structure similar to the previous one. The upper and lower parts are used to open and close the scanner. The top is also a D-type flip-flop (5 5) The scanner turns on the output Υ) The high and low high-bit state controls the on-off of the scanner related circuits. In this example, it is a hexadecimal 〃 Ε 2〃 with the trigger signal (STB — LAT) (STROBE) to generate a low high-level pulse. On the occasion (acting as the timing signal of the D-type flip-flop (53)), that is, to directly turn on the scanner circuit • When the " E 3〃 of hexadecimal and the STB — LAT are low potential pulses, it is The scanner circuit is closed and offline "and the first beta such as latches, three-state buffers, each buffer and -11- This paper is suitable for China National Standard Falcon (CNS) A4 (210X297mm)- ------ J _ 装 ------ 訂 丨 ---- Line (please read the precautions on the back and then fill out this page) Printed A7 B7 of the Beigong Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 2. Description of the invention ((0) The structure of the vibration elimination circuit is shown in the third. • The lower right corner and upper left corner of the surface are the local structure of the scanner internal circuit (80), and the lower left corner of the garden surface is several D The flip-flop and the mutual exclusion or brake form a trigger signal (PC-STB) that can send the mold brain to the shape to eliminate the vibration. The vibration-reduced trigger signal (STB-LAT) is sent from the lower right corner. The upper position of the center of the surface is composed of multiple sets of three-state buffers, which constitute the printer / scanner state bus tri-state buffer as described above ( 63) (7 2) and buffer (33) • On the right side of the ring surface, two sets of D-type flip-flops with the same structure form the printer / scanner control bus latch (61) (7 1). For the control flow of the tributary switch of the present invention, please refer to the fourth garden. The top of the screen indicates that the printer is switched from the printer to the scanner and the printer is restored to the printer. Indication (in the imaginary plane, the PC means the brain device, PR means the printer, SC means the scanner, (: means the control signal, S means the status signal)), and the bottom of the face is the timing of the related control signals and data. Relationship • Since the control circuit of the present invention is in the connection state of the printer in the initial state • it is explained in the order of the leftmost side of the circular surface * in the initial state of the fourth A sacred surface When the connection status of the device (PC) and the printer (PR) is switched to the scanner (SC) bit position • That is, the current status data of each control signal of the parallel port is stored (PUSH) through the computer device • Then is the command surface The selection signal (SLCT-IN) and the trigger signal (STB) at the bottom are maintained at the high-bit state, and the data end is sent to the hexadecimal alternately in sequence. This paper size is applicable to the Chinese National Standard (CNS) A4 Specifications (210X29? Mm) ------- -i ------ 1T ------ 0 (Please read the precautions on the back before filling in this page) A 7 B7 Printed by the Central Bureau of Standards of the Ministry of Economic Affairs and Industry and Consumer Cooperatives V. Description of the invention (/ f ) " E6〃 # E7 # After repeating 16 times, the lower half of the second left printing socks busbar switching control unit (40) can be operated to make the upper right latch of the first garden (61) and the tri-state buffer (63) are in the off state, that is, they are completely off-line as shown above the fourth country B. Then, the time sequence below the fourth B is shown. The automatic page jump of the control signal (AUTO — FD) is now temporarily used as the scanner's on / off signal * and the ~ E code is sent at the data end and the rising edge of the trigger signal (STB) is in the state of Next, the scanner (SC) will be in a state of communication with the mold brain (PC) as shown on the top of the fourth C, and when the scanner is used and you want to release the main control right, it will be sent to the data side. " E3 ~ and when the trigger signal (STB) is in the ascending state, that is, the scan line is quickly brought to the offline state like the fourth D_, and when it is below the fourth D_ As shown in the picture, once the scanner is offline, the previous state of the printer (POP) will be restored first, and then sent through the data terminal to one E8 " and one E9〃, it will be restored as fourth _The printer's connection status "

而上述對第四圓之切換步驟中·除了在印表機與掃描 器間之切換期間為具有一完全離線之緩衝區間•而可解決 訊號直接切換可能衍生之誤動作問題之外,且在整個切換 之程序上•更以資料端送入之辨識碼做為切換之主要依據 •尤以欲由印表機切換至掃描器位置時•更為透過重覆十 六次"E6" 〃 E7"數碼始能切換之設計,尤可看出其 嚴密性,而在切換至捕描器位置時,為令選擇訊號(S L -13- 本紙張尺度適用中國國家標準(CNS ) A4*見格(210X297公釐) (請先閲讀背面之注意事項再填寫本頁) -裝·In the above switching procedure for the fourth circle, except for a buffer zone that is completely offline during the switching between the printer and the scanner, it can solve the problem of malfunction caused by the direct switching of the signal, and the entire switching On the procedure • The identification code sent from the data terminal is used as the main basis for switching • Especially when you want to switch from the printer to the scanner position • More by repeating sixteen times " E6 " 〃 E7 " digital The design can be switched at first, especially the tightness can be seen, and when switching to the position of the tracer, in order to make the selection signal (SL -13- This paper standard applies to the Chinese National Standard (CNS) A4 * see grid (210X297 Cli) (Please read the notes on the back before filling this page)

-tT A7 B7 五、發明説明(|>) CT一IN)為維持在高霉位狀態•充其置僅使用未被使 用之觸發訊號(STB)及自動跳頁(AUTO — FD) 暫時充當做為確認及燈號點滅使用而已|且於切換至印表 機連線之狀態•前述各控制訊號均未予更動之情況下•如 此,確可適用於隨插即甩型式之印表機使用與不致造成干 擾等問題者。 綜上所述|本發明為提供一種與電腦並列埠各控制訊 號完全無關的印表機/掃描器界面的切換控制方法•確可 解決習知切換方式不盡周嚴與無法連接隨插即用型式之印 表機之缺憾•且在切換期間更設計有一完全離線之緩衝期 間,更有降低切換誤動作之優點,誠為一確具進步性之切 換方法及裝置設計·應符專利申講要件,爰依法提出申請 --------1 I裝------,訂------0 (請先閱讀背面之注意事項再填寫本I) 經濟部中央搮準局員工消费合作社印裝 -14- 本紙張尺度適用中國國家榡準(CNS ) A4規格(2)0X297公釐)-tT A7 B7 5. Description of the invention (| >) CT-IN) In order to maintain the high mold state • At best, only use the unused trigger signal (STB) and automatic page jump (AUTO — FD) temporarily It is used for confirmation and the light is off | and switched to the state of the printer connection. The above control signals have not been changed. In this way, it is indeed applicable to the plug-and-play printer Use and do not cause interference and other problems. In summary | The present invention is to provide a method for switching control of the printer / scanner interface that is completely independent of the control signals of the parallel port of the computer. It can indeed solve the problem of the inexhaustible conventional switching method and the failure to connect plug and play The shortcomings of the type of printer • Moreover, during the switching period, a completely offline buffer period is designed, and the advantage of reducing the switching error is also reduced. Sincerely a progressive switching method and device design. It should conform to the patent application requirements. □ Apply in accordance with the law -------- 1 I install ------, order ------ 0 (please read the notes on the back before filling in this I) Employee of the Central Bureau of Economic Affairs of the Ministry of Economic Affairs Printed by Consumer Cooperatives-14- This paper standard is applicable to China National Standard (CNS) A4 (2) 0X297mm)

Claims (1)

A8 B8 C8 D8 經濟部中央標準局員工消費合作社印製 六、申請專利範圍 1 · 一種内含隨插即用印表機連接埠之掃描器控制方 法•包括: 一欲由印表機切換至掃描器位置時,為先行儲存印表 . 機之各控制訊號之現在狀態*並將數個控制訊號維持在特 定電位狀態,以及透過資料線重覆送入辨識碼•據以切斷 印表機之連線狀態的步驟; 一透過資料線送入一掃描器連線之辨識碼•而令電腦 並列埠與掃描器之間建立連線之步驟; 一欲由掃描器切換回印表機連線狀態時•為在資料線 上送入摴描器離線之辨識碼•據以使掃描器迴路與電腦並 列埠斷線之步驟; 一回存印表機先前控制訊號狀態,以及於資料線上送 入開啓印表機連線之辨識碼•以恢復鼋腦並列埠與印表機 之連線的步驟; 藉以構成一僅單純由資料端之訊號狀態判斷切換方向 之訊號流向切換方法者。 2·如申講專利範圔第1項所述之内含隨插即用印表 機連接埠之掃描器控制方法,其中該切斷印表機連線狀態 之步嫌中,更為維持並列埠之選擇訊號(SLCT—IN )及觸發訊號(STROBE)在高霉位狀態者。 3 ·如申講專利範圍第1或2項所述之内含隨插即用 印表機連接埠之掃描器控制方法•其中該選擇訊號(S L C Τ~ I Ν)於印表機呈完全離線之狀態下•仍維持在相 -1 5 _ (請先閲讀背面之注意事項再填寫本頁) t -59 T I 本紙張尺度適用中國國家標準(CMS〉A4規格(210X 297公釐) A8 B8 C8 D8 經濟部中央標準局員工消费合作社印製 々、申請專利範圍 同電位狀態者* 4·如申講專利範圍第1項所述之内含隨插即用印表 機連接埠之掃描器控制方法,其中該切斷印表機連線狀態 之步驟,該資料端之辨識碼為以兩組不同的資料碼交替連 續產生者。 5·如申謫專利範園第4項所述之内含隨插即用印表 櫬連接埠之掃描器控制方法•其中該兩組不同的資料碼可 為十六進位之"E6〃及〃 E7#者。 6·如申講專利範圍第4或5項所述之内含隨插即用 印表機連接埠之掃描器控制方法•其中該兩組不同的資料 碼可為重覆十六次者。 7·如申謫專利範圍第1項所述之内含隨插即用印表 機連接埠之掃描器控制方法,其中在印表機完全離線之狀 態下,可暫時使用並列埠之控制訊號中的自動跳頁訊號做 為掃描器之動作燈號使用者。 8 ·如申講專利範園第1項所述之内含隨插即用印表 機連接埠之掃描器控制方法.其中該欲使掃描器建立連線 之步驟中,為伴隨使得皤發訊號(STB)產生一脈衝訊 號•以使播描器連線之辨識碼始被接受者。 9·如申謫專利範園第1或8項所述之内含隨插即用 印表櫬連接埠之掃描器控制方法,其中該辨識碼可為十六 進位之〃 E2〃數値者。 1〇·如申謫專利範圍第1項所述之内含隨插即用印 "16- 裝------訂------線 (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度適用中國國家標準(CNS ) A<4規格(210X 297公釐) 經濟部中央標準局員工消費合作社印I A8 B8 C8 D8々、申請專利範園 表機連接埠之掃描器控制方法•其中該欲使掃描器離線之 步驟中•為伴隨使得觸發訊號(STB)產生一脈衝訊號 •以使掃描器離線之辨識碼始被接受者。 11·如申講專利範_第1或10項所述之内含隨插 即用印表機連接埠之掃描器控制方法*其中該辨識碼可為 十六進位之# E3〃數値者。 12·如申講專利範圔第1項所述之内含隨插即用印 表機連接埠之掃描器控制方法,其中該供辨別做為重新建 立印表機連線之辨識碥可由依序送入兩不同數値之數値做 為判別者》 13·如申講專利範圍第12項所述之内含隨插即用 印表機連接埠之掃描器控制方法•其中該辨識碼可為十六 進位之〃 E8~及〃 E9—者。 1 4 ·—種内含隨插即用印表機連接埠之掃描器控制 裝匾,包括: 一可供連接電腦裝霾並列埠之連接器; 一可供連接印表機之印表連接器; 印表機/播描器匯流排切換控制單元|主要為與前述 兩連接器之資料匯流排連接•並分別送出一印表機連線及 掃描器連線之控制訊號•可藉接收資料端產生之不同辨識 碼以使兩控制訊號呈現不同狀態; 兩組分別連接在連接器之控制匯流排間之印表/掃描 控制匯流排閂鎖•各閂鎖之控制輸入端為分別與前述控制 -17- ---------^------?τ------ii (請先閱讀背面之注意事項再填寫本頁) 本紙張尺度逋用中國國家標準(CNS ) A4規格(210X2<?7公釐) 經濟部中央標準局員工消費合作社印裝 A8 B8 C8 D8 六、申請專利範圍 訊號連接; 兩組分別連接在連接器之狀態匯流排間之印表/掃描 狀態匯流排三態緩衝器,各組三態緩衝器之控制輸入端為 分別與前述控制訊號連接; 據以構成一種可依照資料端之辨識碼使其可在掃描器 與印表機間切換之控制裝匾者。 15·如申講專利範圓第14項所述之内含隨插即用 印表櫬連接埠之掃描器控制裝置·其中孩印表機/掃描器 匯流排切換控制單元更透過電腦並列埠之連接器送入一選 擇訊號(SLCT— IN)及觸發訊號(STROBE) 者。 16·如申講專利範圍第14項所述之内含隨插即用 印表機連接埠之掃描器控制裝置•其中界於兩連接器之間 更設置有資料緩衝器者。 17·如申謅專利範園第14或16項所述之内含隨 插即用印表機連接埠之掃描器控制装靈•其中該兩運接器 之間的資料緩衝器為分別配匾在控制匯流排與狀態匯流排 上者。 18如申請專利範園第14項所述之内含隨插即用 印表機連接埠之掃描器控制裝置,其中胲連接器之控制匯 流排的觸發訊號(STROBE)更串接有一振動消除電 路者。 19·如申講專利範圍第14項所述之内含隨插即用 -18- 本紙張尺度適用中國國家標芈(CNS > A4規格(210X297公釐) 裝 訂 線 (請先閲讀背面之注意事項再填寫本頁) A8 B8 C8 D8 々、申請專利範圍 印表機連接埠之掃描器控制裝置,其中該兩切換單元内部 為以可與霣料匯流排速接之多輸入端之及閘、D型正反器 為主要構成·據以形成解碼迴路者。 20·如申講專利範第14項所述之内含隨插即用 印表機連接埠之掃描器控制裝,其中該兩切換單元内部 更分別包括有一連線及斷線迴路*以在印表機或掃描器欲 連線或斷線時,均進行霣料解碼者。 2 1 ·如申請專利範圍第2 0項所述之内含隨插即用 印表機連接埠之掃描器控制裝置•其中該印表機匯流排切 換單元内部更含有一多位元之移位暫存器以及一多輸入端 之及閘•可將重覆送入之辨識碥依序移位暫存及比較者。 — II ^ I I I I I 裝— I I I I I 訂 I I 1 I I I 線 (請先閲讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製 -19- 本紙張尺度適用中國國家標準(CNS ) Α4規格(210 X 297公釐)A8 B8 C8 D8 Printed by the Employee Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economy VI. Patent Scope 1 · A scanner control method that includes a plug-and-play printer port • Including: One wants to switch from printer to scanner At the time of position, the printer is stored in advance. The current state of each control signal of the machine * and maintain several control signals at a specific potential state, and repeatedly send the identification code through the data line The step of the line status; a step of sending the identification code of a scanner connection through the data line; and the step of establishing the connection between the parallel port of the computer and the scanner; one when the scanner is to be switched back to the printer connection state • To send the identification code of the scanner offline on the data line • Steps to disconnect the scanner circuit from the parallel port of the computer; save the previous control signal status of the printer and send the data on the data line to open the printer The identification code of the computer connection • Steps to restore the connection between the parallel port of the printer and the printer; thereby forming a signal flow direction switching method that only determines the switching direction from the signal state of the data terminal. 2. The scanner control method including a plug-and-play printer port as described in Item 1 of the patent application, in which the step of disconnecting the printer from the connection status is too late to maintain the parallel port The selection signal (SLCT-IN) and the trigger signal (STROBE) are in high mold status. 3. The scanner control method including a plug-and-play printer port as described in item 1 or 2 of the patent scope of the application • where the selection signal (SLC Τ ~ I Ν) is completely offline at the printer In the state • still maintain the phase -1 5 _ (please read the precautions on the back before filling in this page) t -59 TI This paper standard is applicable to Chinese national standards (CMS> A4 specifications (210X 297 mm) A8 B8 C8 D8 Printed by the employee consumer cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs. Those who apply for a patent with the same potential status * 4. The scanner control method including a plug-and-play printer port as described in item 1 of the patent scope of the application, in which In the step of cutting off the connection status of the printer, the identification code of the data terminal is generated by two sets of different data codes alternately and continuously. 5. The plug-and-play is included as described in item 4 of the Shenfan Patent Fan Garden Using the scanner control method of the printer port • The two sets of different data codes can be hexadecimal " E6〃 and 〃E7 #. 6. As described in item 4 or 5 of the patent scope Scanner control method with plug-and-play printer port included The two sets of different data codes can be repeated sixteen times. 7. The scanner control method including the port of the plug-and-play printer as described in item 1 of the patent scope of the application is included in the printer. In the completely offline state, the automatic page jump signal in the control signal of the parallel port can be used temporarily as the scanner's action light user. 8 · As described in item 1 of the patent application park, it includes plug-and-play A scanner control method using a printer port. In the step of establishing a connection with the scanner, a pulse signal is generated for the STB to accompany the identification code of the player connection Recipient 9. The scanner control method with plug-and-play printer port as described in item 1 or 8 of the application for patent application, where the identification code can be hexadecimal 〃 E2〃number 10. As described in item 1 of the patent scope of the application, it includes a plug-and-play printing " 16- pack ------ order ------ line (please read the precautions on the back first (Fill in this page) This paper scale is applicable to the Chinese National Standard (CNS) A < 4 specification (210X 297mm). The quasi-bureau employee consumer cooperative printed I A8 B8 C8 D8 々, the patent application for the scanner control method of the port of the watch machine • where the scanner is to be taken offline • for the accompanying trigger signal (STB) to generate a pulse signal • The recipient of the identification code that took the scanner offline. 11 · The scanner control method with a plug-and-play printer port as described in the patent application _ item 1 or 10 * where the identification code It can be a hexadecimal number # E3 〃 number. 12. As described in the first paragraph of the patent application, the scanner control method including a plug-and-play printer port is included, which is used for identification. The identification of establishing a printer connection can be entered as a discriminator by sequentially inputting two different numbers. "13. As described in item 12 of the patent application scope, it includes a plug-and-play printer port Scanner control method • The identification code can be hexadecimal 〃E8 ~ and 〃E9-. 1 4 · —A scanner control plaque containing a plug-and-play printer port, including: a connector for connecting a computer to a parallel port; a printer connector for connecting to a printer; Printer / player bus switch control unit | mainly connected to the data bus of the two connectors mentioned above • Send a control signal for printer connection and scanner connection separately • Can be generated by receiving the data terminal Different identification codes to make the two control signals assume different states; two sets of printer / scan control bus latches connected between the control bus of the connector • The control input of each latch is separately from the aforementioned control-17 ---------- ^ ------? τ ------ ii (Please read the precautions on the back before filling in this page) This paper uses the Chinese National Standard (CNS) A4 specification (210X2 <? 7mm) A8 B8 C8 D8 printed by the Staff Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs 6. Patent application range signal connection; two sets of printer / scan status connected between the status bus of the connector Bus tristate buffer, control of each group of tristate buffer The input terminals are respectively connected to the aforementioned control signals; accordingly, a control plaque can be formed which can be switched between the scanner and the printer according to the identification code of the data terminal. 15. The scanner control device with a plug-and-play printer port as described in item 14 of the application patent patent circle. Among them, the child printer / scanner bus switching control unit is connected through the parallel port of the computer. The transmitter sends a selection signal (SLCT-IN) and a trigger signal (STROBE). 16. The scanner control device with a plug-and-play printer port as described in item 14 of the patent scope of the patent application • The data buffer is further installed between the two connectors. 17. The scanner control device with a plug-and-play printer port as described in item 14 or 16 of the Shenfan Patent Fan Garden • The data buffer between the two connectors is equipped with a plaque in each Control bus and status bus. 18 The scanner control device with a plug-and-play printer port as described in item 14 of the patent application park, in which the trigger signal (STROBE) of the control bus of the gage connector is further connected in series with a vibration cancellation circuit . 19. As described in item 14 of the patent scope, it includes plug-and-play -18- This paper size is applicable to the Chinese national standard (CNS > A4 specification (210X297mm) binding line (please read the note on the back Please fill in this page for details) A8 B8 C8 D8 々 、 Patent-applied scanner control device of printer port, in which the two switching units are internally connected with multiple input terminals that can be connected to the high speed bus bar, The D-type flip-flop is the main component. It is the one that forms the decoding circuit. 20. The scanner control device with a plug-and-play printer port as described in item 14 of the patent application model, in which the two switching units Internally, it also includes a connection and disconnection loop * to decode the image when the printer or scanner wants to connect or disconnect. 2 1 · As described in item 20 of the patent application scope Scanner control device with plug-and-play printer port • The printer bus switching unit also contains a multi-bit shift register and a multi-input sum gate • Can be repeated The input identification shifts the temporary storage and the comparator sequentially. II ^ IIIII Pack — IIIII Order II 1 III line (please read the precautions on the back before filling this page) Printed by Employee Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs -19- This paper scale is applicable to China National Standard (CNS) Α4 specifications ( 210 X 297 mm)
TW85109865A 1996-08-14 1996-08-14 Scanner control method and apparatus TW303431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW85109865A TW303431B (en) 1996-08-14 1996-08-14 Scanner control method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW85109865A TW303431B (en) 1996-08-14 1996-08-14 Scanner control method and apparatus

Publications (1)

Publication Number Publication Date
TW303431B true TW303431B (en) 1997-04-21

Family

ID=51565836

Family Applications (1)

Application Number Title Priority Date Filing Date
TW85109865A TW303431B (en) 1996-08-14 1996-08-14 Scanner control method and apparatus

Country Status (1)

Country Link
TW (1) TW303431B (en)

Similar Documents

Publication Publication Date Title
CA1273689A (en) Modem with improved handshaking capability
JP6579070B2 (en) Image forming apparatus
JP2003066779A (en) Image forming apparatus, method for its control and control program
CN100420261C (en) Copying apparatus
TW303431B (en) Scanner control method and apparatus
CA2413344C (en) Image forming device
US5732199A (en) Control method and device of scanner with built-in plug-and-play printer port
JPH0828785B2 (en) Recording device
JP3715803B2 (en) Serial communication device
JPH0713891A (en) Image processor
JP3024135B2 (en) Data communication method
JPS59189768A (en) Picture processing system
JPS6016757A (en) Document transmission system
JP2594668B2 (en) Corrective sync pulse selection circuit
KR960004155B1 (en) Facsimile system
JPH02209272A (en) Buffer device
JP2538271B2 (en) Facsimile system
JPS60123154A (en) Communication terminal device
JP3162805B2 (en) Image forming device
JP2740701B2 (en) Data line termination equipment
JPH0472859A (en) Facsimile equipment
JPH09116680A (en) Facsimile equipment and receiving device
JPS59208974A (en) Control circuit of public utility type communication device
JPS60114080A (en) Picture processing system
JP2000270167A (en) Method and system for image formation