CN104461408A - Small margin or margin-free printing method - Google Patents

Small margin or margin-free printing method Download PDF

Info

Publication number
CN104461408A
CN104461408A CN201310442431.9A CN201310442431A CN104461408A CN 104461408 A CN104461408 A CN 104461408A CN 201310442431 A CN201310442431 A CN 201310442431A CN 104461408 A CN104461408 A CN 104461408A
Authority
CN
China
Prior art keywords
paper
printer
printing
data
actual
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
CN201310442431.9A
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.)
TIANJIN SHUSHENG INVESTMENT CO Ltd
Tianjin Sursen Investment Co Ltd
Original Assignee
TIANJIN SHUSHENG INVESTMENT 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 TIANJIN SHUSHENG INVESTMENT CO Ltd filed Critical TIANJIN SHUSHENG INVESTMENT CO Ltd
Priority to CN201310442431.9A priority Critical patent/CN104461408A/en
Publication of CN104461408A publication Critical patent/CN104461408A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1218Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources
    • G06F3/1219Reducing or saving of used resources, e.g. avoiding waste of consumables or improving usage of hardware resources with regard to consumables, e.g. ink, toner, paper
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1255Settings incompatibility, e.g. constraints, user requirements vs. device capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

The invention relates to a margin-free printing method. The method includes the steps that a printing publishing program sends an instruction to a printer, and the paper printing type of the printer is turned to be 'a self-defined type'; a user inputs the tolerable error width, the unprintable margin and the dimension of practical paper; a printing publishing module judges whether the tolerable error width is larger than the unprintable margin or not first, if not, printing is stopped, and wrong information is returned; if yes, self-defined paper breadth data are calculated according to three sets of data, and the data comprise the length and the width; after the printing publishing module sets the dimension of the self-defined paper of the printer, the printing publishing program sends a practical printing data instruction to the printer. By the adoption of the method, a common printer can achieve margin-free printing easily, practicability is achieved, and the cost is saved.

Description

A kind of little back gauge or non-edge distance Method of printing
Technical field
The present invention relates to a kind of method of printer print paper, particularly relate to a kind of method utilizing existing printer to carry out little back gauge or non-edge distance printing.
Background technology
In ecommerce/E-Government field, be very important application by E-seal simulation traditional seal.In traditional seal, there is a kind of mode of affixing one's seal of very characteristic seal on the perforation (perforated rider bill).Seal on the perforation covers a seal on the multipage of document, and every page of document has all covered a part for seal pattern.All these part patterns, are stitched together, and just can be combined into a complete seal pattern.Can prevent others from maliciously replacing one page in multiple page documents or several pages like this, reach the mode of affixing one's seal of the integrality ensureing document.Contract to affix one's seal etc. document integrality had to a requirement affix one's seal in application, seal on the perforation is that very important one is affixed one's seal mode.
After adopting E-seal, affixing one's seal of paper document becomes such mode: on computers, automatically add a cover picture by program, and uses corresponding cryptographic algorithm to protect the safety of document.If but want level and smooth combining with existing application flow, the file after the electronic-seal of output paper is also necessary.Common mode is exactly that electronic-seal program can provide a function printed that the document of adding a cover E-seal is outputted to printing device or printing equipment.
For general seal, the position of adding a cover can be generally inner at the type page of document, like this for printing without any problem, but seal on the perforation is different, because seal on the perforation adds a cover the edge on the multi-page document that stacks of staggering simultaneously, as shown in Figure 1, and printer can only print page by page, can not once by seal image printing on multi-page document, when therefore printing, seal picture can be cut into multiple picture by software automatically, is printed on respectively on every page of document.So just require that image data can be printed to paper edge by printer.The laser printer that current market is popular, if do not customized on hardware, generally has the concept of a unprintable back gauge, in any case print in other words, edge, paper four limit all can have what content of the position of several millimeters also to print to get on.
Current a lot of producer that has achieves seal on the perforation in the product, main realization can be divided into several as follows: 1) just adopt normal printer, do not consider to print back gauge problem, but its result cannot simulate traditional seal on the perforation custom completely, be difficult to checking, because seal on the perforation needs to be stitched together realization; 2) printed rear reduction and fallen blank printing back gauge, but exported for a large amount of documents of affixing one's seal, workload is too large, making electronic processes also more loaded down with trivial details than affixing one's seal by hand, not reaching informationalized object; 3) adopt ink-jet printer, can solve and print back gauge problem, but the print quality of ink-jet printer and speed can not reach requirement all far away, Print Contract and official document print all to rarely have and adopt ink-jet technology, and bulk print adopts ink-jet apparatus speed too slow; 4) adopt dedicated printer, solve and print back gauge problem, need customization and buying specialized equipment, fund and equipment investment are comparatively large, and upgrading difficulty is also large later, can choice little.
From above-mentioned four kinds of situations, if existing laser printer can be utilized to carry out non-edge distance printing, then can strengthen the function of existing laser printer, expensive office equipment cost can also be saved.
Summary of the invention
Object of the present invention is just to provide a kind of impact system, utilizes printer apparatus control language, adopts the mode of deception printer to reach the object printing to paper edge, makes existing normal printer just can realize little back gauge or non-edge distance printing.
First here explaining, below the tolerable error of said printer, is one group of printer acceptable, the data describing antiquarian variation range.Although all general printer papers, as A4, B5 etc., its book size all follows unified standard, and the size of concrete actual every a piece of paper all has gap, or bigger or be slightly less than standard size.So, when printer is when the paper for each breadth prints, just need to tolerate that paper physical size can change this situation within the specific limits.As long as that is the change in size of actual paper is within the scope of this, so printer can be tolerated thus normal print.Thus this group represents that the data of printer paper full-size variation range are just called the tolerable error of printer.
The present invention utilizes following technical scheme to realize object of the present invention:
The invention provides a kind of method expanding normal printer actual print range on paper, it is characterized in that,
Printer is printed according to the breadth being greater than actual paper size.
Describedly make printer carry out printing according to the breadth being greater than actual paper size to comprise the steps:
1) print and send a manuscript to the compositor module and send instruction to printer, the print paper type of printer is become " customization type ";
2) data of the size of unprintable back gauge and actual paper are inputted;
3) print and send a manuscript to the compositor the size of module according to described unprintable back gauge and actual paper, calculate self-defining paper breadth data;
4) printing sends a manuscript to the compositor module according to the size of Custom Paper to the instruction of printer transmission print data.
The top margin of self-defining paper web face length degree=actual paper length+unprintable back gauge and bottom margin; The left side distance of self-defining paper web face width degree=actual paper width+unprintable back gauge and rightmargin.
In step 2) in the data of input also comprise tolerable tolerance widths, before the self-defining paper breadth data of calculating, print and send a manuscript to the compositor module and judge whether tolerable tolerance widths is greater than unprintable back gauge; If perform described step 3); If not, stop to print.
The described data of input can be stored.
Next time, when printing, does not need to re-enter described data, prints and sends a manuscript to the compositor the data that module directly calls described input from described storer.
If tolerable tolerance widths is not more than unprintable back gauge, stops to print, and return error message.
The content that such scheme of the present invention makes printer can print user within the scope of unprintable back gauge originally to want.This prints ratio juris is exactly that printer is printed according to a breadth slightly larger than actual paper size.This print size is still made up of type page area and unprintable back gauge area at printer, only the size of the type page of breadth and the measure-alike of actual printer paper or there is predetermined difference according to actual needs.Print according to such method, the content that user specifies just can print within the scope of the unprintable back gauge of actual paper.
Utilize said method of the present invention, normal printer can be realized easily and carry out non-edge distance printing, not only practicality but also cost-saving.
By below in conjunction with accompanying drawing description of the preferred embodiment of the present invention, other features of the present invention, object and effect will become clearly and easy to understand.
Accompanying drawing explanation
Below with reference to the accompanying drawings the preferred embodiment of the present invention is described, wherein:
The figure of the seal on the perforation that Fig. 1 printer prints;
Fig. 2 is tolerable tolerance widths, unprintable back gauge, the size of actual paper and the distribution plan of Custom Paper size on paper plane;
Fig. 3 is printing process flow diagram of the present invention;
Fig. 4 is the layout structure figure of the Custom Paper after calculating according to computing method of the present invention;
In all above-mentioned accompanying drawings, identical label represents to have identical, similar or corresponding feature or function.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described further.
Printer, when output data, all first can export control command.When output page data, first printer can be told, current paper type, the information such as the page size that export.
In example lifted below (being also like this in practical operation), realized dump to unprintable back gauge by the acting in conjunction of two parts entity.In these two parts, a part be control printer, the printing that sends operational order sends a manuscript to the compositor module, this module is loaded a dozen and is printed and distributed scheduling sequence, and another part is printer.Printing that to send a manuscript to the compositor program be people is one section of program of writing, it utilizes printer apparatus control language (a kind of command set being similar to assembly language) to send order directly to printer, printer carries out action according to the instruction of sending, and does not need the control through installing print driver under an operating system just directly can complete print job.
The printer of different vendor may use different printer apparatus control languages, such as PCL6, PCL5C, PCL5, PCL3GUI etc., but the function that distinct device control language realizes is similar.Unique distinguishing place is, it is in form different that different equipment control languages can make printing send a manuscript to the compositor when program is implemented as code.
Different printer manufacturer not only uses different printer apparatus control languages, and the tolerable tolerance widths of dissimilar printer and these two parameters of unprintable back gauge are also different.But the printer of same type, its tolerable tolerance widths and these two parameters of unprintable back gauge are certain, can obtain from hardware vendor.
Therefore, here we suppose that our printing is sent a manuscript to the compositor program and worked out for the printer apparatus of a certain particular type, so just can think that we have obtained three parameters, can the size of tolerable error width, unprintable back gauge and actual paper, their relative positions are in the plane see Fig. 2.Because actual print paper is all standard, as A3, A4, B4, B5 etc., so the size of actual paper is also openly available.
These three parameters just obtain before program is sent a manuscript to the compositor in establishment printing, and being defined as tolerable tolerance widths here is respectively that NxM(N represents longitudinal error, and M represents lateral error), if N=8mm, M=6mm; Unprintable back gauge is (l1, r1, u1, b1) (left and right margins, upper bottom margin), and l1, r1, u1, d1 are respectively 2mm, 2mm, 3mm, 3mm; Printer paper is the standard print paper of A4 breadth, if its breadth data are 297x210mm, wherein 297 is long (paper is high), and 210 is wide.
See Fig. 3, describe flow process of the present invention in detail, specific as follows:
1) print and send a manuscript to the compositor program and send instruction to printer, the print paper type of printer is become " customization type ", printer now will no longer print according to the size of the printer paper of standard, but etc. printing to be read send a manuscript to the compositor the size of the printer paper that program is sent;
2) user inputs the size of tolerable tolerance widths, unprintable back gauge and actual paper;
3) print and send a manuscript to the compositor program (module is sent a manuscript to the compositor in printing) and first judge whether tolerable tolerance widths is greater than unprintable back gauge, if not, stop to print, return error message, this is because the difference of self-defining paper width and actual print paper width will in tolerable error range; If so, then according to described three groups of data, calculate self-defining paper breadth data, comprise long and wide.
In order to ensure that unprintable back gauge does not appear in actual paper width range, the difference of the width of Custom Paper and the width of actual paper, just in time equals the numerical value of unprintable back gauge, and Fig. 4 is the layout structure figure after calculating according to above-mentioned computing method.I.e. length+the u1+d1 of the length=actual paper of Custom Paper, namely adds the upper bottom margin (u1, d1) of unprintable back gauge; Width+the l1+r1 of the width=actual paper of Custom Paper, namely adds the left and right margins (l1, r1) of unprintable back gauge; So program is sent a manuscript to the compositor in printing, and the width of Custom Paper is set to 303x214mm.
4), after the size of the Custom Paper of printer being set, print and send a manuscript to the compositor program sends print data instruction from reality to printer.
The marginal position of actual printer paper will be set to by the position at the writings and image edge of outermost (up and down four direction) printed in print command.So just, achieve and print What is printed to unprintable back gauge.In above-mentioned three parameters, tolerable tolerance widths is optional.It is that non-edge distance prints that the layout parameter that utilization calculates above carries out printing the result obtained, if back gauge will be reduced, then length+the u1 '+d1 ' of the length=actual paper of Custom Paper; Custom Paper width=actual paper width+l1 '+r1 '; Wherein, u1>u1 ', d1>d1 '; L1>l1 ', r1>r1 '; As required, the value of parameters can be changed flexibly.
Three parameters in above-described embodiment are that user inputs, and also can realize for specific printer, by a program prepared in advance for these parameters; By after parameters input one time, memory function can also be adopted, described three parameters are stored in storer, do not need again to input, and directly can call three parameters above, after calculating, send print command.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. expand a method for normal printer actual print range on paper, it is characterized in that,
Printer is printed according to the breadth being greater than actual paper size.
2. a kind of method expanding normal printer actual print range on paper according to claim 1, is characterized in that, described in make printer carry out printing according to the breadth being greater than actual paper size to comprise the steps:
1) print and send a manuscript to the compositor module and send instruction to printer, the print paper type of printer is become " customization type ";
2) data of the size of unprintable back gauge and actual paper are inputted;
3) print and send a manuscript to the compositor the size of module according to described unprintable back gauge and actual paper, calculate self-defining paper breadth data;
4) printing sends a manuscript to the compositor module according to the size of Custom Paper to the instruction of printer transmission print data.
3. a kind of method expanding normal printer actual print range on paper according to claim 2, is characterized in that, the top margin of self-defining paper web face length degree=actual paper length+unprintable back gauge and bottom margin; The left side distance of self-defining paper web face width degree=actual paper width+unprintable back gauge and rightmargin.
4. a kind of method expanding normal printer actual print range on paper according to Claims 2 or 3, it is characterized in that, in step 2) in input data also comprise tolerable tolerance widths, before the self-defining paper breadth data of calculating, printing is sent a manuscript to the compositor module and is judged whether tolerable tolerance widths is greater than unprintable back gauge; If perform described step 3); If not, stop to print.
5. a kind of method expanding normal printer actual print range on paper according to Claims 2 or 3, is characterized in that, the described data of input is stored.
6. a kind of method expanding normal printer actual print range on paper according to claim 4, is characterized in that, the described data of input is stored.
7. a kind of method expanding normal printer actual print range on paper according to claim 5, it is characterized in that, next time, when printing, does not need to re-enter described data, prints and sends a manuscript to the compositor the data that module directly calls described input from described storer.
8. a kind of method expanding normal printer actual print range on paper according to claim 6, it is characterized in that, next time, when printing, does not need to re-enter described data, prints and sends a manuscript to the compositor the data that module directly calls described input from described storer.
9. a kind of method expanding normal printer actual print range on paper according to claim 4, is characterized in that, if tolerable tolerance widths is not more than unprintable back gauge, stops to print, and returns error message.
10. a kind of method expanding normal printer actual print range on paper according to claim 6, is characterized in that, if tolerable tolerance widths is not more than unprintable back gauge, stops to print, and returns error message.
CN201310442431.9A 2013-09-25 2013-09-25 Small margin or margin-free printing method Pending CN104461408A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310442431.9A CN104461408A (en) 2013-09-25 2013-09-25 Small margin or margin-free printing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310442431.9A CN104461408A (en) 2013-09-25 2013-09-25 Small margin or margin-free printing method

Publications (1)

Publication Number Publication Date
CN104461408A true CN104461408A (en) 2015-03-25

Family

ID=52907537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310442431.9A Pending CN104461408A (en) 2013-09-25 2013-09-25 Small margin or margin-free printing method

Country Status (1)

Country Link
CN (1) CN104461408A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257199A (en) * 2018-01-19 2018-07-06 中铁七局集团第三工程有限公司 A kind of method and system that seal on the perforation is capped for electronic document
CN113627125A (en) * 2021-07-30 2021-11-09 杭州承章科技有限公司 Document edge-distance-free perforation seal stamping method and system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108257199A (en) * 2018-01-19 2018-07-06 中铁七局集团第三工程有限公司 A kind of method and system that seal on the perforation is capped for electronic document
CN113627125A (en) * 2021-07-30 2021-11-09 杭州承章科技有限公司 Document edge-distance-free perforation seal stamping method and system

Similar Documents

Publication Publication Date Title
CN100478868C (en) Information processing apparatus and control method thereof
CN100478867C (en) Information processing apparatus and control method thereof
CN100480894C (en) Printing method with small margin or no margin
EP0895183A3 (en) Print control apparatus and method for page layout preparation
US8553241B2 (en) Information processing apparatus, information processing method, and storage medium for generating print data according to an instruction
US20140111829A1 (en) Printing system, printing method and computer-readable recording medium
CN103885731A (en) Data printing method and device
JP4562740B2 (en) On-demand printing of coding patterns
CN105278890A (en) Information processing apparatus and control method
CN102799398B (en) Table body device for zooming and table body Zoom method
CN104461408A (en) Small margin or margin-free printing method
CN102047215A (en) N-up sheetlet based imaging with flexible formatting of logical pages
US7349120B2 (en) Method for multiple-page scaling and composing printing
US9111198B2 (en) Print control method, print control device, and storage medium
CN101145094A (en) Host apparatus to set N-up function and control method thereof
KR102193821B1 (en) Recording device and data generation method
US20090096793A1 (en) Image processing method, program thereof and image processing apparatus
CN101404006A (en) Method, device, system and equipment for regulating output position of page header or footer
US20080192295A1 (en) Generation of Areas of Position Location Pattern
CN105109206B (en) A kind of printer that can print picture and text in open book basis
CN106598510A (en) Method and device compatible with two print modes
US7869069B2 (en) Printing on pre-printed media
CN111552447A (en) Printing method and system
CN101387948B (en) Form printing method and system
CN106293553A (en) The method of cutting out of drawing and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150325