CN1107592A - Method and apparatus using one computer to emulate print-out from another one - Google Patents

Method and apparatus using one computer to emulate print-out from another one Download PDF

Info

Publication number
CN1107592A
CN1107592A CN 94104540 CN94104540A CN1107592A CN 1107592 A CN1107592 A CN 1107592A CN 94104540 CN94104540 CN 94104540 CN 94104540 A CN94104540 A CN 94104540A CN 1107592 A CN1107592 A CN 1107592A
Authority
CN
China
Prior art keywords
parallel communication
computer
communication mouth
printer
data buffer
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN 94104540
Other languages
Chinese (zh)
Inventor
张利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN 94104540 priority Critical patent/CN1107592A/en
Publication of CN1107592A publication Critical patent/CN1107592A/en
Pending legal-status Critical Current

Links

Images

Abstract

A signal switching device is connected to parallel communication port of a computer and print control code tables for different printers are created in the computer. With correspondent software, the computer can simulate the printing-out of another computer. Said switching device is composed of printer share unit and simulating unit.

Description

Method and apparatus using one computer to emulate print-out from another one
The present invention relates to the method and the device of another computer printout output of a Computer Simulation, belong to computer application field.
In the use of computing machine, as software that need not be special, generally can not on display screen, show its printout result, whether the form of checking the printout result is suitable, repeatedly printout is adjusted, and both loses time like this, also consume printed material, take the printer working time more.While is incompatible as computing machine and printer, then causes the difficulty of printout again.
The purpose of this invention is to provide a kind of method and device that can make another computer printout output of a Computer Simulation.
The content of the inventive method is: be connected in a signal shifter on the parallel communication mouth of a computing machine, and set up different model printer prints control code table (seeing Table 1) be equipped with corresponding software again and realize another computer printout output of Computer Simulation result in computing machine.Its specific practice is the printout as a result time that is used for simulation computer A as computing machine B, data strobe signal on the computer A parallel communication mouth in the printout control line removes a trigger in the trigger pip switch as trigger pip, this trigger sends a request msg received signal by the automatic line feed signal alignment computing machine B in the printout control line on the computing machine B parallel communication mouth after triggering, this trigger simultaneously also on computer A parallel communication mouth the busy signal line in the printer modes detection line send a busy signal, after computing machine B detects request msg received signal from trigger by the automatic line feed signal line in the printout control line on the parallel communication mouth, Data Receiving on the print output data line on the computer A parallel communication mouth is come in, the trigger that computing machine B just mentions by the data strobe signal in the printout control line on its parallel communication mouth or printer selected signal or initializing signal after with this Data Receiving upward sends a quenching pulse, this quenching pulse is also issued the acknowledge lines in the printer modes detection line on the computer A parallel communication mouth as an answer signal simultaneously, because trigger is cleared and computer A obtains not busy signal of a printer by the busy signal line in the printer modes detection line on the parallel communication mouth again, computer A just can transmit next data.Computing machine B judges to the data that received whether it is to print control code, if printing control code, computing machine B then finds the function of this printing control code representative according to the different model printer control code table of the desired printer model of computer A in building on computing machine B, B can handle accordingly to the later data that receive according to this functional machine; If received data is a print data, computing machine B then receives the meaning of printing control code according to the front and carry out the emulation demonstration by the principle of the corresponding print point of a picture element on the display screen of computing machine B.If user's desire prints output by the printer of user's printer emulation model that computer A requires, method has two, the first resembles the emulation display result of front as a dot chart, export according to the dot lattice printing control code reprogramming control user printer prints of user's printer by the method for a some print point of corresponding printer in this image again; Its two, the printing control code in the computing machine B received data is replaced; Find the function number of this printing control code at different model printer control code table according to the model of this printing control code and printer that computer A requires, find user's printer according to this function and user's printer model again and print control code accordingly, print printing control code in control code substituting for computer B received data with this then, the data that received of computing machine B just can directly be delivered to user's printer prints and exported like this.
Said process is realized that by software its flow chart is seen Fig. 2.
Illustrate that accompanying drawing is as follows:
Fig. 1 is a signal shifter electrical schematic diagram of the present invention.
Fig. 2 is a computer A simulation computer B printout object routine block diagram.
Accompanying drawings embodiment is as follows:
Another method of calculating printout of Computer Simulation of the present invention is to be connected on the parallel communication mouth of a computing machine with a signal shifter, and in computing machine, set up different model printer prints control code table, be equipped with corresponding software again and realize another computer printout output of Computer Simulation result.Said switch (see figure 1) is made up of printer shared portion (I) and Computer Simulation printer output part (II) two parts.Printer shared portion (I) is by data buffer A1, A2, A4, B1, B2, B4 monostable oscillator A, B, and logic sum gate C, D form.Computer Simulation printer output part (II) is by data buffer A3, B3, trigger E, F, and data latches G, H form.Wherein the annexation between each element is:
The input end of data buffer A1 is connected on the print output data line e of computer A parallel communication mouth, and output terminal is connected on the printing input data line of printer.The input end of data buffer A2 is connected on the printout control line a of computer A parallel communication mouth, and output terminal is connected on the printing input control line of printer.The input end of data buffer A4 is connected on the printer modes line of printer, output terminal is connected on the printer modes detection line c of computer A parallel communication mouth, the input end of data buffer B1 is connected on the print output data line f of computing machine B parallel communication mouth, and output terminal is connected on the printing input data line of printer.The input end of data buffer B2 is connected on the printout control line b of computing machine B parallel communication mouth, and output terminal is connected on the printing input control line of printer.The input end of data buffer B4 is connected on the printer modes line of printer, and output terminal is connected on the printer modes detection line d of computing machine B parallel communication mouth.The input end of data latches G is connected on the print output data line e of computer A parallel communication mouth, output terminal is connected on the print output data line f of computing machine B parallel communication mouth, and it selects to allow end and latch signal input end to be connected on the printout control line a of computer A parallel communication mouth.The input end of data latches H is connected on the print output data line f of computing machine B parallel communication mouth, output terminal is connected on the print output data line e of computer A parallel communication mouth, and it selects to allow end and latch signal input end to be connected on the printout control line b of computing machine B parallel communication mouth.The trigger end of trigger E is connected on the printout control line a of computer A parallel communication mouth, its output terminal is connected to respectively on the printout control line b of the input end of data buffer A3 and computing machine B parallel communication mouth, and its clear terminal is connected on the printout control line b of computing machine B parallel communication mouth.The trigger end of trigger E is connected on the printout control line a of computer A parallel communication mouth, its output terminal is connected to respectively on the printout control line a of the input end of data buffer B3 and computer A parallel communication mouth, and its clear terminal is connected on the printout control line a of computer A parallel communication mouth.The output terminal of data buffer A3 is connected on the printer modes detection line c of computer A parallel communication mouth.The output terminal of data buffer B3 is connected on the printer modes detection line d of computing machine B parallel communication mouth.The input end of monostable oscillator A is connected on the printout control line a of computer A parallel communication mouth, and output terminal is linked on the input end of logic sum gate C.The input end of monostable oscillator B is connected on the printout control line b of computing machine B parallel communication mouth, and output terminal is linked on the input end of logic sum gate D.Another input end of logic sum gate C is received on the K switch, and output terminal is connected to data buffer A1 respectively, data buffer A2, and the selection of data buffer A4 allows on the end.Another input end of logic sum gate D is received on the K switch, and output terminal is connected to data buffer B1 respectively, data buffer B2, and the selection of data buffer B4 allows on the end.The selection that K switch also is connected to data buffer A3 and data buffer B3 respectively allows on the end.
The principle of work and the process of this switch are as follows: if computing machine B is used for the printout result of simulation computer A, K switch is got on 1 the position, data buffer A1, data buffer A2, data buffer A4, data buffer B1, data buffer B2 and the data buffer B4 work that is under an embargo this moment, computing machine B is also by the work of the printout control line b forbidden data latch H on its parallel communication mouth.When computer A is passed through the print output data line e transmission print data of its parallel communication mouth, the gating signal that its print output data is printed among the output control line a is latched on the data latches G, printout control line a also triggers trigger E and sends a data sending request signal by the automatic line feed signal alignment computing machine B among the computing machine B parallel communication mouth printout control line b, return the busy signal of a printer for printer modes detection line c by data buffer A3 simultaneously, computer A then is in waiting status after detecting the busy signal of printer by printer modes detection line c, after computing machine B detects the data sending request signal that computer A sends, then correspondingly the Data Receiving on the data latches G is come in and handle by its print output data line f.Just by its printout control line b trigger E being carried out zero clearing after computing machine B handles received data resets, like this by data buffer A3 printer modes detection line c signal and the printer acknowledge signal that a printer is not in a hurry of getting back, computer A detects this signal by its printer modes detection line c and changes the back and just can carry out the transmission of next print output data.So repeat up to all Data Transfer Dones.The effect of computer A and computing machine B can reverse in said process, data latches G and data latches H, and trigger E and trigger F, the effect of data buffer A3 and data buffer B3 is also put upside down thereupon.When computer A or computing machine B desire were drawn the direct printout of seal machine by beating, K switch was got on 0 the position, data buffer A3 and the data buffer B3 work that is under an embargo.Suppose that the computer A desire exports by printer prints, monostable oscillator A will be the long low level signal of certain hour from the pulse signal broadening on the computer A parallel communication mouth printout control line a, make data buffer A1, data buffer A2 and data buffer A4 be allowed to work, computer A just can be passed through the direct printout of printer like this.Equally, if computing machine B desire is exported by printer prints, data buffer B1 and data buffer B2 and data buffer B4 are also correspondingly allowed work.
Computing machine B has four kinds of modes to the processing of received data: 1. the printing type by the computer A specific printer carries out the emulation demonstration on computer screen.2. the printer control code in the data is replaced as user's printer and prints control code accordingly, so that the printer of other model of user's printer emulation prints output.3. the emulation result displayed is deposited in the computer disk in the mode of disk file, so that utilized by other software.4. directly received data is deposited in the computer disk with document form, can realize the purpose of file transfer.
Figure 941045404_IMG2

Claims (2)

1, the method for another computer printout output of Computer Simulation, it is characterized in that being connected on the parallel communication mouth of a computing machine with a signal shifter, and in computing machine, set up different model printer prints control code table, be equipped with corresponding software again and realize another computer printout output of Computer Simulation result.
2, a kind of method equipment therefor according to another computer printout output of the said Computer Simulation of claim 1, it is characterized in that said switch is made up of printer shared portion and Computer Simulation printer output part two parts, said printer shared portion is by data buffer A1, A2, A4, B1, B2, B4, monostable oscillator A, B, logic sum gate C, D forms, said Computer Simulation printer output part is by data buffer A3, B3, trigger E, F, data latches G, H forms, annexation between its each element is that the input end of data buffer A1 is connected on the print output data line e of computer A parallel communication mouth, and output terminal is connected on the printing input data line of printer.The input end of data buffer A2 is connected on the printout control line a of computer A parallel communication mouth, and output terminal is connected on the printing input control line of printer.The input end of data buffer A4 is connected on the printer modes line of printer, and output terminal is connected on the printer modes detection line e of computer A parallel communication mouth.The input end of data buffer B1 is connected on the print output data line f of computing machine B parallel communication mouth, and output terminal is connected on the printing input data line of printer.The input end of data buffer B2 is connected on the printout control line b of computing machine B parallel communication mouth, and output terminal is connected on the printing input control line of printer.The input end of data buffer B4 is connected on the printer modes line of printer, and output terminal is connected on the printer modes detection line d of computing machine B parallel communication mouth.The input end of data latches G is connected on the print output data line e of computer A parallel communication mouth, output terminal is connected on the print output data line f of computing machine B parallel communication mouth, and it selects to allow end and latch signal input end to be connected on the printout control line a of computer A parallel communication mouth.The input end of data latches H is connected on the print output data line f of computing machine B parallel communication mouth, output terminal is connected on the print output data line e of computer A parallel communication mouth, and it selects to allow end and latch signal input end to be connected on the printout control line b of computing machine B parallel communication mouth.The trigger end of trigger E is connected on the printout control line a of computer A parallel communication mouth, its output terminal is connected to respectively on the printout control line b of the input end of data buffer A3 and computing machine B parallel communication mouth, and its clear terminal is connected on the printout control line b of computing machine B parallel communication mouth.The trigger end of trigger F is connected on the printout control line b of computing machine B parallel communication mouth, its output terminal is connected to respectively on the printout control line a of the input end of data buffer B3 and computer A parallel communication mouth, and its clear terminal is connected on the printout control line a of computer A parallel communication mouth.The output terminal of data buffer A3 is connected on the printer modes detection line e of computer A parallel communication mouth.The output terminal of data buffer B3 is connected on the printer modes detection line d of computing machine B parallel communication mouth.The input end of monostable oscillator A is connected on the printout control line a of computer A parallel communication mouth, and output terminal is linked on the input end of logic sum gate C.The input end of monostable oscillator B is connected on the printout control line b of computing machine B parallel communication mouth, and output terminal is linked on the input end of logic sum gate D.Another input end of logic sum gate C is received on the K switch, and output terminal is connected to data buffer A1 respectively, data buffer A2, and the selection of data buffer A4 allows on the end.Another input end of logic sum gate D is received on the K switch, and output terminal is connected to data buffer B1 respectively, data buffer B2, and the selection of data buffer B4 allows on the end.The selection that K switch also is connected to data buffer A3 and data buffer B3 respectively allows on the end.
CN 94104540 1994-04-29 1994-04-29 Method and apparatus using one computer to emulate print-out from another one Pending CN1107592A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 94104540 CN1107592A (en) 1994-04-29 1994-04-29 Method and apparatus using one computer to emulate print-out from another one

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 94104540 CN1107592A (en) 1994-04-29 1994-04-29 Method and apparatus using one computer to emulate print-out from another one

Publications (1)

Publication Number Publication Date
CN1107592A true CN1107592A (en) 1995-08-30

Family

ID=5031658

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 94104540 Pending CN1107592A (en) 1994-04-29 1994-04-29 Method and apparatus using one computer to emulate print-out from another one

Country Status (1)

Country Link
CN (1) CN1107592A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100468217C (en) * 2005-12-27 2009-03-11 佳能株式会社 Image forming system, method of realizing simulated printing operation, program, and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100468217C (en) * 2005-12-27 2009-03-11 佳能株式会社 Image forming system, method of realizing simulated printing operation, program, and storage medium

Similar Documents

Publication Publication Date Title
US6396518B1 (en) Appliance and method of using same having a send capability for stored data
EP0524199B1 (en) Telecommunication interface apparatus and method
EP0752801A3 (en) Method and apparatus for controlling data flow through an ATM interface
DE69824389D1 (en) Method and device for transmitting print data
CN1107592A (en) Method and apparatus using one computer to emulate print-out from another one
CN103631558B (en) The interactive method for showing of tool written contents and all-in-one
CN111078161A (en) Printer simulation method and device, electronic equipment and storage medium
JPS5840661A (en) Multiprocessing system of terminal device
CN2371600Y (en) Printing scanning controller
CN109032539A (en) Human-computer interaction intelligent number Method of printing, system and device
JPH02139624A (en) Apparatus for using printer to print selection part at personal information terminal
JP2727180B2 (en) Control device for recording device
KR100260905B1 (en) Method for duplex printing of printer
JP3046788U (en) Digital camera printer interface device
CN107786522A (en) A kind of analog machine trains ready message system
CN2140083Y (en) Interface adapting card for parallel printer
JPH0498517A (en) Printer
KR0181143B1 (en) Message transceiving method
JP3004792U (en) Multi-port signal input / output function device
JPH04243370A (en) Facsimile aid system
JPH01190075A (en) Picture receiving device
JPH0720969A (en) On-line data input and output switching device utilizing personal computer
JPH05193233A (en) Printer control system
JPH0675909A (en) Image data reference system
JPH04342021A (en) Terminal melody output system

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C01 Deemed withdrawal of patent application (patent law 1993)
WD01 Invention patent application deemed withdrawn after publication