CN1107596A - Quick imaging method for Chinese character laser printer - Google Patents
Quick imaging method for Chinese character laser printer Download PDFInfo
- Publication number
- CN1107596A CN1107596A CN 94100156 CN94100156A CN1107596A CN 1107596 A CN1107596 A CN 1107596A CN 94100156 CN94100156 CN 94100156 CN 94100156 A CN94100156 A CN 94100156A CN 1107596 A CN1107596 A CN 1107596A
- Authority
- CN
- China
- Prior art keywords
- image
- byte
- fast imaging
- printer
- circuit
- 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
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
- Laser Beam Printer (AREA)
Abstract
The quick imaging method for Chinese-character laser printer features use of hardware for image processing. CPU reads command parameters of print file from parallel port and transmits the image informtion in file to quick imaging circuit, which shifts and developes each byte of image information according to command information. Processed bytes are aligned with output buffer, or calculated and then passed to output buffer. An image accelerating technique is used to make the image processing speed higher than transmission speed of host without change in software.
Description
The present invention relates to the fast imaging of Chinese character laser printer.
At present, most of laser printers are all as word processing.But because Chinese word library is not carried in nearly all laser printer inside, main frame can only change character into dot matrix, sends printer to by image packets.So nearly all Chinese software all adopts the image-driven mode to printer.Printer cpu is limited in one's ability after all, during especially a large amount of image data processing more apparent slowly.Usually laser printer is when printing western language, and speed can reach 8 pages/min, but when printing Chinese character, but can only reach 0.5 page/min.Among the present invention,, utilize hardware to participate in computing, make the performance of Chinese character laser printer that remarkable improvement arranged because of having adopted the fast imaging technology.
In the LJ3A of association Chinese character laser printer, most of softwares are all according to image mode driving laser printer, and the CPU of printer adopts following steps to carry out to the information processing of image usually:
1.CPU read in the command parameter of print file from the parallel port, comprise the position of image size, image resolution ratio and the image page of living in.
2.CPU reading in one by one with the byte from the parallel port is the picture coding of unit, and is shifted accordingly according to the data of acquired picture position information to each byte of reading in, and according to different print resolution the data of each bit is expanded again.
3. content corresponding in the byte after will handling and the output buffering is carried out or (OR) computing, and the gained result is that unit sends into output buffers again with the byte.
More than three steps go round and begin again, up to inserting just output buffers of whole page or leaf.Then, begin to print.
Above-mentioned Flame Image Process is almost all finished by CPU.This not only makes CPU, and over-burden, and software execution speed has limited the entire image print speed.
The fast imaging method that the purpose of this invention is to provide a kind of Chinese character laser printer.The entire image processing process is taken over by the fast imaging technology circuit.Therefore, the burden of CPU significantly alleviates.
Technical scheme of the present invention realizes by following mode:
1.CPU read in the command parameter of print file from the parallel port, comprise the position of image size, image resolution ratio and the image page of living in.
2.CPU start the fast imaging technology circuit, and send above-mentioned information to the fast imaging technology circuit.
3. the image information of each byte that will read in from the parallel port automatically according to the command information that is obtained of fast imaging circuit is carried out displacement and expansion.
4. will carry out or (OR) computing through aliging with the output buffering after the fast imaging technical finesse, the gained result is that unit sends into the output buffering again with the byte.
More than four steps go round and begin again, until inserting just output buffers of whole page or leaf.Then, begin to print.
Below in conjunction with accompanying drawing the present invention is described in detail as follows:
Fig. 1 is the image processing process block scheme of laser printer in the prior art
Fig. 2 is the block scheme of the fast imaging processing procedure of Chinese character laser printer
Fig. 3 is the logic block-diagram of fast imaging technology circuit
Fig. 4 is fast imaging technology circuit figure
Confirming text when printer cpu is when sending with dot matrix way, at first remembers dot matrix resolution, image size and orientation, abandons the control to bus subsequently, carries out follow-up work by the fast imaging technology circuit.
Among Fig. 3, and, the handshake between string conversion portion and the parallel port is used to control the input of parallel port data.When also, during full 8 of the clock meter of string conversion, begin the input of next view data byte.
The output buffering is the unit storage with the byte.View data also is that unit is written into the byte.But the reference position of view data often is not the integral multiple of 8bits in each row, at this moment, need with this data shift with carry out computing again after aliging in relevant position during output cushions.This part by also, string conversion and string, and conversion is common realizes that the clock of change-over circuit is controlled by corresponding counting circuit.After computing is finished, send the DMA interrupt request, by dma controller transformation result is sent into the output buffering.
The startup of change-over circuit is controlled by CPU, stops to control automatically by tale.
Two clocks to change-over circuit are described in detail below:
And, the clock table of string conversion is shown SCLK, string, and the clock table of conversion be shown FCLK.They are that clock by circuit dominant frequency 16MHz carries out frequency division according to printer resolution and obtains.For the printer of 300DPI, FCLK is identical with the frequency of SCLK, and promptly the view data of each bit need not expansion.And for the printer of 150DPI, FCLK is 2: 1 with the ratio of the dominant frequency of SCLK, and promptly the image spreading of 1bit is two bit, becomes 4bit through after duplicating, and resolution reduces half than 300DPI.In like manner, for the 75DPI printer, the frequency ratio of FCLK and SCLK is 4: 1, i.e. the view data of 1bit expansion is 4 bit, becomes 1bits after duplicating, and makes resolution reduce half than 150DPI.
Embodiment: status register 273 shift counters 161, deserializer 164, parallel-to-serial converter 165, request of data device register uses the CPU80C188 internal counter.
The present invention compared with prior art has the following advantages:
1. printer speed is doubled, and when printing with image mode, every page only needs 1 minute.
2. system compatibility is good, and the Chinese character printing drive software need not any modification.
3. when carrying out the image processing, the CPU free time, expansion is convenient in system, carries out parallel processing.
Claims (2)
1, a kind of fast imaging method of Chinese character laser printer, it is characterized in that: CPU reads in the command parameter of print file from the parallel port, the position that comprises image size, image resolution ratio and the image page of living in, and start the fast imaging technology circuit, send above-mentioned information to the fast imaging technology circuit; The fast imaging technology circuit is according to the command information that is obtained, and the image information that will read in each byte automatically from the parallel port is shifted and launches; To align with output buffer through the byte after the fast imaging technical finesse and carry out exclusive disjunction, the gained result is that unit sends into output buffers again with the byte; More than four steps go round and begin again, up to filling up just output buffers of whole page or leaf, then, begin to print; Confirming text when printer cpu is when sending with dot matrix way, at first remembers dot matrix resolution, image size and orientation, abandons the control to bus subsequently, carries out follow-up work by the fast imaging technology circuit.And, the handshake between string conversion portion and the parallel port is used to control the input of parallel port data.When also, during full 8 of the clock meter of string conversion, begin the input of next view data byte; Output buffering is the unit storage with the byte, and view data also is that unit is written into the byte, if the reference position of view data is not the integral multiple of the 8bits in each row, then need with this data shift with carry out computing again after aliging in relevant position during output cushions; This part by also, string conversion and string, and conversion is common realizes that the clock of change-over circuit is controlled by corresponding counting circuit; After computing is finished, send the DMA interrupt request, by dma controller transformation result is sent into output buffers; The startup of change-over circuit is controlled by CPU, stops to control automatically by total counter;
2, the fast imaging method of Chinese character laser printer according to claim 1 is characterized in that: also, the clock table of string conversion is shown SCLK, string, and the clock table of conversion be shown FCLK.They are that clock by circuit dominant frequency 16MHz carries out frequency division according to printer resolution and obtains.For the printer of 300DPI, FCLK is identical with the frequency of SCLK, and promptly the view data of each bit need not expansion.And for the printer of 150DPI, FCLK is 2: 1 with the ratio of the dominant frequency of SCLK, and promptly the image spreading of 1bit is two bits, becomes 4bit after row duplicates, and resolution reduces half than 300DPI, and the rest may be inferred.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 94100156 CN1107596A (en) | 1994-01-17 | 1994-01-17 | Quick imaging method for Chinese character laser printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 94100156 CN1107596A (en) | 1994-01-17 | 1994-01-17 | Quick imaging method for Chinese character laser printer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN1107596A true CN1107596A (en) | 1995-08-30 |
Family
ID=5029482
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 94100156 Pending CN1107596A (en) | 1994-01-17 | 1994-01-17 | Quick imaging method for Chinese character laser printer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1107596A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1329812C (en) * | 1999-04-23 | 2007-08-01 | 西尔弗布鲁克研究有限公司 | High speed pagewidth inkjet printer |
CN104050635A (en) * | 2014-05-30 | 2014-09-17 | 北京理工大学 | System and method for nonlinear filter real-time processing of image with adjustable template size |
CN110515768A (en) * | 2019-08-09 | 2019-11-29 | 苏州浪潮智能科技有限公司 | The background transfer method and device of Backup Data |
CN113805808A (en) * | 2021-09-10 | 2021-12-17 | 珠海趣印科技有限公司 | Print data processing method and electronic equipment |
-
1994
- 1994-01-17 CN CN 94100156 patent/CN1107596A/en active Pending
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1329812C (en) * | 1999-04-23 | 2007-08-01 | 西尔弗布鲁克研究有限公司 | High speed pagewidth inkjet printer |
CN104050635A (en) * | 2014-05-30 | 2014-09-17 | 北京理工大学 | System and method for nonlinear filter real-time processing of image with adjustable template size |
CN104050635B (en) * | 2014-05-30 | 2017-02-15 | 北京理工大学 | System and method for nonlinear filter real-time processing of image with adjustable template size |
CN110515768A (en) * | 2019-08-09 | 2019-11-29 | 苏州浪潮智能科技有限公司 | The background transfer method and device of Backup Data |
CN110515768B (en) * | 2019-08-09 | 2021-10-15 | 苏州浪潮智能科技有限公司 | Background transmission method and device for backup data |
CN113805808A (en) * | 2021-09-10 | 2021-12-17 | 珠海趣印科技有限公司 | Print data processing method and electronic equipment |
CN113805808B (en) * | 2021-09-10 | 2023-06-27 | 珠海趣印科技有限公司 | Print data processing method and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5796930A (en) | System architecture for processing and transporting page-map or bit-map data to a raster print engine | |
US5671445A (en) | Interface for transmitting graphics data to a printer from a host computer system in rasterized form | |
US5113494A (en) | High speed raster image processor particularly suited for use in an image management system | |
US5754750A (en) | Method and apparatus for displaying a page with graphics information on a continuous synchronous raster output device | |
US5533175A (en) | Low cost page printer system and method | |
EP0602667A1 (en) | System and method for peripheral data transfer | |
EP0491029A1 (en) | Raster image processor for all points addressable printer | |
US5461701A (en) | System and method for peripheral data transfer | |
US6618157B2 (en) | Interface card for coupling a computer to an external device | |
EP1225514A2 (en) | bidirectional parallel signal interface | |
JPS61204732A (en) | Host built-in type printer controller | |
CN1107596A (en) | Quick imaging method for Chinese character laser printer | |
EP0346388B1 (en) | High speed raster image processor | |
EP0430500A2 (en) | System and method for atomic access to an input/output device with direct memory access | |
US20020054342A1 (en) | Image processing apparatus and method, and storage medium | |
JP2792472B2 (en) | Electrophotographic printer | |
Thacker et al. | Alto: A personal computer | |
JP2828643B2 (en) | Straight line drawing device | |
KR0137705B1 (en) | Band buffering type image forming apparatus and method therefor | |
JP2000148663A (en) | Dma device and image forming device using the dma device | |
JPH02178826A (en) | Page printer | |
JPH1185455A (en) | Graphic drawing and processing system | |
JPH06161398A (en) | Image pattern transfer system | |
JPH09185882A (en) | First-in first-out memory device with different size of input output data and its method | |
JP2872144B2 (en) | Printing equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C01 | Deemed withdrawal of patent application (patent law 1993) | ||
WD01 | Invention patent application deemed withdrawn after publication |