CN105138295A - File printing method and computer program product - Google Patents

File printing method and computer program product Download PDF

Info

Publication number
CN105138295A
CN105138295A CN201510549078.3A CN201510549078A CN105138295A CN 105138295 A CN105138295 A CN 105138295A CN 201510549078 A CN201510549078 A CN 201510549078A CN 105138295 A CN105138295 A CN 105138295A
Authority
CN
China
Prior art keywords
file
printed
print data
print
page
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.)
Granted
Application number
CN201510549078.3A
Other languages
Chinese (zh)
Other versions
CN105138295B (en
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.)
Founder International Beijing Co Ltd
Original Assignee
Founder International Beijing 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 Founder International Beijing Co Ltd filed Critical Founder International Beijing Co Ltd
Priority to CN201510549078.3A priority Critical patent/CN105138295B/en
Publication of CN105138295A publication Critical patent/CN105138295A/en
Application granted granted Critical
Publication of CN105138295B publication Critical patent/CN105138295B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The invention discloses a file printing method and a computer program product. The method comprises the following steps that firstly, a first file content selected by a user is encoded into first printing data according to first printing parameters; then, the first printing data are written into a file to be printed, wherein the file to be printed comprises a header and at least one page, and the header comprises page number information and initial position information of each page of the file to be printed; then a second file content selected by the user is encoded into second printing data according to second printing parameters; then, the second printing data are written into the file to the printed; at the moment, the file to be printed comprises the first printing data and the second printing data, and then the file to be printed is printed according to the header number information and the initial position information.

Description

File printing method and computer program product
Technical field
The present invention about a kind of file printing method and computer program product, especially in regard to a kind of print merge method and computer program product of multiple file content.
Background technology
In recent years, along with the progress of science and technology, the printing device such as printer, multifunctional paper feeding machine is popularized in a large number in the life of people.From the amusement of family, to the business application of office, all need printing device to meet the demand of file printout.And becoming stronger day by day of printing device function, then consumer is provided more more complicated print parameters options.Moreover making rapid progress of infotech, printable kind of document also gets more and more, even text file, trial balance, image file are bulletin files such as, all has its distinctive print characteristic.
But even if the function of printing device promotes day by day, user still often faces the inconvenience of content configuration when multiple file content prints, and causes printing effect low.Therefore, how when user prints, provide larger elasticity for print What configuration, to promote printing effect, then one of problem that should solve for research staff.
Summary of the invention
The invention reside in and a kind of file printing method and computer program product are provided, so that when user prints, provide larger elasticity for print What configuration.
File printing method disclosed by the present invention, comprises the following steps.First, according to user, set or the first print parameters of systemic presupposition, is encoded to the first print data by the first file content that user selects.Then, by the first print data write file to be printed.File to be printed comprises header and at least one page, and header comprises the quantity information of the page and each page in the start position information of file to be printed.Afterwards, according to user, set or the second print parameters of systemic presupposition, is encoded to the second print data by the second file content that user selects.Then, by the second print data write file to be printed.Now, file to be printed comprises the first print data and the second print data.Then, when user confirms to print, according to quantity information and the start position information printing file to be printed of header.
Computer program product disclosed by the present invention, performs the following step via computer loader.First, according to the first print parameters, the first file content is encoded to the first print data.Then, by the first print data write file to be printed.File to be printed comprises header and at least one page, and header comprises the quantity information of the page and each page in the start position information of file to be printed.Then, according to the second print parameters, the second file content is encoded to the second print data.Then, by the second print data write file to be printed.Afterwards, when user confirms to print, according to quantity information and the start position information instruction printing device printing file to be printed of header.
File printing method disclosed by the invention described above and computer program product, it corresponds to the print data of different print parameters by from identical or different file, write file to be printed, and print in the mode merged, when user prints, larger elasticity can be provided for print What configuration.In addition, user for the certain content of multiple specific file, according to the action of specific order duplicate printing, by this, can avoid the print setting of repetition, promote printing effect.
Above about the explanation of content of the present invention and the explanation of following embodiment in order to demonstration with explain principle of the present invention, and provide patent claim of the present invention further to explain.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of the file printing method of one embodiment of the invention;
Fig. 2 is the operating window schematic diagram of the file printing method that another embodiment of the present invention is described;
Fig. 3 is the operating window schematic diagram of the file printing method that further embodiment of this invention is described;
Fig. 4 is the schematic diagram of the file to be printed form of the file printing method that yet another embodiment of the invention is described;
Fig. 5 is in order to illustrate the software architecture figure of the computer program product of one embodiment of the invention.
Drawing reference numeral:
2 printing function forms
3 print What forms
20 range set options
22 number setting options
24 content setting options
30 setting options
32 other advanced setting options
26,34 confirming buttons
304 print ACK button
306 clear confirmation buttons
300 work are set up and are confirmed frame
302 message box total page numbers
4 files to be printed
40 headers
42 pages
50 user's interfaces
52 drivers
54 storage management programs
56 print multiplex's buffered program
Embodiment
Please refer to Fig. 1, is the process flow diagram of the file printing method of one embodiment of the invention.As shown in Figure 1, file printing method comprises the following steps.First, in step S10, according to user, set or the first print parameters of systemic presupposition, is encoded to the first print data by the first file content that user selects.Wherein, the first print data comprises at least one page to be printed.Then, in step S12, by the first print data write file to be printed.Afterwards, in step S14, according to user, set or the second print parameters of systemic presupposition, is encoded to the second print data by the second file content that user selects.Wherein, the second print data comprises at least one page to be printed.Then, in step S16, by the second print data write file to be printed.
In practice, above-mentioned first print parameters can be respectively different setting contents from the second print parameters, only not as limit.In another embodiment, when user confirms to print, the page namely to be printed in printable file to be printed.In addition, above-mentioned printing step also can perform before step S10 or between step S12 and step S14, to increase the elasticity of file to be printed content configuration, only not as limit.In another embodiment, also after above-mentioned printing step, more can comprise the following steps.First, according to the 3rd print parameters, the 3rd file content is encoded to the 3rd print data.Then, by the 3rd print data write file to be printed.And then printing file to be printed, wherein file to be printed comprises the first print data, the second print data and the 3rd print data.By this, the new file content of sustainable increase to file to be printed, and carries out follow-up print routine.
Moreover, the mode of above-mentioned coding can be associating bianry image expert group (JointBi-levelImageExpertsGroup, JBIG) standard, also CCITT's the 4th group of (CCITTGroup-4) standard can be used, or joint photographic professional body (JointPhotographicExpertsGroup, the coded system such as JPEG), only not as limit.In addition, in another embodiment, user more can be allowed by the related setting of print parameters, choose one of them target file to be printed from multiple file to be printed, to carry out the write of print data.In time performing printing action, also can determine the target file to be printed that wish prints, only not as limit by user.
In practice, above-mentioned each file content fechtable is from identical file.Referring to Fig. 2 and Fig. 3, for example, when user opens a MicrosoftWord file, and during open printing function form 2, user can do preliminary setting parameter by range set option 20 and number setting option 22, and use and choose the first file content, as chosen the 1 to 3 page.Certainly, user also can the setting of footpath enforcement systemic presupposition.In addition, user more can enter print What form 3 by content setting option 24 and do further setting parameter.Wherein, when setting the foundation of the work in option 30 (JobBuild) and confirming that frame 300 is checked, the file printing method that current system enables the present embodiment is represented.Otherwise.When setting the foundation of the work in option 30 and confirming that frame 300 is not checked, then represent current system and use general file printing method.Moreover user also can do advanced setting parameter by other advanced setting options 32, the such as setting such as merge page printing or page order.Frame 300 is confirmed when user confirms that work of choosing is set up, and after returning printing function form 2 by confirming button 34, by confirming button 26, user can confirm that the first print parameters has set, and the first file content (as the 1 to 3 page) that confirmation is chosen, close printing function form 2 simultaneously.Now, the 1 to 3 page of this part of MicrosoftWord file can be encoded into the first print data according to the first determined print parameters, and by it write file to be printed, and directly can not perform the action of printing.
Afterwards, user just with a MicrosoftWord file, can perform step described above, chooses other print ranges, as the 8 to 9 page, to determine the second file content.Moreover, also can set the second print parameters for the second file content, and then produce the second print data, and by it write file to be printed.Now, if user determines to print the first file content and the second file content, the printing ACK button 304 in print What form 3 can be utilized, to print the content of file to be printed.Moreover user learns the total page number of current file to be printed by message box total page number 302.Such as, when file to be printed only comprises the first above-mentioned print data and the second print data, namely message box total page number 302 shows total page number is 5 pages.
In another embodiment, user can utilize clear confirmation button 306, removes the content of file to be printed.In another embodiment, user more can remove the part content of file to be printed.In practice, user can be provided to select form to select the print data for removing, and such as the second print data, only not as limit.Afterwards, user can operate the 3rd file content more as the aforementioned, and makes file to be printed comprise the first print data and the 3rd print data.Moreover user also can repeat printing action to file to be printed.For example, user can reuse and open MicrosoftWord file, and by the printing ACK button 304 in print What form 3, by the dump of file to be printed out, only not as limit.Above-mentioned form and operating process are only in order to illustrate the function mode of the file printing method of the present embodiment illustratively, only not as limit, those skilled in the art can according to actual demand, user's interface that design is corresponding, to complete the running of the file printing method of above-described embodiment.
In practice, each file content also can capture respectively from different files.Continue referring to Fig. 2 and Fig. 3, for example, when user opens the first file, as first part of MicrosoftWord file, and perform step as the aforementioned, choose print range, as the 1 to 3 page, to determine the first file content.Moreover, also can set the first print parameters for the first file content, and then produce the first print data, and by it write file to be printed.Afterwards, user can open the second file, as second part of MicrosoftWord file, and performs step as the aforementioned, chooses print range, as the 2 to 9 page, to determine the second file content.Moreover, also can set the second print parameters for the second file content, and then produce the second print data, and by it write file to be printed.Now, if user determines to print the first file content and the second file content, the printing ACK button 304 in print What form 3 can be utilized, to print the content of file to be printed.
In addition, in practice, each file content is except capturing respectively from different files, and this different file more can adhere to different file classs separately.Continue referring to Fig. 2 and Fig. 3, for example, when user opens the first file, as first part of MicrosoftWord file, and perform step as the aforementioned, choose print range, as the 1 to 3 page, to determine the first file content.Moreover, also can set the first print parameters for the first file content, and then produce the first print data, and by it write file to be printed.Afterwards, user can open the second file, as second part of MicrosoftExcel file, and performs step as the aforementioned, chooses print range, as the 4 to 7 page, to determine the second file content.Moreover, also can set the second print parameters for the second file content, and then produce the second print data, and by it write file to be printed.Now, if user determines to print the first file content and the second file content, the printing ACK button 304 in print What form 3 can be utilized, to print the content of file to be printed.In addition, above-mentioned file class more can comprise pdf document, jpeg file and other printable file classs, only not as limit.Moreover although files different in the above embodiments belongs to different file classs respectively, this embodiment is also not used to limit the present invention.In other embodiments of the invention, different files also can belong to identical file class.
Please refer to Fig. 4, is the schematic diagram of the form of file to be printed in the file printing method of further embodiment of this invention.As shown in Figure 4, file to be printed 4 comprises header 40 and at least one page to be printed 42.Wherein, header 40 is in order to record relevant information page to be printed in file to be printed 4.In practice, header 40 comprises the information of quantity (i.e. total page number) page to be printed and each is page to be printed in the start position information of file to be printed, so that when printing, and can according to content of pages corresponding to start position information acquisition.Wherein, above-mentioned reference position can be the absolute position in file to be printed, the relative position of each page can also carry out record, such as, the start position information of second page is the reference position of second page and the storage address gap of first page reference position, only not as limit.In practice, when the step S12 of aforementioned Fig. 1 or step S16 is performed, also need to carry out corresponding renewal to the page quantity information in header 40 and page start position information, to guarantee newly-increased to be page to be printedly properly recorded in header 40.By this, can according to the quantity information of header 40 and start position information, the content of pages that acquisition is corresponding, to print file to be printed.
Please refer to Fig. 5, in order to the software architecture figure of the computer program product of one embodiment of the invention to be described.As shown in Figure 5, computer program product operates, in order to carry out the printing of file with the form of driver 52.Above-mentioned computer program product can also application program form running, only not as limit.Further, this computer program product is loaded into driver 52, to perform the following step via computer.First, the first file content, according to the first print parameters, is encoded to the first print data by driver 52.Wherein, the first print parameters that the first file content is corresponding with it is provided by user by user's interface 50.Then, the first print data is write file to be printed by storage management program 54 by driver 52.Then, the second file content, according to the second print parameters, is encoded to the second print data by driver 52.Wherein, the second print parameters that the second file content is corresponding with it is also provided by user by user's interface 50.Then, the second print data is write file to be printed by storage management program 54 by driver 52.Wherein, above-mentioned storage management program 54 in order to the data on accessing storing device, only not as limit.Therefore, by storage management program 54, print data write can be arranged in the file to be printed of storage device.
Now, file to be printed comprises the first print data and the second print data.Then, when user confirms to print by user's interface 50, namely driver 52 reads file to be printed by storage management program 54.Then, file to be printed is sent to printing device, and indicates printing device to print file to be printed.In practice, file to be printed, by printing multiplex's buffered program (Spooler) 56, is sent to printing device by driver 52, and indicates printing device to print file to be printed, only not as limit.About the various embodiments of this computer program product, its function mode and principle are all identical with each embodiment of aforementioned document Method of printing, do not repeat them here.
In sum, by from the print data corresponding to different print parameters in identical or different file, write file to be printed, and print in the mode merged, when user prints, larger elasticity can be provided for print What configuration.In addition, user for the certain content of multiple specific file, according to the action of specific order duplicate printing, by this, can avoid the print setting of repetition, promote printing effect.Moreover the sustainable increase print What of file to be printed, to alleviate the burden that user carries out follow-up associated documents printing.
Although embodiments of the invention disclose as mentioned above; so and be not used to limit the present invention; anyly have the knack of relevant art; without departing from the spirit and scope of the present invention; such as work as according to shape, structure, feature and the quantity described in the present patent application scope and can do a little change, therefore scope of patent protection of the present invention must be as the criterion depending on the claim person of defining appended by this instructions.

Claims (10)

1. a file printing method, is characterized in that, comprising:
According to one first print parameters, one first file content is encoded to one first print data;
Described first print data is write a file to be printed, and described file to be printed comprises a header and at least one page, and described header comprises a quantity information of described at least one page and the page described in each in a start position information of described file to be printed;
According to one second print parameters, one second file content is encoded to one second print data;
Described second print data is write described file to be printed; And
According to described quantity information and the described start position information of described header, print described file to be printed.
2. file printing method as claimed in claim 1, it is characterized in that, described first file content acquisition is from one first file, and described second file content acquisition is from one second file, described first file belongs to one first file class, and described second file belongs to one second file class.
3. file printing method as claimed in claim 1, is characterized in that, described first file content acquisition is from one first file, and described second file content acquisition is from one second file, and described first file and described second file belong to same file class.
4. file printing method as claimed in claim 1, is characterized in that, more comprises described second print data removed in described file to be printed.
5. file printing method as claimed in claim 4, is characterized in that, after the step removing described second print data in described file to be printed, more comprises:
According to one the 3rd print parameters, one the 3rd file content is encoded to one the 3rd print data; And
Described 3rd print data is write described file to be printed, and wherein said file to be printed comprises described first print data and described 3rd print data.
6. a computer program product, is characterized in that, is loaded into described program performs via computer:
One first programmed instruction, makes a microprocessor according to one first print parameters, one first file content is encoded to one first print data;
One second programmed instruction, make described microprocessor that described first print data is write a file to be printed, described file to be printed comprises a header and at least one page, and described header comprises a quantity information of described at least one page and the page described in each in a start position information of described file to be printed;
One the 3rd programmed instruction, makes described microprocessor according to one second print parameters, one second file content is encoded to one second print data;
One the 4th programmed instruction, makes described microprocessor that described second print data is write described file to be printed, comprises described first print data and described second print data to make described file to be printed; And
Perform one the 5th programmed instruction, make described microprocessor indicate a printing device to print described file to be printed according to the described quantity information of described header and described start position information.
7. computer program product as claimed in claim 6, it is characterized in that, described first file content acquisition is from one first file, and described second file content acquisition is from one second file, described first file belongs to one first file class, and described second file belongs to one second file class.
8. computer program product as claimed in claim 6, is characterized in that, described first file content acquisition is from one first file, and described second file content acquisition is from one second file, and described first file and described second file belong to same file class.
9. computer program product as claimed in claim 6, is characterized in that, more comprise execution 1 the 6th programmed instruction, makes described microprocessor remove described second print data in described file to be printed.
10. computer program product as claimed in claim 9, is characterized in that, after the step performing described 6th programmed instruction, more comprises execution:
One the 7th programmed instruction, makes described microprocessor according to one the 3rd print parameters, one the 3rd file content is encoded to one the 3rd print data; And
One the 8th programmed instruction, makes described microprocessor that described 3rd print data is write described file to be printed, and wherein said file to be printed comprises described first print data and described 3rd print data.
CN201510549078.3A 2015-08-31 2015-08-31 File printing method and computer program product Expired - Fee Related CN105138295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510549078.3A CN105138295B (en) 2015-08-31 2015-08-31 File printing method and computer program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510549078.3A CN105138295B (en) 2015-08-31 2015-08-31 File printing method and computer program product

Publications (2)

Publication Number Publication Date
CN105138295A true CN105138295A (en) 2015-12-09
CN105138295B CN105138295B (en) 2019-04-02

Family

ID=54723655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510549078.3A Expired - Fee Related CN105138295B (en) 2015-08-31 2015-08-31 File printing method and computer program product

Country Status (1)

Country Link
CN (1) CN105138295B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867655A (en) * 2021-09-29 2021-12-31 深圳市商汤科技有限公司 Printing method and device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556530A (en) * 2008-04-10 2009-10-14 金宝电子工业股份有限公司 Office equipment and printing method thereof
US20100079773A1 (en) * 2008-09-29 2010-04-01 Konica Minolta Systems Laboratory, Inc. Method for printing a composed document from multiple print jobs
CN101739225A (en) * 2008-11-20 2010-06-16 佳能株式会社 Printing control apparatus and method thereof
CN102333168A (en) * 2010-07-13 2012-01-25 金宝电子工业股份有限公司 File composition output device and file composition output method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101556530A (en) * 2008-04-10 2009-10-14 金宝电子工业股份有限公司 Office equipment and printing method thereof
US20100079773A1 (en) * 2008-09-29 2010-04-01 Konica Minolta Systems Laboratory, Inc. Method for printing a composed document from multiple print jobs
CN101739225A (en) * 2008-11-20 2010-06-16 佳能株式会社 Printing control apparatus and method thereof
CN102333168A (en) * 2010-07-13 2012-01-25 金宝电子工业股份有限公司 File composition output device and file composition output method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113867655A (en) * 2021-09-29 2021-12-31 深圳市商汤科技有限公司 Printing method and device, electronic equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN105138295B (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN102857662B (en) Environmental contribution supporting apparatus and environmental contribution supporting method
CN104679457B (en) Information processing equipment, information processing method and recording medium
US9594987B2 (en) Printing system, printing method and computer-readable recording medium
JP4530012B2 (en) Image processing apparatus and program
CN1821949A (en) Printing system and document management system
CN102572181A (en) Document information display control device, document information display method, and computer program
CN110377242A (en) Print control unit, control method and storage medium
CN102055864B (en) Information processing method, information processing apparatus and information processing system
JP4306367B2 (en) Image processing device
CN104348995B (en) Image output system and method
JP2007259353A (en) Printing or displaying apparatus
CN103847251B (en) Printing equipment and the control method for controlling printing equipment
CN107797774A (en) Information processor and method
US20120162678A1 (en) Image forming apparatus and image forming method
CN105138295A (en) File printing method and computer program product
JP6903953B2 (en) Information processing equipment and programs
CN101388945A (en) History image generating system and history image generating method
US20100299307A1 (en) Display device, data conversion method, and computer-readable medium storing data conversion program
JP5109879B2 (en) Printing system, printing control device, output instruction device, program
JP2011034554A (en) Image forming apparatus and program
US20050033769A1 (en) File processing apparatus, file processing method, and file processing program product
US7733348B2 (en) Image processing apparatus, its control method and data management method
JP4406710B2 (en) Document processing device
JP2012155415A (en) Printing system
JP3995200B2 (en) Image forming apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190402

CF01 Termination of patent right due to non-payment of annual fee