[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US8215852B2 - Printing control method and apparatus - Google Patents

Printing control method and apparatus Download PDF

Info

Publication number
US8215852B2
US8215852B2 US13/051,932 US201113051932A US8215852B2 US 8215852 B2 US8215852 B2 US 8215852B2 US 201113051932 A US201113051932 A US 201113051932A US 8215852 B2 US8215852 B2 US 8215852B2
Authority
US
United States
Prior art keywords
printing
setting
document
page
chapter
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.)
Expired - Fee Related
Application number
US13/051,932
Other versions
US20110170926A1 (en
Inventor
Junichiro Kizaki
Satoshi Nishikawa
Yasuo Mori
Junko Sato
Takuya Miyazato
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to US13/051,932 priority Critical patent/US8215852B2/en
Publication of US20110170926A1 publication Critical patent/US20110170926A1/en
Application granted granted Critical
Publication of US8215852B2 publication Critical patent/US8215852B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

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/1211Improving printing performance
    • 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
    • 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/1256User feedback, e.g. print preview, test print, proofing, pre-flight checks
    • 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/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1284Local printer device

Definitions

  • the present invention relates to a printing control method and apparatus which combine output data generated by various programs such as a document processing program and image editing program into one document, provide an editing function for the document, and issue a printing job to a printing apparatus to cause the printing apparatus to print.
  • a printer When a printer prints document data, image data, or the like generated by an application program for document processing, image processing, or the like that is executed by a computer, the user can change printing settings within the range of functions provided by the application, printer, operating system, and the like.
  • printing settings are given for each printing job which is a printing processing execution unit for a set of data to be printed, control codes, and the like.
  • parts having common settings are printed as one printing job. The user must perform this operation for a plurality of printing settings, and then combine printouts into a document.
  • common printing settings are applied to each part.
  • one printing job cannot include partially different printing settings such as double-sided printing parts and single-sided printing parts.
  • To print a document including double-sided printing parts and single-sided printing parts only the following methods are selected.
  • double-sided printing parts and single-sided printing parts are printed by separate printing jobs, and then combined into a document by the user.
  • blank pages corresponding to lower surfaces are inserted in advance by the user every other printing page (which is one surface of a printing sheet and also called a physical page).
  • a completed document is printed in accordance with double-sided printing setting.
  • blank pages may be inserted by executing a program having a blank sheet insertion function by a computer.
  • Method (1) causes the user to work, and the user is constrained to printing work at low productivity.
  • single-sided printing or double-sided printing can only be set for each printing job.
  • Demands have arisen for dividing a printing job and generating the entity of data to be printed in accordance with printing settings.
  • the present invention has been made in consideration of the above situation, and has as its object to provide an information processing apparatus, printing data generation method, and printing control program which can print a document including both single-sided printing and double-sided printing by one printing job, create an expressive document, and perform efficient printing in terms of the speed and maintenance cost without printing any wasteful blank page by generating a printing job which holds single-sided printing or double-sided printing setting as a partial setting value in a document to be printed, and causing a printer to execute the printing job.
  • the present invention has been made in consideration of the above situation, and comprises the following arrangement.
  • a printing control method of holding printing data in a hierarchical structure and issuing a printing job to a printer to cause the printer to print comprises
  • a setting step capable of setting different setting values in a lower layer and an upper layer of the hierarchical structure as printing setting data containing double-sided printing or single-sided printing setting
  • the setting step includes a determination step of determining whether the printer copes with a change in the printing setting data during a printing job, and when the printer is determined to cope with the change, different setting values can be set in the lower layer and the upper layer of the hierarchical structure.
  • the method further comprises a printer setting step of setting a printer for use, and in the printer setting step, whether a newly set printer copes with a change in the printing setting data during a printing job is determined, and when the printer is determined not to cope with the change and different setting values are set in the lower layer and the upper layer, setting is so changed as to make the setting value of the lower layer coincide with the setting value of the upper layer.
  • a setting in the upper layer includes a setting of a whole document
  • a setting in the lower layer includes a setting of a chapter obtained by dividing the document.
  • a document processing method of processing original data having a printing format as an attribute comprises
  • FIG. 1 is a block diagram showing an example of the software configuration of a stand-alone document processing system according to an embodiment
  • FIG. 2 is a block diagram showing an example of a hardware configuration which implements the document processing system according to the embodiment
  • FIG. 3 is a view showing an example of a book file structure
  • FIGS. 4A and 4B are tables showing a list of book attributes
  • FIG. 5 is a table showing a list of chapter attributes
  • FIG. 6 is a table showing a list of page attributes
  • FIG. 7 is a flow chart showing an example of a sequence of opening a book file
  • FIG. 8 is a view showing an example of a user interface window when a new book file is opened.
  • FIG. 9 is a view showing an example of a user interface window when an existing book file is opened.
  • FIG. 10 is a flow chart showing an example of a sequence of importing a page-storing file to a book file
  • FIG. 11 is a flow chart showing an example of a sequence of converting application data in step 801 of FIG. 10 into a page-storing file;
  • FIG. 12 is a view showing an example of a data structure used in printing or display
  • FIG. 13 is a block diagram showing an example of the software configuration of a client-server document processing system
  • FIG. 14 is a view showing an example of a dialog window for setting a whole document serving as the uppermost layer of a data structure
  • FIG. 15 is a view showing an example of a dialog window for setting a chapter serving as the intermediate layer of the data structure
  • FIG. 16 is a view showing an example of setting a unique attribute in the dialog window of FIG. 15 ;
  • FIG. 17 is a view showing an example of a dialog window for setting a page serving as the lowermost layer of the data structure
  • FIG. 18 is a view showing an example of changing a setting value in the dialog window of FIG. 17 ;
  • FIG. 19 is a view showing a display example when a setting unique to a chapter or page is performed.
  • FIGS. 20A and 20B are flow charts when a printing format is set according to the embodiment.
  • FIG. 21 is a view showing an example of a GUI according to the embodiment.
  • FIG. 22 is a view showing another example of the GUI according to the embodiment.
  • FIG. 23 is a view showing still another example of the GUI according to the embodiment.
  • FIG. 24 is a view showing still another example of the GUI according to the embodiment.
  • FIG. 25 is a flow chart when each setting value is read out to print according to the embodiment.
  • FIG. 26 is a flow chart showing exceptional chapter setting check processing in selecting a printer for use.
  • FIG. 27 is a view showing an example of a despool table.
  • the outline of a document processing system converts a data file created by a general application into a page-storing file by a printing data save driver.
  • a printing control application provides a function (editing function) of editing an electronic original file, and a function (printing setting function) of setting a printing format.
  • the editing function includes a function of changing the page order of the document of an electronic original file, and a function of managing a whole document, chapters, and pages in a hierarchical structure.
  • the printing setting function enables the printing layout such as double-sided printing/single-sided printing/bookbinding printing, the printing format such as stapling/non-stapling and stapling position, and various settings such as color printing/monochrome printing, which are conventionally set as the properties of a printer driver.
  • various settings described above can be individually set in a predetermined unit (whole document, chapter, or page) divided by the editing function. These settings are independent of a printer driver, unlike conventional settings by a printer driver.
  • a printing control application 104 according to the present invention can perform various printing settings independently of a printer driver 106 at an output destination.
  • an editing information file corresponding to the page-storing file is generated and saved.
  • the contents of the page-storing file are read out for printing by a printing application (also called a despooler) via the printing control application.
  • a printing application also called a despooler
  • a general application, printing data save driver, printing control application, and printing application are separately described for distinction between these functions.
  • a package provided to the user is not limited to them, and an application or graphic engine as a combination of them may be provided, details of which will be described below.
  • FIG. 2 is a block diagram for explaining the configuration of the document processing system according to the embodiment.
  • the present invention can be applied to a single apparatus, a system comprised of a plurality of devices, or a system which is connected via a network such as a LAN or WAN and performs processing, as far as the function of the present invention is executed.
  • a host computer 100 comprises a CPU 201 , RAM 202 , ROM 203 , and the like.
  • the CPU 201 executes document processing in which figures, images, characters, tables (including spreadsheets and the like), and the like coexist, on the basis of a document processing program or the like stored in the program ROM of the ROM 203 or an external memory 211 .
  • the CPU 201 comprehensively controls devices connected to a system bus 204 .
  • the program ROM area of the ROM 203 or the external memory 211 stores, e.g., an operating system program (to be referred to as an OS hereinafter) serving as the control program of the CPU 201 .
  • an operating system program to be referred to as an OS hereinafter
  • the font ROM area of the ROM 203 or the external memory 211 stores, e.g., font data used in document processing.
  • the data ROM area of the ROM 203 or the external memory 211 stores various data used in document processing or the like.
  • the RAM 202 functions as a main memory, work area, or the like for the CPU 201 .
  • a keyboard controller (KBC) 205 controls a key input from a keyboard 209 or a pointing device (not shown).
  • a CRT controller (CRTC) 206 controls the display of a CRT display (CRT) 210 .
  • a disk controller (DKC) 207 controls access to the external memory 211 such as a hard disk (HD) or Floppy® disk (FD).
  • the external memory 211 stores a boot program, various applications, font data, user files, edited files, a printer control command generation program (to be referred to as a printer driver hereinafter), and the like.
  • a printer controller (PRTC) 208 is connected to a printer 107 via a bidirectional interface (interface) 21 , and executes communication control processing with the printer 107 .
  • the CPU 201 executes, e.g., rasterization processing of an outline font to a display information RAM set in the RAM 202 , and enables WYSIWYG on the CRT display 210 .
  • the CPU 201 opens various registered windows and executes various data processes on the basis of commands designated on the CRT 210 with a mouse cursor (not shown) or the like.
  • the user executes printing, he/she opens a printing setting window provided by the printer driver, and can perform setting of a printer and setting of a printing processing method to the printer driver that includes selection of a printing mode.
  • the printer 107 is controlled by a CPU 312 .
  • the printer CPU 312 outputs an image signal as output information to a printing unit (printer engine) 317 connected to a system bus 315 on the basis of a control program stored in the program ROM area of a ROM 313 or a control program stored in an external memory 314 .
  • the program ROM area of the ROM 313 stores, e.g., the control program of the CPU 312 .
  • the font ROM area of the ROM 313 stores, e.g., font data used to generate the output information.
  • the data ROM area of the ROM 313 stores, e.g., information used in the host computer for a printer having no external memory 314 such as a hard disk.
  • the CPU 312 can communicate with the host computer via an input unit 318 , and notify the host computer 100 of internal printer information or the like.
  • a RAM 319 functions as a main memory, work area, or the like for the CPU 312 , and the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown).
  • the RAM 319 is used as an output information mapping area, environment data storage area, NVRAM, or the like.
  • Access to the external memory 314 such as a hard disk (HD) or IC card is controlled by a memory controller (MC) 320 .
  • the external memory 314 is connected as an option, and stores font data, emulation programs, form data, and the like.
  • Reference numeral 321 denotes an operation panel having operation switches, an LED display, and the like.
  • the number of external memories 314 is not limited to one, and a plurality of external memories 314 may be arranged.
  • a plurality of external memories which store an option card and a program for interpreting the printer control languages of different language systems in addition to built-in fonts may be connected.
  • an NVRAM (not shown) may be adopted to store printer mode setting information from the operation panel 321 .
  • FIG. 1 is a block diagram showing the software configuration of the document processing system according to the embodiment.
  • the document processing system is implemented by a digital computer 100 (to be also referred to as a host computer hereinafter) as an embodiment suited to the document processing apparatus (information processing apparatus) of the present invention.
  • a general application 101 is an application program which provides functions such as wordprocessing, spreadsheet, photo-retouch, draw, paint, presentation, and text editing.
  • the general application 101 has a function of requesting printing processing of an operating system (OS).
  • OS operating system
  • Such applications utilize a predetermined interface provided by the OS in printing application data such as created document data or image data.
  • the application 101 transmits an output command in a predetermined format to the output module of the OS providing the interface.
  • the output module which has received the output command converts it into a format processible by an output device such as a printer, and outputs the converted command.
  • a device driver is provided for each device.
  • the OS converts a command by using the device driver, generates printing data, and combines printing data by JL (Job Language) to generate a printing job.
  • JL Java Language
  • the output module is a GDI (Graphic Device Interface) module.
  • the application 101 calls a GDI function by using the created data as a parameter of a format complying with the GDI. As a result, the above-described output command is sent to the OS.
  • GDI Graphic Device Interface
  • a printing data save driver 102 is an improvement of the above-mentioned device drivers, and is a software module provided to implement the document processing system.
  • the printing data save driver 102 does not target a specific output device, and converts an output command into a format processible by the printing control application 104 or printer driver 106 (to be described later).
  • the format (to be referred to as a “page-storing file format” hereinafter) converted by the printing data save driver 102 is not particularly limited as far as the document structure and each original page can be expressed by a detailed format.
  • the PDF format by Adobe Systems and the SVG format can be adopted as page-storing files.
  • a page-storing file 103 and editing information file 111 are processed as separate files, but when no file is opened, are combined as an archive file in order to hold the unity.
  • data contents saved in the page-storing file 103 can be processed.
  • This realizes a function not provided to an application which creates an original, such as a function of enlarging/reducing printing data from an application or a function of reducing a plurality of pages into one page and printing the page.
  • the system in FIG. 1 is expanded from a conventional one so as to spool intermediate code data. Processing of printing data is generally set through a window provided by the printing control application 104 , and the setting contents are saved in the RAM 202 or external memory 211 .
  • printing data from the application 101 is saved as the page-storing file 103 in the system via the printing data save driver 102 .
  • the page-storing file 103 is also called an intermediate file, and contains content data of a print material, printing setting data, and the like.
  • Content data of a print material is data prepared by converting data created in an application by the user into an intermediate code.
  • Printing setting data is data which describes how to output content data (output format or the like).
  • the page-storing file 103 contains application extension data called an editing information file for providing a user interface when the printing control application causes the user to edit the contents of a page-storing file or issue an output instruction.
  • the contents of the page-storing file 103 , and particularly printing setting data are updated by the printing control application 104 .
  • the printing control application 104 can display printing settings such as the output format, cause the user to change printing settings, and save the changed settings. At this time, printing settings are also reflected in attribute data of the editing information file together with printing setting data of the page-storing file.
  • Printing processing is actually executed by the printing application (despooler) 105 .
  • the printing application (despooler) 105 which has received a printing command from the printing control application 104 inputs data to a graphic engine 121 in a predetermined format such as a GDI function in accordance with the output format set by the printing control application 104 .
  • the graphic engine 121 converts the input data of the GDI function format or the like into a DDI function, and outputs the DDI function to the printer driver 106 .
  • the printer driver 106 generates a printer control command of the page description language or the like on the basis of the DDI function acquired from the graphic engine 121 , and outputs the command to the printer 107 via a system spooler 122 .
  • the printing application 104 of the present invention is independent of the printer driver, and in printing, an arbitrary printer driver can be selected as an output destination from a plurality of printer drivers which are held in the document processing apparatus (information processing apparatus) 100 , similar to a general application.
  • the page-storing file contains data of each original page (data of each page generated by an application: to be also referred to as a logical page) as content data, and data of a job ticket format as printing setting data.
  • An editing information file for changing setting of printing setting information contained in the page-storing file is also stored by the printing control application (to be described later) together with the page-storing file.
  • a DEVMODE structure for sending a printing instruction to a driver by using a GDI function is contained.
  • original page data is defined by the PDF format or the like, and contains designation of the character font and color, and layout information of characters, figures, and the like within an original page.
  • original page data of the PDF format and data of the job ticket format are intermediate data.
  • the job ticket serving as a page-storing file is data having a structure whose minimum unit is an original page.
  • the structure of the job ticket defines the layout of an original page on a paper sheet.
  • the node of the whole document is set at the top of the structure, and defines the attribute of the whole document such as double-sided printing/single-sided printing.
  • This node is accompanied with a document structure and information representing setting of each building component. More specifically, a sheet bundle node belongs to the document node, and contains attributes such as the identifier of paper for use and designation of a feed port in the printer.
  • the node of a sheet contained in the sheet bundle belongs to each sheet bundle node. One sheet corresponds to one paper sheet.
  • a printing page (physical page) belongs to each sheet.
  • One physical page belongs to one sheet in single-sided printing, and two physical pages belong to one sheet in double-sided printing.
  • An original page to be laid out on a physical page belongs to the physical page.
  • the physical page attribute contains an original page layout.
  • An original page contains association information (link information) to original page data which is the entity of the original page.
  • Each node is given a setting value such as the printing format.
  • Layout information e.g., so-called N-up printing setting of laying out N pages on one physical page
  • order of original pages on a physical page sheet surface of a printing medium
  • the following parameter can be set.
  • the job ticket is data having a hierarchical structure whose minimum unit is an original page.
  • Most of printing settings defined by the job ticket are common on each layer set for each document, but some printing settings such as N-up setting and color type are common between layers.
  • a common setting a lower layer inherits the same setting value as that of an upper layer.
  • a value set for a layer of interest is used as the value of the attribute.
  • the color type can be set for a whole document, sheet bundle (set of sheets), and physical page (to be also referred to as a plane or printing page).
  • the color type is a setting which designates a mode in the printing apparatus. Printing data is generated such that, if the monochrome mode is set, the printing apparatus prints in monochrome; if the color mode is set, prints in color. Double-sided printing can be set for a whole document and sheet bundle.
  • FIG. 12 shows an example of the data structure of a job ticket.
  • the structure in FIG. 12 is slightly different from the above-described structure in that no sheet bundle node exists, and a plane node is inserted instead immediately below a sheet node.
  • a document to be printed is formed by a set of sheets, and each sheet is formed by two, upper and lower planes.
  • Each plane has a region (physical page) for laying out an original, and each physical page is formed by a set of original pages serving as minimum units.
  • Reference numeral 1101 denotes data corresponding to a document.
  • the data 1101 is formed by data on a whole document and a list of sheet information constituting the document.
  • Sheet information 1102 is formed by information on a sheet such as the sheet size, and a list of plane information laid out on the sheet.
  • Plane information 1103 is formed by data unique to a plane, and a list of physical pages laid out on the plane.
  • Physical page information 1104 is formed by information such as the size and header/footer of a physical page, and a list of original pages which form the physical page.
  • the document information 1101 , the sheet information 1102 , the plane information 1103 , the physical page information 1104 , and original page information 1105 contain the above-described parameters.
  • the printing control application 104 is a program which provides a user interface for causing the user to designate data contained in a page-storing file by various methods and change printing settings.
  • the page-storing file is a file having the above-described structure.
  • the printing control application 104 manages the above-mentioned editing information file in correspondence with the page-storing file in order to manage the page-storing file.
  • the printing control application 104 manages a document with a management structure independent of a document defined by the page-storing file, e.g., a job ticket.
  • the management structure is a hierarchical structure similar to the job ticket, but is formed by layers “book”, “chapter”, and “original (logical) page” from the top, unlike the job ticket. Of these layers, the original page corresponds to the original page of the job ticket.
  • the chapter corresponds to the sheet bundle (set of sheets).
  • a virtual file displayed as a user interface is not a file which is page-storingly saved and managed, unlike the page-storing file 103 , but is temporarily created for a user interface when the user changes the printing settings of the page-storing file or designates printing by using the printing control application 104 .
  • the printing control application 104 opens the page-storing file 103 together with a corresponding editing information file 111 , creates a virtual book file having a structure defined by editing information from the page-storing file, and displays the book file as a user interface.
  • the settings are reflected in the editing information file.
  • the book file has a three-layered structure similar to a paper-medium book.
  • the upper layer is called a “book”, resembles one book, and defines the attributes of the entire book.
  • the intermediate layer corresponds to a chapter in the book, and is also called a “chapter”.
  • the lower layer is a “page”, and corresponds to each page defined by an application program.
  • One book may include a plurality of chapters, and one chapter may include a plurality of original pages.
  • FIG. 3 is a block diagram schematically showing an example of the book file format.
  • a book, chapter, and page in the book file of this example are represented by corresponding nodes.
  • One book file includes one book.
  • the book and chapter are a concept for defining a book structure, and contain, as entities, defined attribute values and links to lower layers.
  • the page entity is original page data of the PDF format or the like which is contained in the page-storing file 103 . That is, the editing information file only defines the book file format and attributes, and does not contain original page data itself.
  • the page has, as entities, data of each page output from an application program.
  • the page includes an original page entity (original page data) and a link to each original page data in addition to an attribute value. Note that a printing page to be output to a paper medium may include a plurality of original pages. This structure is displayed not by a link, but by attributes in book, chapter, and page layers.
  • a book file need not be one completed book, and “book” is generalized as “document”.
  • Information on a document, information on a chapter, and information on a page will be comprehensively called document information, chapter information, and page information, respectively.
  • document information 401 is defined at the top.
  • the document information 401 can be roughly divided into three parts 402 to 404 .
  • the document control information 402 holds information such as the path name in the file system of a document file.
  • the document setting information 403 holds layout information such as the page layout, and function setting information of a printing apparatus such as stapling, and corresponds to book attributes.
  • the chapter information list 404 holds as a list a set of chapters which form a document.
  • the list holds chapter information 405 .
  • the chapter information 405 can also be roughly divided into three parts 406 to 408 .
  • the chapter control information 406 holds information such as the chapter name.
  • the chapter setting information 407 holds information on the page layout and stapling unique to the chapter, and corresponds to chapter attributes. By holding setting information for each chapter, a document having a complicated layout can be created such that the first chapter has a 2-up layout and the remaining chapters have a 4-up layout.
  • the page information list 408 holds as a list a set of original pages which form each chapter.
  • the page information list 408 designates page information data 409 .
  • the page information data 409 can also be roughly divided into three parts 410 to 412 .
  • the page control information 410 holds information such as a page number displayed at the tree.
  • the page setting information 411 holds information such as the page rotation angle and page layout position information, and corresponds to original page attributes.
  • the page link information 412 is original data corresponding to a page. In this example, the page information 409 does not directly have original data, but has only the link information 412 . Actual original data is held by a page data list 413 .
  • FIGS. 4A and 4B show a list representing an example of book attributes (document setting information 403 ).
  • the attribute value of the lower layer is preferentially adopted.
  • a value defined in the book attribute is effective over the book.
  • An item repetitively defined on a lower layer is a default value used when this item is not defined in the lower layer. In this example, however, whether to preferentially adopt the attribute value of a lower layer can be selected, which will be described later.
  • Each item shown in FIGS. 4A and 4B does not correspond to one concrete item, but may contain a plurality of relevant items.
  • Bookbinding printing is a method of printing data in a format which allows bookbinding by bundling a separately designated number of paper sheets, folding the bundle into two, and binding the bundle.
  • opening direction and the number of paper sheets to be bundled can be designated when bookbinding printing is designated.
  • the front/back cover attribute includes designation of adding paper sheets serving as front and back covers when a page-storing file combined as a book is printed, and designation of contents to be printed on the added paper sheets.
  • the index sheet attribute includes designation of inserting a tabbed index sheet separately prepared in a printing apparatus for chaptering, and designation of contents to be printed on the index (tabbed) portion. This attribute becomes effective when a printing apparatus to be used is equipped with an inserter having an inserting function of inserting a paper sheet prepared separately from a printing sheet into a desired position, or when a plurality of sheet cassettes can be used. This also applies to the slip sheet attribute.
  • the slip sheet attribute includes designation of inserting a paper sheet fed from an inserter or sheet feed cassette for chaptering, and designation of a sheet feed source when a slip sheet is inserted.
  • the chaptering attribute includes designation of whether to use a new paper sheet, use a new printing page, or do nothing particular at a chapter break.
  • single-sided printing the use of a new paper sheet and the use of a new printing page are the same.
  • double-sided printing a continuous chapter is not printed on one paper sheet if “the use of a new paper sheet” is designated, but may be printed on the obverse and reverse of one paper sheet if “the use of a new printing page” is designated.
  • FIG. 5 shows a list representing an example of chapter attributes (chapter setting information 407 ), and FIG. 6 shows a list representing an example of page attributes (page setting information 411 ).
  • chapter attributes and page attributes are the same as that between book attributes and lower layer attributes.
  • the chapter attribute there is no item unique to the chapter, and all items overlap those of the book attribute. In general, if the definition of the chapter attribute is different from that of the book attribute, a value defined by the chapter attribute precedes. In this example, however, whether to preferentially adopt the attribute value of a lower layer can be selected, which will be described later.
  • the N-up printing designation attribute is an item for designating the number of original pages included in one printing page. Layouts which can be designated are 1 ⁇ 1, 1 ⁇ 2, 2 ⁇ 2, 3 ⁇ 3, 4 ⁇ 4, and the like.
  • the delivery method attribute is an item for designating whether to staple discharged paper sheets. The effectiveness of this attribute depends on whether the printing apparatus has a stapling function.
  • the page rotation attribute is an item for designating the rotation angle when an original page is laid out on a printing page.
  • the zoom attribute is an item for designating the zoom ratio of an original page.
  • the virtual logical page region is a region occupied by one original page when original pages are laid out in accordance with N-up designation or the like. For example, the virtual logical page region is a region corresponding to one printing page for 1 ⁇ 1, and a region obtained by reducing each side of one printing page to about 70% for 1 ⁇ 2.
  • Attributes common to the book, chapter, and page are a watermark attribute and header/footer attribute.
  • the watermark is a separately designated image or character string printed over data created by an application.
  • the header and footer are watermarks printed at the upper and lower margins of each page.
  • items such as a page number, and time and date which can be designated by variables are prepared.
  • Contents which can be designated by the watermark attribute and header/footer attribute are common to the chapter and page, but are different from those of the book.
  • the book can set the contents of the watermark and header/footer, and designate how to print a watermark or header/footer throughout the book.
  • the chapter and page can designate whether to print a watermark or header/footer set by the book on the chapter or page.
  • the editing information file has the above-described structure and contents.
  • a sequence of creating the editing information file 111 and page-storing file 103 by the printing control application 104 and printing data save driver 102 will be explained.
  • Creation of the editing information file 111 is realized as part of editing operation of the editing information file 111 by the printing control application 104 .
  • FIG. 7 shows a sequence when the printing control application 104 opens the editing information file 111 .
  • step S 701 Whether an editing information file to be opened is one to be newly created or an existing one is determined (step S 701 ). If YES in step S 701 , an editing information file including no chapter is newly created (step S 702 ). In the example shown in FIG. 3 , the newly created editing information file is a book node having no chapter node linked to the chapter information list 404 . As the book attribute, a set of attributes prepared in advance for creation of a new editing information file are applied. A UI (User Interface) window for editing the new editing information file is displayed (step S 704 ). FIG. 8 shows an example of a UI window when a book file is newly created. In this case, the book file does not have any substantial content, and a UI window 800 does not display anything.
  • UI User Interface
  • a designated editing information file is opened (step S 704 ), and data are rasterized in accordance with the structure, attributes, and contents of the editing information file to display a UI (User Interface) window.
  • FIG. 9 shows an example of the UI window.
  • a UI window 900 has a tree portion 901 representing a book structure, and a preview portion 902 displaying a state to be printed.
  • the tree portion 901 displays chapters included in the book and pages included in each chapter by a tree structure so as to exhibit a tree structure as shown in FIG. 3 . Pages displayed at the tree portion 901 are original pages.
  • the preview portion 902 displays reduced printing page contents.
  • the display order reflects the book structure.
  • Data mapped in the RAM 102 also takes the same structure as that in FIG. 3 .
  • Attributes included in the node of each layer are also mapped in the RAM 102 in the format shown in FIGS. 4A to 6 .
  • the structure of these attribute items can be realized with a pointer or the like, and each item at the attribute can be identified by the identifier of the item or the like.
  • Original page data can be added as a new chapter to the open editing information file by the printing data save driver 102 .
  • This function is called an import function.
  • Application data is imported to the editing information file newly created by the sequence of FIG. 7 , and the original page data is made to belong to the chapter of the editing information file, thereby giving an entity to the editing information file.
  • This function is activated by drag-and-drop operation of application data to the window of FIG. 8 .
  • FIG. 10 shows an import processing sequence.
  • an application program which has generated designated application data is activated.
  • the printing data save driver 102 is designated as a device driver, and application data is printed out to convert the data into data of an intermediate format (e.g., PDF format) (step S 801 ).
  • an intermediate format e.g., PDF format
  • whether the converted data is image data is determined (step S 802 ). This determination can be done on the basis of the file extension of application data under the Windows® OS. For example, an extension “bmp” represents Windows® bitmap data; “jpg”, jpeg-compressed image data; and “tiff”, tiff-format image data.
  • step S 802 the intermediate data generated in step S 801 is added as a new chapter to the book of a currently open editing information file (step S 803 ). That is, a new chapter and new original pages belonging to this chapter are added by import. Link information to the entity of an original page is written at each page node. The entity of the original page is generated by the printing data save driver 102 .
  • step S 804 If YES in step S 802 , no new chapter is added in principle, and image data is added to a designated chapter by using one file as one original page (step S 804 ).
  • a new chapter is created, and image data is added as an original page belonging to the chapter.
  • the page attribute attributes common to the attributes of an upper layer are given the attribute values of the upper layer, and attributes which are defined in application data and inherited to the page-storing file are given values defined in the application data. For example, when N-up designation is defined in application data, the page inherits this attribute value. In this way, a new editing information file is created, or a new chapter is added.
  • a page-storing file As for a page-storing file, added original page data is newly added and saved if data generated by the printing data save driver is an addition to an existing page-storing file. At this time, if printing settings designated by an application are reflected in data generated by the printing data save driver, the printing settings can also be reflected in the page-storing file.
  • FIG. 11 is a flow chart showing a sequence of generating a page-storing file by the printing data save driver 102 in step S 801 of FIG. 10 .
  • a new page-storing file is created and opened (step S 901 ).
  • An application corresponding to designated application data is activated.
  • the printing data save driver 102 is set as a device driver to transmit an output command to an OS output module (e.g., Windows® GDI).
  • the output module converts the received output command into data of a predetermined format (e.g., PDF format) by the printing data save driver 102 , and outputs the converted data (step S 902 ).
  • the output destination is the page-storing file opened in step S 901 .
  • the page-storing file generated by the printing data save driver 102 is a file which contains a structure shown in FIG. 12 and original page data entities.
  • the editing information file 111 and page-storing file 103 can be created from application data.
  • chapters and pages defined by the editing information file 111 can be edited as follows.
  • an operation of canceling executed editing operation and an operation of restoring canceled operation can be performed.
  • These editing functions enable editing operations such as consolidation of a plurality of editing information files, rearrangement of chapters and pages within an editing information file, delete of chapters and pages within an editing information file, layout change of an original page, and insertion of a slip sheet and index sheet.
  • operation results are reflected in attributes shown in FIGS. 4 to 6 or on an editing information file structure. For example, a blank page is inserted into a designated portion by an operation of newly adding a blank page. The blank page is processed as an original page. If the layout of an original page is changed, the change contents are reflected in attributes such as the printing method, N-up printing, front/back cover, index sheet, slip sheet, and chaptering.
  • These editing contents are also reflected in the page-storing file.
  • the setting is reflected as the book attribute of the editing information file and also as setting data of the whole document in printing setting data of the page-storing file.
  • the ultimate goal of an editing information file created and edited in the above manner is to print it out. If the user selects a file menu from the UI window 900 of the printing control application shown in FIG. 9 and selects printing from this menu, the editing information file is then printed out by a designated output device. At this time, the printing control application 104 creates data called a despool table from a currently open editing information file and corresponding page-storing file (e.g., job ticket), and transfers the despool table to the printing application 105 .
  • a despool table from a currently open editing information file and corresponding page-storing file (e.g., job ticket)
  • the despool table contains the same structure as that of the original job ticket, printing settings in respective layers, and association with original pages. More specifically, printing settings such as the number of copies, color type, and double-sided/single-sided printing designation which are effective for a whole document are accompanied by printing settings such as N-up printing designation which are effective for a sheet bundle (set of sheets). Each sheet belonging to each sheet bundle has printing settings such as double-sided/single-sided printing. Each physical page (plane) belonging to each sheet has printing settings such as the color type and designation of an upper/lower plane. The printing settings of each layer include settable items. Settings in the despool table are designated on physical pages in accordance with the device specifications.
  • the printing application 105 converts the despool table into a parameter to be transferred to the graphic engine 121 .
  • the printing application 105 converts the page-storing file 103 into an OS output command, e.g., a Windows® GDI command, and calls a GDI function serving as a graphic engine by using the command as a parameter.
  • the graphic engine 121 generates a command complying with a device (e.g., printer) by the designated printer driver 121 , and transmits the command to the device.
  • the graphic engine 121 loads the printer driver 106 prepared for each printing device from the external memory 211 to the RAM 202 , and sets the output to the printer driver 106 .
  • the graphic engine 121 converts a GDI (Graphic Device Interface) function into a DDI (Device Driver Interface) function, and calls a DDI function provided by the printer driver 106 .
  • the printer driver 106 converts the command into a control command such as a PDL (Page Description Language) command recognizable by the printer on the basis of the DDI function called from the output module.
  • the converted printer control command passes through the system spooler 122 loaded by the OS to the RAM 202 , and is output as printing data to the printer 107 via the interface 21
  • the tree portion 901 displays a tree representing the structure of the open book (to be referred to as a “book of interest” hereinafter).
  • the preview portion three display methods are prepared in accordance with designation by the user.
  • the first method is a mode called an original view which directly displays original pages. In the original view mode, the contents of original pages belonging to the book of interest are reduced and displayed.
  • the display of the preview portion does not reflect any layout.
  • the second method is a printing view mode. In the printing view mode, the preview portion 902 displays original pages in a format which reflects the layout of them.
  • the third method is a simple printing view mode. In the simple printing view mode, the contents of original pages are not reflected in the display of the preview portion, but only the layout is reflected.
  • the document processing system is of a stand-alone type.
  • a server-client system as an extension of the stand-alone system also creates and edits a book file by almost the same configuration and sequence.
  • a book file and printing processing are managed by the server.
  • FIG. 13 is a block diagram showing the configuration of a server-client document processing system.
  • the client document processing system is constituted by adding to the stand-alone system a DOMS (Document Output Management Service) driver 109 serving as a client module, a DOMS printing service module 110 , and a DS (Document Service) client module 108 .
  • a client document processing system 1200 is connected to a document management server 1201 , centralized printing management server 1202 , and printing server 1203 . These servers are generally connected to the client document processing system via a network. When the servers also function as clients, they are connected by interprocess communication which simulates communication between networks.
  • the document management server 1201 and centralized printing management server 1202 are connected to the client in FIG. 13 , but only either one may exist on the network.
  • a document management server-client system 1201 SC including a client module is added to the stand-alone document management system. If the connected server is the centralized printing management server 1202 , a printing management server-client system 1202 SC including a client module is added.
  • the document management server 1201 stores a book file created and edited by the printing control application 104 .
  • the book file is saved in a database 1211 of the document management server 1201 instead of or in addition to the local HD of a client PC. Save and read of a book file between the printing control application 104 and the document management server 1201 are done via the DS client module 108 and a DS core 1212 .
  • the centralized printing management server 1202 manages printing of a book file stored in the client document processing system 1200 or document management server 1201 .
  • a printing request from the client is transmitted to a DOMS WG server module 1221 of the centralized printing management server 1202 via the DOMS driver 109 and DOMS printing service module 110 .
  • the centralized printing management server 1202 transfers electronic original data to the printing application 105 via the DOMS printing service module 110 of the client.
  • the centralized printing management server 1202 transmits electronic original data to a DOMS printing service module 1231 of the printing server 1203 .
  • the centralized printing management server executes security check on the qualification of a user who has issued a printing request for a saved book file, or saves the printing processing log.
  • the document processing system can be implemented as both a stand-alone system and client-server system.
  • FIG. 9 shows the operation window of the printing control application 104 .
  • the printing control application can set the function of a printing apparatus such as stapling, in addition to editing such as a change of the page order of a document, copying, and delete.
  • the printing control application can cause a designated printing apparatus to print.
  • a tree view representing a document structure is displayed in the left region of FIG. 9 .
  • a document is formed by a set of chapters, and each chapter is formed by a set of original pages.
  • the printing preview of each page is displayed in the right region of FIG. 9 .
  • FIG. 14 shows a “detailed setting for document” window 1400 of the printing control application 104 .
  • This window allows displaying/setting the “document setting information 403 ”.
  • This window is activated from the “detailed setting for document” item of a “printing format” menu on the application operation window of FIG. 9 or a “detailed setting for document” button on the tool bar.
  • the “detailed setting for document” window 1400 is a window for setting attributes which influence a whole document, i.e., book attributes shown in FIGS. 4A and 4B .
  • This window is formed by five sheets “page setup”, “decoration”, “edit”, “paper source”, and “printing quality”.
  • FIG. 14 shows a state in which the “page setup” sheet is displayed. In the “page setup” sheet, settings mainly concerning the layout can be done. Settings such as the paper size, direction, and N-page printing can be designated.
  • This window has check box controls 1401 and 1402 for the zoom.
  • FIG. 15 shows a “detailed setting for chapter” window 1500 of the printing control application 104 .
  • This window allows displaying/setting the “chapter setting information 407 ”.
  • This window is activated from the “detailed setting for chapter” menu of a printing setting menu on the application operation window of FIG. 9 or a “detailed setting for chapter” button on the tool bar.
  • the “detailed setting for chapter” window is a window for setting attributes unique to a chapter. This window is formed by four sheets “page setup”, “decoration”, “edit”, and “paper source”.
  • FIG. 15 shows a state in which the page setup sheet is displayed. In the page setup sheet, settings mainly concerning a layout unique to each chapter can be done. Settings such as the paper size, direction, and N-page printing can be designated.
  • “Follow book attribute” check box controls 1501 , 1502 , and 1503 are arranged for repetitive setting items between “detailed setting for document” and “detailed setting for chapter”. For an item group whose check box is checked, the setting values of the document are applied to the chapter. FIG. 16 shows a case wherein the check box is not checked. Settings unique to a chapter can be classified into two types: setting items held by only a chapter, and setting items whose setting values different from those of the document in the upper layer are held in the chapter layer.
  • FIG. 16 shows a state in which the check box controls 1501 and 1502 of “detailed setting for chapter” in FIG. 15 are not checked.
  • the check box controls 1501 and 1502 of “detailed setting for chapter” in FIG. 15 are not checked.
  • pages which constitute this chapter use A4 paper.
  • the layout even if the document designates one page/sheet, the chapter designates a layout of four pages/sheet. “Zoom arrange” is checked, and the setting values of the document in the upper layer are employed as those of the chapter.
  • FIG. 17 shows a “detailed setting for page” window 1700 of the printing control application 104 .
  • This window allows displaying/setting the “page setting information 411 ”.
  • This window is activated from the “detailed setting for page” menu of the printing format menu on the application operation window of FIG. 9 or a “detailed setting for page” button on the tool bar.
  • the “detailed setting for page” window is a window for setting attributes unique to each page. This window is formed by two sheets “page setup” and “edit”.
  • FIG. 17 shows a state in which the page setup sheet is displayed. In the page setup sheet, settings mainly concerning a layout unique to each page can be done, and settings such as the rotation angle and enlargement/reduction ratio in laying out an original page can be designated.
  • a “follow chapter attribute” check box control 1701 is arranged for repetitive setting items between “detailed setting for chapter” and “detailed setting for page”. For an item whose check box is checked, the setting value of the chapter is applied to the page.
  • FIG. 18 shows a case wherein the check box is not checked.
  • FIG. 18 shows a state in which “page rotation” setting is changed in “detailed setting for page” of FIG. 17 .
  • the control 1701 exhibits a setting of rotating and arranging an original page with the upper portion of the page oriented left in laying out the original page. This item is not a repetitive setting item in the chapter and document, no “follow chapter attribute” check box exists, and the setting displayed in this window is always adopted as the setting value of the page.
  • the “zoom arrange” item is a repetitive setting item in the chapter, and the setting value of the chapter is used as that of the page.
  • the “zoom arrange” item is a repetitive setting item in the document.
  • the “follow document attribute” 1503 is checked in the “zoom arrange” item of the chapter, the setting value of the document in the upper layer is used as that of the chapter, and thus the setting value of the document is used as that of the page.
  • the “zoom arrange” item is not checked in the chapter, the chapter has a unique setting value, and the setting value unique to the chapter is used as the setting value of the page.
  • Check box control information set in the setting window may be held in a dedicated region, but is desirably held as one attribute in the setting information shown in FIG. 3 .
  • regions for holding check box control information are added to the lists of FIGS. 5 and 6 .
  • FIG. 19 shows an example of the display format of the application when a setting item which is repeated in an upper layer does not use a setting value in the upper layer, i.e., when the check box control 1501 or 1701 is not checked and an exceptional setting exists in a predetermined unit (in this embodiment, for each chapter or each physical page)
  • FIG. 19 shows a display example when the layout of the first chapter is 4-up (to be also referred to as 4-in-1 hereinafter) and rotation is designated for the first page (10th page in the whole document) of the second chapter.
  • N-up and N-in-1 mean designation of laying out N original pages on one printing page.
  • the tree view displays a tree in a display format which clearly exhibits to the user an exceptional setting such as a setting unique to a chapter or page, i.e., a setting of a chapter different from that of the whole document or a setting of a page different from that of the whole document. More specifically, the icon of a chapter or page having an exceptional setting is displayed with a shape, color, or design visually identifiable from the icon of a chapter or page having no exceptional setting.
  • an icon 1901 corresponding to the first chapter changes in shape to exhibit that this chapter has a unique setting.
  • An icon 1902 corresponding to the first page of the second chapter also changes in shape to exhibit that this page has a special setting.
  • FIGS. 20A and 20B are flow charts showing the processing sequence of the printing control application 104 when single-sided printing or double-sided printing is set for each chapter serving as an intermediate layer.
  • a detailed setting dialog for a document is displayed (S 2001 ).
  • a document subjected to detailed setting is a document which has already been selected and opened (i.e., a page-storing file and corresponding editing information file).
  • a sheet displayed in detailed setting for the document is a “decoration” sheet.
  • an item 2101 is used to set the whole document to single-sided printing or double-sided printing. Selectable items are “double-sided printing”, “single-sided printing”, and “bookbinding printing”.
  • step S 2002 the user can set a printing method by selecting one of the options of the item 2101 .
  • step S 2003 the printing control application 104 stores the set document attribute as data corresponding to the printing method item No. 1 in FIG. 4A (top column in FIG. 4A ) in the editing information file 111 .
  • step S 2003 the printing control application 104 stores the set document attribute as data corresponding to the printing method item No. 1 in FIG. 4A (top column in FIG. 4A ) in the editing information file 111 .
  • setting data of the whole document is updated, and the dialog window of detailed setting for the document shown in FIG. 21 is closed (S 2003 ).
  • the whole document is set to double-sided printing.
  • the printing control application inserts a blank page to the lower surface of the final physical page for a chapter having an odd number of physical pages.
  • This can be realized by, for example, preparing a blank physical page node in advance in a job ticket, and when a physical page node belonging to a chapter, i.e., sheet bundle has an odd number, linking the prepared blank physical page node to the sheet node.
  • FIG. 22 shows the printing preview of a whole document when double-sided printing is set for the whole document.
  • a page belonging to a chapter 2201 is an image displayed on the middle stage of the preview window.
  • a page icon 2202 of the chapter 2201 displayed in the tree window only one page belongs to the chapter 2201 .
  • the A3 size and Z-folding are exceptionally designated for the chapter 2201 . Since the whole document is set to double-sided printing, a blank page 2203 is added to the lower plane of a page belonging to the chapter 2201 . This is a blank page automatically inserted by the printing control application, as described above.
  • FIG. 20A assume that the user opens the detailed setting dialog for the document shown in FIG. 14 from “printing format” of the display window 800 ( FIG. 8 ) of the printing control application 104 , and selects double-sided printing setting for the whole document on the “decoration” sheet. If the user selects the chapter 2201 and designates a “detailed setting for chapter” menu from the “printing format” column, processing in FIG. 20B is executed to display a detailed setting dialog shown in FIG. 23 for a selected chapter (S 2005 ).
  • a setting of switching between double-sided printing and single-sided printing during one printing job also depends on whether the printer for use provides this function.
  • the window in FIG. 23 is entirely grayed out to inhibit any exceptional setting for the chapter by the user.
  • step S 2006 whether the displayed sheet is the “decoration” sheet is determined. If YES in step S 2006 , whether the printer for use copes with the above-described switching function is determined in step S 2007 .
  • the printer function can be determined on the basis of model-dependent information acquired by transmitting a command by which the printer driver directly requests a function (model-dependent information) of the printer, acquiring model-dependent information serving as a list of functions provided by the printer, and acquiring the model-dependent information from the printer driver 106 by the printing control application 104 . This function is given to a general printer. As another method, the printer function can also be determined such that model-dependent information is held in the printer driver in advance and acquired by the printing control application 104 . If the printer does not cope with the double-sided/single-sided switching function in one printing job, the dialog window is grayed out so as to inhibit selection (S 2008 ).
  • the user can perform setting (S 2009 ). If the user checks an exceptional setting check box “the following item is set different from the document” at an item 2301 when the window in FIG. 23 is so displayed as to allow selection, the option “single-sided printing” or “double-sided printing” of the item 2301 is displayed as a selectable option. If the user selects the option of the item 2301 and clicks the “OK” button, the set exceptional chapter setting is stored as one attribute in the printing method item No. 1 in FIG. 5 , and applied as printing setting data of the page-storing file (S 2010 ). At the same time, the dialog window of FIG. 23 is closed. Also, a flag representing the exceptional chapter setting is saved in the printing method item of the editing information file. FIG. 24 shows a printing preview in this case.
  • a printer setting window is displayed. If the user clicks a button for confirming the start of printing, e.g., the “OK” button in this window, the printing control application 104 advances to a printing sequence. This will be explained below with reference to FIG. 25 .
  • the printer setting window allows the user to set a desired printer from a list of printers displayed in a “printer for use” column.
  • a printer for use printing method setting in the editing information file and page-storing file is tested to determine whether the setting and printer function match each other.
  • FIG. 26 shows a simple sequence.
  • the sequence of FIG. 26 is executed by the printing control application when one printer is selected from the “printer for use” column and the printer for use changes before and after selection.
  • the printing control application 104 refers to “printing method” among the chapter attributes of the editing information file, and determines whether an exceptional chapter setting exists (S 2601 ). This determination is achieved by referring to, e.g., a flag saved in correspondence with whether “the following item is set different from the document” check box in FIG. 23 has been checked.
  • step S 2601 whether a printer selected as a printer for use copes with the exceptional chapter setting, i.e., whether the printer has a function of switching between double-sided printing and single-sided printing during a printing job is determined (S 2602 ).
  • the printing control application 104 warns the user by a display or sound that the exceptional chapter setting in chapter attribute settings will be canceled if the current printer is determined as a printer for use (S 2603 ).
  • the printing control application 104 determines whether the OK button in the displayed warning dialog has been clicked (S 2604 ). If the user confirms the printer for use with the OK button or the like, the printing control application 104 cancels the exceptional chapter setting. That is, the printing control application 104 cancels the exceptional chapter setting flag from the printing method among the chapter attributes of the editing information file, and deletes setting data different from that of the document. This also applies to the page-storing file.
  • the printing control application 104 deletes the printing method setting different from that of the whole document, from printing setting data of the sheet bundle (S 2605 ).
  • the printing control application 104 switches the printer for use to a newly selected printer, ending printer selection (S 2606 ).
  • step S 2601 If no exceptional chapter setting exists in step S 2601 or the selected printer copes with the exceptional chapter setting in step S 2602 , the processing advances to step S 2606 , and the printing control application 104 sets the selected printer as a printer for use.
  • step S 2604 If the user is determined in step S 2604 not to express any agreement with the OK button or the like, printer selection processing ends.
  • FIG. 25 is a flow chart showing processing of instructing a device on the printing method, which is executed for each document or chapter by the printing application 105 in printing after the above-described printing setting. This processing is executed at the start of a document from step S 2501 , and executed at the start of a chapter from step S 2503 . As for the first chapter, processing is done subsequently to document setting.
  • the printing control application 104 issues a printing instruction, it generates despool table data on the basis of the contents of the page-storing file 103 and editing information file 111 .
  • FIG. 27 shows an example of the despool table.
  • This data has a structure obtained by mapping a job ticket which constitutes a page-storing file in the memory with almost no change. Similar to the job ticket, the data contains printing setting data set for each layer such as a whole document, sheet bundle, sheet, or physical page.
  • the job ticket When settings comply with those of an upper layer, the job ticket need not hold settings in each layer.
  • the job ticket holds the values of unique setting items (unique items) which are not defined in an upper layer in settings of a sheet, sheet bundle, or physical page, and the values of only items (exceptional items) having exceptional settings different from those of an upper layer out of items common to setting items in the upper layer.
  • the despool table similarly holds exceptional items and unique items as printing settings in FIG. 27 for each layer.
  • the printing application 105 which has received the despool table loads it to acquire the printing method of the whole document (S 2501 ).
  • the printing method of the whole document includes a printing method for the whole document, i.e., single-sided printing/double-sided printing for the whole document and printing method designation for a sheet bundle.
  • the despool table is regarded as a tree structure and scanned in the page order to read out printing setting data contained in each node or the node of a physical page serving as a leaf. Printing setting data of each layer such as a document, chapter, or sheet can be read out in the page order.
  • the printing application 105 instructs the device via the graphic engine 121 on the printing method of the whole document (S 2502 ).
  • the printing application 105 determines whether the device, i.e., the printer for use copes with switching of the printing method (S 2503 ). This determination can be performed by the same method as the above-described checking method of the printing control application 104 in designating a printing method as an exceptional chapter setting. When a check result is held, this determination can also be achieved by the held value.
  • step S 2503 If settings can be switched for each chapter, switching in each chapter is determined in step S 2503 and subsequent steps.
  • the printing application 105 determines the start of a chapter (S 2504 ). If a document node shifts to a sheet bundle node while reading out setting data or original data from the despool table, this point can be recognized as the start of a sheet bundle, i.e., chapter. In this manner, whether the current point is the start of a chapter, i.e., sheet bundle can be determined. If the current point is determined to be the start of a chapter, the printing application 105 reads printing setting data of the chapter (to be referred to as a chapter of interest hereinafter) and a printing method contained in the data (step S 2505 ). The printing application 105 determines whether a printing method has been designated as an exceptional setting of the chapter of interest (step S 2506 ).
  • the printing application 105 directly sets the printing method of the whole document as the printing method of the chapter, and sets the printing method as a parameter to be sent to the device (S 2507 ).
  • step S 2508 the printing application 105 instructs the device via the graphic engine 121 on the printing method of the exceptional chapter setting read in step S 2505 or the printing method of the whole document set in step S 2507 .
  • the printing application 105 performs the above sequence at the start of the document from step S 2501 and at each chapter from step S 2503 .
  • this setting is done by issuing a reset DC from the printing application 105 to the GDI to set DEVMODE and switching single-sided/double-sided printing.
  • the despooler sets attributes for each member of the DEVMODE structure, and then calls ResetDC( ) serving as a GDI function by using DEVMODE as an argument.
  • the DEVMODE contents are then transmitted to the driver via the graphic engine, and the driver controls the printer on the basis of the attributes.
  • the DEVMODE structure may be contained in the page-storing file together with content data and printing setting data. In this case, a value in the page-storing file is used. If no DEVMODE structure is contained in the page-storing file, a value given as a return value from the driver via the graphic engine upon calling CreateDC( ) serving as a GDI function by the despooler to the driver is used.
  • the despooler sets the attribute value of single-sided printing in a member which determines a single-sided/double-sided instruction in the DEVMODE structure. After that, the despooler calls and issues ResetDC( ) serving as a GDI function by using DEVMODE as an argument.
  • printing methods are set for a document and each chapter.
  • a printing instruction command is issued to the graphic engine for each printing page of each chapter to execute actual printing processing.
  • the printing instruction is a structure for issuing an instruction from an application to a device via a graphic engine and driver.
  • the printing instruction also depends on the device, and is created by the graphic engine 121 via the driver 106 .
  • the printing application 105 creates data to be processed by the graphic engine 121 .
  • the created data is identical to data created by an application program which prints via the graphic engine. That is, the printing application converts a page designated as a printing target by the printing control application and the printing settings of the page in accordance with a data format for transfer to the graphic engine.
  • the GDI serving as a graphic engine in Windows® manages image information processing to a display card or printer.
  • the GDI dynamically links a module called a device driver, and performs output processing to each device in order to absorb the dependence of the device such as a display card or printer.
  • the device driver for a printer is the printer driver 106 .
  • the printer driver 106 has a basic function group called DDI (Device Driver Interface) which is determined to be installed in the device driver in advance in accordance with the performance and function.
  • DDI Device Driver Interface
  • the GDI converts an API (Application Programming Interface) call by the printing application into device driver data.
  • the DDI function group is properly called by the GDI to generate the above-mentioned printing instruction, and this instruction is transmitted to the printer 107 via the spooler 122 .
  • the GDI sequentially processes a printing request from the printing application 105 via the printer driver.
  • the printer driver 106 performs processing of replacing drawing information having a high degree of abstraction with the PDL.
  • This printing mode command includes a color command or monochrome command.
  • the printing mode command created by the graphic engine 121 and printer driver 106 is output from the printer driver 106 , and temporarily held by the spooler 122 .
  • the printing mode command is then transmitted from the spooler 122 to the printer 107 asynchronously to printing mode command generation processing. In this processing, a printing instruction is transmitted to the device.
  • the printer 107 If the printer 107 receives a command for switching the printing method, the printer 107 changes single-sided printing/double-sided printing in accordance with the command, and performs actual image formation processing.
  • the printing system can set a printing method different from that of a whole document in a chapter desired by the user in a document created by an application. Printing is performed in accordance with the set printing method.
  • the setting When the setting cannot be realized in the printer, the setting is inhibited to prevent any inconsistency between settings and an actual use environment.
  • a document including both single-sided printing and double-sided printing can be executed by one printing job by generating for a document to be printed a printing job which holds single-sided printing or double-sided printing setting as a partial setting value, and causing the printer to execute the printing job.
  • An expressive document can, therefore, be created, and efficient printing can be performed in terms of the speed and maintenance cost without printing any wasteful blank page.
  • a printing method setting instruction is issued to the device regardless of the presence/absence of an exceptional chapter setting.
  • the printing method of an immediately preceding chapter is stored, and when different printing methods are set in a chapter of interest and immediately preceding chapter, a printing method setting instruction can be issued to the device at the start of the chapter of interest.
  • no exceptional chapter setting can be done unless the device copes with switching of the printing method, and determination in step s 2503 can be omitted.
  • issuing of a setting switching instruction can be prevented when no setting is switched.
  • the present invention may be applied to a system including a plurality of devices (e.g., a host computer, interface device, reader, and printer) or an apparatus (e.g., a copying machine, printer, or facsimile apparatus) formed from a single device.
  • a plurality of devices e.g., a host computer, interface device, reader, and printer
  • an apparatus e.g., a copying machine, printer, or facsimile apparatus
  • the object of the present invention is also achieved when a storage medium which stores software program codes for realizing the functions of the above-described embodiment are read out and executed by the computer (or the CPU or MPU) of a system or apparatus.
  • the program codes read out from the storage medium realize the functions of the above-described embodiment, and the storage medium which stores the program codes constitutes the present invention.
  • the storage medium for supplying the program codes includes a Floppy® disk, hard disk, optical disk, magnetooptical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, and ROM.
  • the functions of the above-described embodiment are realized when the computer executes the readout program codes. Also, the functions of the above-described embodiment are realized when an OS (Operating System) or the like running on the computer performs part or all of actual processing on the basis of the instructions of the program codes.
  • OS Operating System
  • the functions of the above-described embodiment are realized when the program codes read out from the storage medium are written in the memory of a function expansion board inserted into the computer or the memory of a function expansion unit connected to the computer, the CPU of the function expansion board or function expansion unit performs part or all of actual processing on the basis of the instructions of the program codes.
  • a document including both single-sided printing and double-sided printing can be printed by one printing job by generating a printing job which holds single-sided printing or double-sided printing setting as a partial setting value in a document to be printed, and causing a printer to execute the printing job.
  • An expressive document can be created, and efficient printing can be performed in terms of the speed and maintenance cost without printing any wasteful blank page.

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)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Document Processing Apparatus (AREA)

Abstract

This invention relates to a printing control method and apparatus, a computer program product, and the like in which printing data is held in a hierarchical structure and a printing job is issued to a printer to cause the printer to print. In the printing control method according to the present invention, different setting values can be set in the lower and upper layers of the hierarchical structure as printing setting data containing double-sided printing or single-sided printing setting. When a setting value different from that of the upper layer is set in the lower layer of the hierarchical structure, the printer is instructed on a setting in the lower layer for each printing data to which the setting value is applied.

Description

This application is a continuation of application Ser. No. 11/073,716, filed Mar. 8, 2005, now allowed, which is a continuation of application Ser. No. 10/724,761, filed Dec. 2, 2003, now U.S. Pat. No. 6,883,981, the contents of each of which are incorporated by reference herein.
FIELD OF THE INVENTION
The present invention relates to a printing control method and apparatus which combine output data generated by various programs such as a document processing program and image editing program into one document, provide an editing function for the document, and issue a printing job to a printing apparatus to cause the printing apparatus to print.
BACKGROUND OF THE INVENTION
When a printer prints document data, image data, or the like generated by an application program for document processing, image processing, or the like that is executed by a computer, the user can change printing settings within the range of functions provided by the application, printer, operating system, and the like. In general, printing settings are given for each printing job which is a printing processing execution unit for a set of data to be printed, control codes, and the like. For example, when the user is to print one document at different settings, parts having common settings are printed as one printing job. The user must perform this operation for a plurality of printing settings, and then combine printouts into a document. In other words, as far as data are printed by one printing job, common printing settings are applied to each part.
For this reason, one printing job cannot include partially different printing settings such as double-sided printing parts and single-sided printing parts. To print a document including double-sided printing parts and single-sided printing parts, only the following methods are selected.
(1) As described above, double-sided printing parts and single-sided printing parts are printed by separate printing jobs, and then combined into a document by the user.
(2) As for single-sided printing parts, blank pages corresponding to lower surfaces are inserted in advance by the user every other printing page (which is one surface of a printing sheet and also called a physical page). A completed document is printed in accordance with double-sided printing setting. In this case, blank pages may be inserted by executing a program having a blank sheet insertion function by a computer.
Method (1) causes the user to work, and the user is constrained to printing work at low productivity.
In method (2), originally unnecessary blank pages must be printed. This prolongs the time taken for printing processing, decreasing the productivity. When a maintenance contract to charge the user for each page is made for a printer for use between the user and the manufacturer or the like, the user is also charged even for a blank page inserted at a single-sided printing part.
In this manner, single-sided printing or double-sided printing can only be set for each printing job. Demands have arisen for dividing a printing job and generating the entity of data to be printed in accordance with printing settings.
SUMMARY OF THE INVENTION
The present invention has been made in consideration of the above situation, and has as its object to provide an information processing apparatus, printing data generation method, and printing control program which can print a document including both single-sided printing and double-sided printing by one printing job, create an expressive document, and perform efficient printing in terms of the speed and maintenance cost without printing any wasteful blank page by generating a printing job which holds single-sided printing or double-sided printing setting as a partial setting value in a document to be printed, and causing a printer to execute the printing job.
The present invention has been made in consideration of the above situation, and comprises the following arrangement.
(1) A printing control method of holding printing data in a hierarchical structure and issuing a printing job to a printer to cause the printer to print comprises
a setting step capable of setting different setting values in a lower layer and an upper layer of the hierarchical structure as printing setting data containing double-sided printing or single-sided printing setting, and
an instruction step of, when a setting value different from a setting value of the upper layer is set in the lower layer of the hierarchical structure, instructing the printer on a setting in the lower layer for each printing data to which the setting value is applied.
(2) In (1), the setting step includes a determination step of determining whether the printer copes with a change in the printing setting data during a printing job, and when the printer is determined to cope with the change, different setting values can be set in the lower layer and the upper layer of the hierarchical structure.
(3) In (1), the method further comprises a printer setting step of setting a printer for use, and in the printer setting step, whether a newly set printer copes with a change in the printing setting data during a printing job is determined, and when the printer is determined not to cope with the change and different setting values are set in the lower layer and the upper layer, setting is so changed as to make the setting value of the lower layer coincide with the setting value of the upper layer.
(4) In (3), in the printer setting step, when the newly set printer is determined not to cope with the change in the printing setting data during the printing job and different setting values are set in the lower layer and the upper layer, a warning to change setting is generated to a user before setting is so changed as to make the setting value of the lower layer coincide with the setting value of the upper layer.
(5) In (1), a setting in the upper layer includes a setting of a whole document, and a setting in the lower layer includes a setting of a chapter obtained by dividing the document.
(6) Alternatively, a document processing method of processing original data having a printing format as an attribute, comprises
a step of giving an attribute to each node and holding the original data in a tree structure; and
a step of setting, as an attribute of the entire original data, an attribute representing whether to print on only one side or two sides of a paper sheet, setting, as an attribute of each node, an attribute representing printing on only one side or the two sides of the paper sheet, allowing independently setting the attributes, and switching a printing method in accordance with the attribute.
(7) In (6), when an output apparatus cannot switch the printing method during printing, setting of the attribute at each node is inhibited.
Other features and advantages of the present invention will be apparent from the following description taken in conjunction with the accompanying drawings, in which like reference characters designate the same or similar parts throughout the figures thereof.
BRIEF DESCRIPTION OF THE DRAWINGS
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.
FIG. 1 is a block diagram showing an example of the software configuration of a stand-alone document processing system according to an embodiment;
FIG. 2 is a block diagram showing an example of a hardware configuration which implements the document processing system according to the embodiment;
FIG. 3 is a view showing an example of a book file structure;
FIGS. 4A and 4B are tables showing a list of book attributes;
FIG. 5 is a table showing a list of chapter attributes;
FIG. 6 is a table showing a list of page attributes;
FIG. 7 is a flow chart showing an example of a sequence of opening a book file;
FIG. 8 is a view showing an example of a user interface window when a new book file is opened;
FIG. 9 is a view showing an example of a user interface window when an existing book file is opened;
FIG. 10 is a flow chart showing an example of a sequence of importing a page-storing file to a book file;
FIG. 11 is a flow chart showing an example of a sequence of converting application data in step 801 of FIG. 10 into a page-storing file;
FIG. 12 is a view showing an example of a data structure used in printing or display;
FIG. 13 is a block diagram showing an example of the software configuration of a client-server document processing system;
FIG. 14 is a view showing an example of a dialog window for setting a whole document serving as the uppermost layer of a data structure;
FIG. 15 is a view showing an example of a dialog window for setting a chapter serving as the intermediate layer of the data structure;
FIG. 16 is a view showing an example of setting a unique attribute in the dialog window of FIG. 15;
FIG. 17 is a view showing an example of a dialog window for setting a page serving as the lowermost layer of the data structure;
FIG. 18 is a view showing an example of changing a setting value in the dialog window of FIG. 17;
FIG. 19 is a view showing a display example when a setting unique to a chapter or page is performed;
FIGS. 20A and 20B are flow charts when a printing format is set according to the embodiment;
FIG. 21 is a view showing an example of a GUI according to the embodiment;
FIG. 22 is a view showing another example of the GUI according to the embodiment;
FIG. 23 is a view showing still another example of the GUI according to the embodiment;
FIG. 24 is a view showing still another example of the GUI according to the embodiment;
FIG. 25 is a flow chart when each setting value is read out to print according to the embodiment;
FIG. 26 is a flow chart showing exceptional chapter setting check processing in selecting a printer for use; and
FIG. 27 is a view showing an example of a despool table.
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
A preferred embodiment of the present invention will be described in detail below with reference to the accompanying drawings.
[Outline of Document Processing System According to Embodiment]
The outline of a document processing system according to an embodiment of the present invention will be described with reference to FIGS. 1 to 13. The document processing system converts a data file created by a general application into a page-storing file by a printing data save driver. A printing control application provides a function (editing function) of editing an electronic original file, and a function (printing setting function) of setting a printing format. The editing function includes a function of changing the page order of the document of an electronic original file, and a function of managing a whole document, chapters, and pages in a hierarchical structure. The printing setting function enables the printing layout such as double-sided printing/single-sided printing/bookbinding printing, the printing format such as stapling/non-stapling and stapling position, and various settings such as color printing/monochrome printing, which are conventionally set as the properties of a printer driver. As the feature of the printing setting function, various settings described above can be individually set in a predetermined unit (whole document, chapter, or page) divided by the editing function. These settings are independent of a printer driver, unlike conventional settings by a printer driver. A printing control application 104 according to the present invention can perform various printing settings independently of a printer driver 106 at an output destination. For a page-storing file edited by the printing control application, an editing information file corresponding to the page-storing file is generated and saved. The contents of the page-storing file are read out for printing by a printing application (also called a despooler) via the printing control application. In this example, a general application, printing data save driver, printing control application, and printing application are separately described for distinction between these functions. However, a package provided to the user is not limited to them, and an application or graphic engine as a combination of them may be provided, details of which will be described below.
<Example of Hardware Configuration of Document Processing System According to Embodiment>
FIG. 2 is a block diagram for explaining the configuration of the document processing system according to the embodiment. The present invention can be applied to a single apparatus, a system comprised of a plurality of devices, or a system which is connected via a network such as a LAN or WAN and performs processing, as far as the function of the present invention is executed.
In FIG. 2, a host computer 100 comprises a CPU 201, RAM 202, ROM 203, and the like. The CPU 201 executes document processing in which figures, images, characters, tables (including spreadsheets and the like), and the like coexist, on the basis of a document processing program or the like stored in the program ROM of the ROM 203 or an external memory 211. The CPU 201 comprehensively controls devices connected to a system bus 204. The program ROM area of the ROM 203 or the external memory 211 stores, e.g., an operating system program (to be referred to as an OS hereinafter) serving as the control program of the CPU 201. The font ROM area of the ROM 203 or the external memory 211 stores, e.g., font data used in document processing. The data ROM area of the ROM 203 or the external memory 211 stores various data used in document processing or the like. The RAM 202 functions as a main memory, work area, or the like for the CPU 201.
A keyboard controller (KBC) 205 controls a key input from a keyboard 209 or a pointing device (not shown). A CRT controller (CRTC) 206 controls the display of a CRT display (CRT) 210. A disk controller (DKC) 207 controls access to the external memory 211 such as a hard disk (HD) or Floppy® disk (FD). The external memory 211 stores a boot program, various applications, font data, user files, edited files, a printer control command generation program (to be referred to as a printer driver hereinafter), and the like. A printer controller (PRTC) 208 is connected to a printer 107 via a bidirectional interface (interface) 21, and executes communication control processing with the printer 107.
The CPU 201 executes, e.g., rasterization processing of an outline font to a display information RAM set in the RAM 202, and enables WYSIWYG on the CRT display 210. The CPU 201 opens various registered windows and executes various data processes on the basis of commands designated on the CRT 210 with a mouse cursor (not shown) or the like. When the user executes printing, he/she opens a printing setting window provided by the printer driver, and can perform setting of a printer and setting of a printing processing method to the printer driver that includes selection of a printing mode.
The printer 107 is controlled by a CPU 312. The printer CPU 312 outputs an image signal as output information to a printing unit (printer engine) 317 connected to a system bus 315 on the basis of a control program stored in the program ROM area of a ROM 313 or a control program stored in an external memory 314. The program ROM area of the ROM 313 stores, e.g., the control program of the CPU 312. The font ROM area of the ROM 313 stores, e.g., font data used to generate the output information. The data ROM area of the ROM 313 stores, e.g., information used in the host computer for a printer having no external memory 314 such as a hard disk.
The CPU 312 can communicate with the host computer via an input unit 318, and notify the host computer 100 of internal printer information or the like. A RAM 319 functions as a main memory, work area, or the like for the CPU 312, and the memory capacity can be expanded by an optional RAM connected to an expansion port (not shown). The RAM 319 is used as an output information mapping area, environment data storage area, NVRAM, or the like. Access to the external memory 314 such as a hard disk (HD) or IC card is controlled by a memory controller (MC) 320. The external memory 314 is connected as an option, and stores font data, emulation programs, form data, and the like. Reference numeral 321 denotes an operation panel having operation switches, an LED display, and the like.
The number of external memories 314 is not limited to one, and a plurality of external memories 314 may be arranged. A plurality of external memories which store an option card and a program for interpreting the printer control languages of different language systems in addition to built-in fonts may be connected. Further, an NVRAM (not shown) may be adopted to store printer mode setting information from the operation panel 321.
<Example of Software Configuration of Document Processing System According to Embodiment>
FIG. 1 is a block diagram showing the software configuration of the document processing system according to the embodiment.
The document processing system is implemented by a digital computer 100 (to be also referred to as a host computer hereinafter) as an embodiment suited to the document processing apparatus (information processing apparatus) of the present invention. A general application 101 is an application program which provides functions such as wordprocessing, spreadsheet, photo-retouch, draw, paint, presentation, and text editing. The general application 101 has a function of requesting printing processing of an operating system (OS). Such applications utilize a predetermined interface provided by the OS in printing application data such as created document data or image data. To print created data, the application 101 transmits an output command in a predetermined format to the output module of the OS providing the interface. The output module which has received the output command converts it into a format processible by an output device such as a printer, and outputs the converted command. Since the format processible by the output device changes depending on the type of device, the manufacturer, and the model, a device driver is provided for each device. The OS converts a command by using the device driver, generates printing data, and combines printing data by JL (Job Language) to generate a printing job.
When the OS is Microsoft Windows®, the output module is a GDI (Graphic Device Interface) module. The application 101 calls a GDI function by using the created data as a parameter of a format complying with the GDI. As a result, the above-described output command is sent to the OS.
A printing data save driver 102 is an improvement of the above-mentioned device drivers, and is a software module provided to implement the document processing system. The printing data save driver 102 does not target a specific output device, and converts an output command into a format processible by the printing control application 104 or printer driver 106 (to be described later). The format (to be referred to as a “page-storing file format” hereinafter) converted by the printing data save driver 102 is not particularly limited as far as the document structure and each original page can be expressed by a detailed format. As the format which expresses each original page, the PDF format by Adobe Systems and the SVG format can be adopted as page-storing files.
In the embodiment, a page-storing file 103 and editing information file 111 are processed as separate files, but when no file is opened, are combined as an archive file in order to hold the unity.
In the system shown in FIG. 1, data contents saved in the page-storing file 103 can be processed. This realizes a function not provided to an application which creates an original, such as a function of enlarging/reducing printing data from an application or a function of reducing a plurality of pages into one page and printing the page. For this purpose, the system in FIG. 1 is expanded from a conventional one so as to spool intermediate code data. Processing of printing data is generally set through a window provided by the printing control application 104, and the setting contents are saved in the RAM 202 or external memory 211.
As shown in FIG. 1, according to the extended processing method, printing data from the application 101 is saved as the page-storing file 103 in the system via the printing data save driver 102. The page-storing file 103 is also called an intermediate file, and contains content data of a print material, printing setting data, and the like. Content data of a print material is data prepared by converting data created in an application by the user into an intermediate code. Printing setting data is data which describes how to output content data (output format or the like). In addition, the page-storing file 103 contains application extension data called an editing information file for providing a user interface when the printing control application causes the user to edit the contents of a page-storing file or issue an output instruction.
The contents of the page-storing file 103, and particularly printing setting data are updated by the printing control application 104. The printing control application 104 can display printing settings such as the output format, cause the user to change printing settings, and save the changed settings. At this time, printing settings are also reflected in attribute data of the editing information file together with printing setting data of the page-storing file.
Printing processing is actually executed by the printing application (despooler) 105. The printing application (despooler) 105 which has received a printing command from the printing control application 104 inputs data to a graphic engine 121 in a predetermined format such as a GDI function in accordance with the output format set by the printing control application 104. The graphic engine 121 converts the input data of the GDI function format or the like into a DDI function, and outputs the DDI function to the printer driver 106. The printer driver 106 generates a printer control command of the page description language or the like on the basis of the DDI function acquired from the graphic engine 121, and outputs the command to the printer 107 via a system spooler 122. FIG. 1 illustrates one printer driver 106 for descriptive convenience. However, the printing application 104 of the present invention is independent of the printer driver, and in printing, an arbitrary printer driver can be selected as an output destination from a plurality of printer drivers which are held in the document processing apparatus (information processing apparatus) 100, similar to a general application.
<Example of Data Format of Permanent File>
Before a detailed description of the printing control application 104, the data format of the page-storing file will be described. The page-storing file contains data of each original page (data of each page generated by an application: to be also referred to as a logical page) as content data, and data of a job ticket format as printing setting data. An editing information file for changing setting of printing setting information contained in the page-storing file is also stored by the printing control application (to be described later) together with the page-storing file. In some cases, a DEVMODE structure for sending a printing instruction to a driver by using a GDI function is contained.
In the page-storing file, original page data is defined by the PDF format or the like, and contains designation of the character font and color, and layout information of characters, figures, and the like within an original page. In the page-storing file, original page data of the PDF format and data of the job ticket format are intermediate data.
The job ticket serving as a page-storing file is data having a structure whose minimum unit is an original page. The structure of the job ticket defines the layout of an original page on a paper sheet. The node of the whole document is set at the top of the structure, and defines the attribute of the whole document such as double-sided printing/single-sided printing. This node is accompanied with a document structure and information representing setting of each building component. More specifically, a sheet bundle node belongs to the document node, and contains attributes such as the identifier of paper for use and designation of a feed port in the printer. The node of a sheet contained in the sheet bundle belongs to each sheet bundle node. One sheet corresponds to one paper sheet. A printing page (physical page) belongs to each sheet. One physical page belongs to one sheet in single-sided printing, and two physical pages belong to one sheet in double-sided printing. An original page to be laid out on a physical page belongs to the physical page. The physical page attribute contains an original page layout. An original page contains association information (link information) to original page data which is the entity of the original page.
Each node is given a setting value such as the printing format.
Settings of the whole document include pieces of following information.
(1) Layout information (e.g., so-called N-up printing setting of laying out N pages on one physical page) and order of original pages on a physical page (sheet surface of a printing medium)
(2) Document name
(3) Double-sided designation or not
(4) Variable printing (technique of embedding separately prepared data in the contents of a predetermined column and printing the resultant data) or not
(5) The number of contained original pages
(6) Color type
(7) The number of copies, etc.
(8) Watermark (ground pattern superposed on an original page or printing page)
(9) Printer state
(10) Medium type
(11) Logical page number list on a sheet
(12) Printing quality, etc.
As for printing settings of each sheet bundle, the following parameters can be set.
(13) Designation of N-up printing
(14) Color type
(15) Paper source
As for printing settings of each sheet belonging to each sheet bundle, the following parameter can be set.
(16) Setting of double-sided/single-sided printing
As for printing settings of each physical page (plane) belonging to each sheet, the following parameters can be set.
(17) Color type
(18) Designation of an upper or lower plane
As for printing settings of each original page laid out on each physical page, the following parameters can be set.
(19) Start coordinates
(20) Size
(21) Order
In this manner, the job ticket is data having a hierarchical structure whose minimum unit is an original page. Most of printing settings defined by the job ticket are common on each layer set for each document, but some printing settings such as N-up setting and color type are common between layers. In principle, as for a common setting, a lower layer inherits the same setting value as that of an upper layer. When an attribute common between layers has different values, a value set for a layer of interest is used as the value of the attribute. For example, the color type can be set for a whole document, sheet bundle (set of sheets), and physical page (to be also referred to as a plane or printing page). The color type is a setting which designates a mode in the printing apparatus. Printing data is generated such that, if the monochrome mode is set, the printing apparatus prints in monochrome; if the color mode is set, prints in color. Double-sided printing can be set for a whole document and sheet bundle.
FIG. 12 shows an example of the data structure of a job ticket. The structure in FIG. 12 is slightly different from the above-described structure in that no sheet bundle node exists, and a plane node is inserted instead immediately below a sheet node. In FIG. 12, a document to be printed is formed by a set of sheets, and each sheet is formed by two, upper and lower planes. Each plane has a region (physical page) for laying out an original, and each physical page is formed by a set of original pages serving as minimum units. Reference numeral 1101 denotes data corresponding to a document. The data 1101 is formed by data on a whole document and a list of sheet information constituting the document. Sheet information 1102 is formed by information on a sheet such as the sheet size, and a list of plane information laid out on the sheet. Plane information 1103 is formed by data unique to a plane, and a list of physical pages laid out on the plane. Physical page information 1104 is formed by information such as the size and header/footer of a physical page, and a list of original pages which form the physical page. The document information 1101, the sheet information 1102, the plane information 1103, the physical page information 1104, and original page information 1105 contain the above-described parameters.
<Document Structure Managed by Editing Information File>
The printing control application 104 is a program which provides a user interface for causing the user to designate data contained in a page-storing file by various methods and change printing settings. The page-storing file is a file having the above-described structure. The printing control application 104 manages the above-mentioned editing information file in correspondence with the page-storing file in order to manage the page-storing file. Based on editing information contained in the editing information file, the printing control application 104 manages a document with a management structure independent of a document defined by the page-storing file, e.g., a job ticket. The management structure is a hierarchical structure similar to the job ticket, but is formed by layers “book”, “chapter”, and “original (logical) page” from the top, unlike the job ticket. Of these layers, the original page corresponds to the original page of the job ticket. The chapter corresponds to the sheet bundle (set of sheets).
A virtual file displayed as a user interface is not a file which is page-storingly saved and managed, unlike the page-storing file 103, but is temporarily created for a user interface when the user changes the printing settings of the page-storing file or designates printing by using the printing control application 104. The printing control application 104 opens the page-storing file 103 together with a corresponding editing information file 111, creates a virtual book file having a structure defined by editing information from the page-storing file, and displays the book file as a user interface. When the user changes printing settings while referring to the book file via the user interface, the settings are reflected in the editing information file.
<Example of Format of Editing Information File>
Before referring to details of the printing control application 104, the data format of a book file, i.e., editing information file will be explained. The book file has a three-layered structure similar to a paper-medium book. The upper layer is called a “book”, resembles one book, and defines the attributes of the entire book. The intermediate layer corresponds to a chapter in the book, and is also called a “chapter”. As for each chapter, its attributes can be defined. The lower layer is a “page”, and corresponds to each page defined by an application program. As for each page, its attributes can be defined. One book may include a plurality of chapters, and one chapter may include a plurality of original pages.
FIG. 3 is a block diagram schematically showing an example of the book file format. A book, chapter, and page in the book file of this example are represented by corresponding nodes. One book file includes one book. The book and chapter are a concept for defining a book structure, and contain, as entities, defined attribute values and links to lower layers. The page entity is original page data of the PDF format or the like which is contained in the page-storing file 103. That is, the editing information file only defines the book file format and attributes, and does not contain original page data itself. The page has, as entities, data of each page output from an application program. The page includes an original page entity (original page data) and a link to each original page data in addition to an attribute value. Note that a printing page to be output to a paper medium may include a plurality of original pages. This structure is displayed not by a link, but by attributes in book, chapter, and page layers.
In FIG. 3, a book file need not be one completed book, and “book” is generalized as “document”. Information on a document, information on a chapter, and information on a page will be comprehensively called document information, chapter information, and page information, respectively.
In FIG. 3, document information 401 is defined at the top. The document information 401 can be roughly divided into three parts 402 to 404. The document control information 402 holds information such as the path name in the file system of a document file. The document setting information 403 holds layout information such as the page layout, and function setting information of a printing apparatus such as stapling, and corresponds to book attributes. The chapter information list 404 holds as a list a set of chapters which form a document. The list holds chapter information 405.
The chapter information 405 can also be roughly divided into three parts 406 to 408. The chapter control information 406 holds information such as the chapter name. The chapter setting information 407 holds information on the page layout and stapling unique to the chapter, and corresponds to chapter attributes. By holding setting information for each chapter, a document having a complicated layout can be created such that the first chapter has a 2-up layout and the remaining chapters have a 4-up layout. The page information list 408 holds as a list a set of original pages which form each chapter. The page information list 408 designates page information data 409.
The page information data 409 can also be roughly divided into three parts 410 to 412. The page control information 410 holds information such as a page number displayed at the tree. The page setting information 411 holds information such as the page rotation angle and page layout position information, and corresponds to original page attributes. The page link information 412 is original data corresponding to a page. In this example, the page information 409 does not directly have original data, but has only the link information 412. Actual original data is held by a page data list 413.
FIGS. 4A and 4B show a list representing an example of book attributes (document setting information 403). In general, as for an item which can be defined repetitively on a lower layer, the attribute value of the lower layer is preferentially adopted. As for an item contained in only the book attribute, a value defined in the book attribute is effective over the book. An item repetitively defined on a lower layer is a default value used when this item is not defined in the lower layer. In this example, however, whether to preferentially adopt the attribute value of a lower layer can be selected, which will be described later. Each item shown in FIGS. 4A and 4B does not correspond to one concrete item, but may contain a plurality of relevant items.
Items unique to book attributes are six items: printing method, details of bookbinding, front/back cover, index sheet, slip sheet, and chaptering. These items are defined over the book. As printing method attributes, three values: single-sided printing, double-sided printing, and bookbinding printing can be designated. Bookbinding printing is a method of printing data in a format which allows bookbinding by bundling a separately designated number of paper sheets, folding the bundle into two, and binding the bundle. As detailed bookbinding attributes, the opening direction and the number of paper sheets to be bundled can be designated when bookbinding printing is designated.
The front/back cover attribute includes designation of adding paper sheets serving as front and back covers when a page-storing file combined as a book is printed, and designation of contents to be printed on the added paper sheets. The index sheet attribute includes designation of inserting a tabbed index sheet separately prepared in a printing apparatus for chaptering, and designation of contents to be printed on the index (tabbed) portion. This attribute becomes effective when a printing apparatus to be used is equipped with an inserter having an inserting function of inserting a paper sheet prepared separately from a printing sheet into a desired position, or when a plurality of sheet cassettes can be used. This also applies to the slip sheet attribute.
The slip sheet attribute includes designation of inserting a paper sheet fed from an inserter or sheet feed cassette for chaptering, and designation of a sheet feed source when a slip sheet is inserted.
The chaptering attribute includes designation of whether to use a new paper sheet, use a new printing page, or do nothing particular at a chapter break. In single-sided printing, the use of a new paper sheet and the use of a new printing page are the same. In double-sided printing, a continuous chapter is not printed on one paper sheet if “the use of a new paper sheet” is designated, but may be printed on the obverse and reverse of one paper sheet if “the use of a new printing page” is designated.
FIG. 5 shows a list representing an example of chapter attributes (chapter setting information 407), and FIG. 6 shows a list representing an example of page attributes (page setting information 411). The relationship between chapter attributes and page attributes is the same as that between book attributes and lower layer attributes.
As for the chapter attribute, there is no item unique to the chapter, and all items overlap those of the book attribute. In general, if the definition of the chapter attribute is different from that of the book attribute, a value defined by the chapter attribute precedes. In this example, however, whether to preferentially adopt the attribute value of a lower layer can be selected, which will be described later.
Items common to only the book and chapter attributes are five items: paper size, paper direction, N-up printing designation, enlargement/reduction, and delivery method. The N-up printing designation attribute is an item for designating the number of original pages included in one printing page. Layouts which can be designated are 1×1, 1×2, 2×2, 3×3, 4×4, and the like. The delivery method attribute is an item for designating whether to staple discharged paper sheets. The effectiveness of this attribute depends on whether the printing apparatus has a stapling function.
Items unique to the page attribute are a page rotation attribute, zoom, layout designation, annotation, and page division. The page rotation attribute is an item for designating the rotation angle when an original page is laid out on a printing page. The zoom attribute is an item for designating the zoom ratio of an original page. The zoom ratio is designated based on a virtual logical page region size=100%. The virtual logical page region is a region occupied by one original page when original pages are laid out in accordance with N-up designation or the like. For example, the virtual logical page region is a region corresponding to one printing page for 1×1, and a region obtained by reducing each side of one printing page to about 70% for 1×2.
Attributes common to the book, chapter, and page are a watermark attribute and header/footer attribute. The watermark is a separately designated image or character string printed over data created by an application. The header and footer are watermarks printed at the upper and lower margins of each page. For the header and footer, items such as a page number, and time and date which can be designated by variables are prepared. Contents which can be designated by the watermark attribute and header/footer attribute are common to the chapter and page, but are different from those of the book. The book can set the contents of the watermark and header/footer, and designate how to print a watermark or header/footer throughout the book. To the contrary, the chapter and page can designate whether to print a watermark or header/footer set by the book on the chapter or page.
<Example of Operation Sequence of Document Processing System According to Embodiment>
The editing information file has the above-described structure and contents. A sequence of creating the editing information file 111 and page-storing file 103 by the printing control application 104 and printing data save driver 102 will be explained. Creation of the editing information file 111 is realized as part of editing operation of the editing information file 111 by the printing control application 104. FIG. 7 shows a sequence when the printing control application 104 opens the editing information file 111.
Whether an editing information file to be opened is one to be newly created or an existing one is determined (step S701). If YES in step S701, an editing information file including no chapter is newly created (step S702). In the example shown in FIG. 3, the newly created editing information file is a book node having no chapter node linked to the chapter information list 404. As the book attribute, a set of attributes prepared in advance for creation of a new editing information file are applied. A UI (User Interface) window for editing the new editing information file is displayed (step S704). FIG. 8 shows an example of a UI window when a book file is newly created. In this case, the book file does not have any substantial content, and a UI window 800 does not display anything.
If NO in step S701, a designated editing information file is opened (step S704), and data are rasterized in accordance with the structure, attributes, and contents of the editing information file to display a UI (User Interface) window. FIG. 9 shows an example of the UI window. A UI window 900 has a tree portion 901 representing a book structure, and a preview portion 902 displaying a state to be printed. The tree portion 901 displays chapters included in the book and pages included in each chapter by a tree structure so as to exhibit a tree structure as shown in FIG. 3. Pages displayed at the tree portion 901 are original pages. The preview portion 902 displays reduced printing page contents. The display order reflects the book structure. Data mapped in the RAM 102 also takes the same structure as that in FIG. 3. Attributes included in the node of each layer are also mapped in the RAM 102 in the format shown in FIGS. 4A to 6. For example, the structure of these attribute items can be realized with a pointer or the like, and each item at the attribute can be identified by the identifier of the item or the like.
Original page data can be added as a new chapter to the open editing information file by the printing data save driver 102. This function is called an import function. Application data is imported to the editing information file newly created by the sequence of FIG. 7, and the original page data is made to belong to the chapter of the editing information file, thereby giving an entity to the editing information file. This function is activated by drag-and-drop operation of application data to the window of FIG. 8. FIG. 10 shows an import processing sequence.
In FIG. 10, an application program which has generated designated application data is activated. The printing data save driver 102 is designated as a device driver, and application data is printed out to convert the data into data of an intermediate format (e.g., PDF format) (step S801). After conversion, whether the converted data is image data is determined (step S802). This determination can be done on the basis of the file extension of application data under the Windows® OS. For example, an extension “bmp” represents Windows® bitmap data; “jpg”, jpeg-compressed image data; and “tiff”, tiff-format image data.
If NO in step S802, the intermediate data generated in step S801 is added as a new chapter to the book of a currently open editing information file (step S803). That is, a new chapter and new original pages belonging to this chapter are added by import. Link information to the entity of an original page is written at each page node. The entity of the original page is generated by the printing data save driver 102.
In import, as for chapter attributes which are common to book attributes, the values of the book attributes are copied. As for unique chapter attributes, predetermined values are set.
If YES in step S802, no new chapter is added in principle, and image data is added to a designated chapter by using one file as one original page (step S804). For an empty file in which an editing information file is newly created, a new chapter is created, and image data is added as an original page belonging to the chapter. As for the page attribute, attributes common to the attributes of an upper layer are given the attribute values of the upper layer, and attributes which are defined in application data and inherited to the page-storing file are given values defined in the application data. For example, when N-up designation is defined in application data, the page inherits this attribute value. In this way, a new editing information file is created, or a new chapter is added.
As for a page-storing file, added original page data is newly added and saved if data generated by the printing data save driver is an addition to an existing page-storing file. At this time, if printing settings designated by an application are reflected in data generated by the printing data save driver, the printing settings can also be reflected in the page-storing file.
FIG. 11 is a flow chart showing a sequence of generating a page-storing file by the printing data save driver 102 in step S801 of FIG. 10. A new page-storing file is created and opened (step S901). An application corresponding to designated application data is activated. The printing data save driver 102 is set as a device driver to transmit an output command to an OS output module (e.g., Windows® GDI). The output module converts the received output command into data of a predetermined format (e.g., PDF format) by the printing data save driver 102, and outputs the converted data (step S902). The output destination is the page-storing file opened in step S901. Whether all designated data have been converted is determined (step S903), and if YES in step S903, the page-storing file is closed (step S904). The page-storing file generated by the printing data save driver 102 is a file which contains a structure shown in FIG. 12 and original page data entities.
<Editing of Permanent File and Editing Information File>
In the above fashion, the editing information file 111 and page-storing file 103 can be created from application data. As for the generated page-storing file 103, chapters and pages defined by the editing information file 111 can be edited as follows.
(1) New document
(2) Delete
(3) Copy
(4) Cut
(5) Paste
(6) Move
(7) Change chapter name
(8) Reassign page number/name
(9) Insert cover
(10) Insert slip sheet
(11) Insert index sheet
(12) Page layout of each original page
In addition, an operation of canceling executed editing operation, and an operation of restoring canceled operation can be performed. These editing functions enable editing operations such as consolidation of a plurality of editing information files, rearrangement of chapters and pages within an editing information file, delete of chapters and pages within an editing information file, layout change of an original page, and insertion of a slip sheet and index sheet. By these operations, operation results are reflected in attributes shown in FIGS. 4 to 6 or on an editing information file structure. For example, a blank page is inserted into a designated portion by an operation of newly adding a blank page. The blank page is processed as an original page. If the layout of an original page is changed, the change contents are reflected in attributes such as the printing method, N-up printing, front/back cover, index sheet, slip sheet, and chaptering.
These editing contents are also reflected in the page-storing file. For example, if double-sided printing is set as a printing method for a whole document, the setting is reflected as the book attribute of the editing information file and also as setting data of the whole document in printing setting data of the page-storing file.
<Output of Permanent File>
The ultimate goal of an editing information file created and edited in the above manner is to print it out. If the user selects a file menu from the UI window 900 of the printing control application shown in FIG. 9 and selects printing from this menu, the editing information file is then printed out by a designated output device. At this time, the printing control application 104 creates data called a despool table from a currently open editing information file and corresponding page-storing file (e.g., job ticket), and transfers the despool table to the printing application 105.
The despool table contains the same structure as that of the original job ticket, printing settings in respective layers, and association with original pages. More specifically, printing settings such as the number of copies, color type, and double-sided/single-sided printing designation which are effective for a whole document are accompanied by printing settings such as N-up printing designation which are effective for a sheet bundle (set of sheets). Each sheet belonging to each sheet bundle has printing settings such as double-sided/single-sided printing. Each physical page (plane) belonging to each sheet has printing settings such as the color type and designation of an upper/lower plane. The printing settings of each layer include settable items. Settings in the despool table are designated on physical pages in accordance with the device specifications. The printing application 105 converts the despool table into a parameter to be transferred to the graphic engine 121.
The printing application 105 converts the page-storing file 103 into an OS output command, e.g., a Windows® GDI command, and calls a GDI function serving as a graphic engine by using the command as a parameter. The graphic engine 121 generates a command complying with a device (e.g., printer) by the designated printer driver 121, and transmits the command to the device.
The graphic engine 121 loads the printer driver 106 prepared for each printing device from the external memory 211 to the RAM 202, and sets the output to the printer driver 106. The graphic engine 121 converts a GDI (Graphic Device Interface) function into a DDI (Device Driver Interface) function, and calls a DDI function provided by the printer driver 106. The printer driver 106 converts the command into a control command such as a PDL (Page Description Language) command recognizable by the printer on the basis of the DDI function called from the output module. The converted printer control command passes through the system spooler 122 loaded by the OS to the RAM 202, and is output as printing data to the printer 107 via the interface 21
(Example of Preview Display Contents)
As described above, when a book file is opened by the printing control application, the user interface window 900 shown in FIG. 9 is displayed. The tree portion 901 displays a tree representing the structure of the open book (to be referred to as a “book of interest” hereinafter). At the preview portion, three display methods are prepared in accordance with designation by the user. The first method is a mode called an original view which directly displays original pages. In the original view mode, the contents of original pages belonging to the book of interest are reduced and displayed. The display of the preview portion does not reflect any layout. The second method is a printing view mode. In the printing view mode, the preview portion 902 displays original pages in a format which reflects the layout of them. The third method is a simple printing view mode. In the simple printing view mode, the contents of original pages are not reflected in the display of the preview portion, but only the layout is reflected.
<Another Example of Configuration of Document Processing System>
The document processing system according to the embodiment is of a stand-alone type. A server-client system as an extension of the stand-alone system also creates and edits a book file by almost the same configuration and sequence. A book file and printing processing are managed by the server.
FIG. 13 is a block diagram showing the configuration of a server-client document processing system.
The client document processing system is constituted by adding to the stand-alone system a DOMS (Document Output Management Service) driver 109 serving as a client module, a DOMS printing service module 110, and a DS (Document Service) client module 108. A client document processing system 1200 is connected to a document management server 1201, centralized printing management server 1202, and printing server 1203. These servers are generally connected to the client document processing system via a network. When the servers also function as clients, they are connected by interprocess communication which simulates communication between networks. The document management server 1201 and centralized printing management server 1202 are connected to the client in FIG. 13, but only either one may exist on the network. If the connected server is the document management server, a document management server-client system 1201SC including a client module is added to the stand-alone document management system. If the connected server is the centralized printing management server 1202, a printing management server-client system 1202SC including a client module is added.
The document management server 1201 stores a book file created and edited by the printing control application 104. To manage a book file by the document management server 1201, the book file is saved in a database 1211 of the document management server 1201 instead of or in addition to the local HD of a client PC. Save and read of a book file between the printing control application 104 and the document management server 1201 are done via the DS client module 108 and a DS core 1212.
The centralized printing management server 1202 manages printing of a book file stored in the client document processing system 1200 or document management server 1201. A printing request from the client is transmitted to a DOMS WG server module 1221 of the centralized printing management server 1202 via the DOMS driver 109 and DOMS printing service module 110. To print a book file by the printer of the client, the centralized printing management server 1202 transfers electronic original data to the printing application 105 via the DOMS printing service module 110 of the client. To print a book file by the printing server 1203, the centralized printing management server 1202 transmits electronic original data to a DOMS printing service module 1231 of the printing server 1203. For example, the centralized printing management server executes security check on the qualification of a user who has issued a printing request for a saved book file, or saves the printing processing log. In this fashion, the document processing system can be implemented as both a stand-alone system and client-server system.
[Example of Editing Operation of Document Processing System According to Embodiment]
FIG. 9 shows the operation window of the printing control application 104. The printing control application can set the function of a printing apparatus such as stapling, in addition to editing such as a change of the page order of a document, copying, and delete. The printing control application can cause a designated printing apparatus to print. A tree view representing a document structure is displayed in the left region of FIG. 9. A document is formed by a set of chapters, and each chapter is formed by a set of original pages. The printing preview of each page is displayed in the right region of FIG. 9.
<Example of Attribute Setting of Document Processing System According to Embodiment>
FIG. 14 shows a “detailed setting for document” window 1400 of the printing control application 104.
This window allows displaying/setting the “document setting information 403”. This window is activated from the “detailed setting for document” item of a “printing format” menu on the application operation window of FIG. 9 or a “detailed setting for document” button on the tool bar. The “detailed setting for document” window 1400 is a window for setting attributes which influence a whole document, i.e., book attributes shown in FIGS. 4A and 4B. This window is formed by five sheets “page setup”, “decoration”, “edit”, “paper source”, and “printing quality”. FIG. 14 shows a state in which the “page setup” sheet is displayed. In the “page setup” sheet, settings mainly concerning the layout can be done. Settings such as the paper size, direction, and N-page printing can be designated. This window has check box controls 1401 and 1402 for the zoom.
FIG. 15 shows a “detailed setting for chapter” window 1500 of the printing control application 104.
This window allows displaying/setting the “chapter setting information 407”. This window is activated from the “detailed setting for chapter” menu of a printing setting menu on the application operation window of FIG. 9 or a “detailed setting for chapter” button on the tool bar. The “detailed setting for chapter” window is a window for setting attributes unique to a chapter. This window is formed by four sheets “page setup”, “decoration”, “edit”, and “paper source”. FIG. 15 shows a state in which the page setup sheet is displayed. In the page setup sheet, settings mainly concerning a layout unique to each chapter can be done. Settings such as the paper size, direction, and N-page printing can be designated. “Follow book attribute” check box controls 1501, 1502, and 1503 are arranged for repetitive setting items between “detailed setting for document” and “detailed setting for chapter”. For an item group whose check box is checked, the setting values of the document are applied to the chapter. FIG. 16 shows a case wherein the check box is not checked. Settings unique to a chapter can be classified into two types: setting items held by only a chapter, and setting items whose setting values different from those of the document in the upper layer are held in the chapter layer.
FIG. 16 shows a state in which the check box controls 1501 and 1502 of “detailed setting for chapter” in FIG. 15 are not checked. In this case, even if the whole document uses A3 paper, pages which constitute this chapter use A4 paper. As for the layout, even if the document designates one page/sheet, the chapter designates a layout of four pages/sheet. “Zoom arrange” is checked, and the setting values of the document in the upper layer are employed as those of the chapter.
FIG. 17 shows a “detailed setting for page” window 1700 of the printing control application 104.
This window allows displaying/setting the “page setting information 411”. This window is activated from the “detailed setting for page” menu of the printing format menu on the application operation window of FIG. 9 or a “detailed setting for page” button on the tool bar. The “detailed setting for page” window is a window for setting attributes unique to each page. This window is formed by two sheets “page setup” and “edit”. FIG. 17 shows a state in which the page setup sheet is displayed. In the page setup sheet, settings mainly concerning a layout unique to each page can be done, and settings such as the rotation angle and enlargement/reduction ratio in laying out an original page can be designated. A “follow chapter attribute” check box control 1701 is arranged for repetitive setting items between “detailed setting for chapter” and “detailed setting for page”. For an item whose check box is checked, the setting value of the chapter is applied to the page. FIG. 18 shows a case wherein the check box is not checked.
FIG. 18 shows a state in which “page rotation” setting is changed in “detailed setting for page” of FIG. 17. The control 1701 exhibits a setting of rotating and arranging an original page with the upper portion of the page oriented left in laying out the original page. This item is not a repetitive setting item in the chapter and document, no “follow chapter attribute” check box exists, and the setting displayed in this window is always adopted as the setting value of the page. When the control 1701 is set, the “zoom arrange” item is a repetitive setting item in the chapter, and the setting value of the chapter is used as that of the page.
The “zoom arrange” item is a repetitive setting item in the document. When the “follow document attribute” 1503 is checked in the “zoom arrange” item of the chapter, the setting value of the document in the upper layer is used as that of the chapter, and thus the setting value of the document is used as that of the page. When the “zoom arrange” item is not checked in the chapter, the chapter has a unique setting value, and the setting value unique to the chapter is used as the setting value of the page.
Check box control information set in the setting window may be held in a dedicated region, but is desirably held as one attribute in the setting information shown in FIG. 3. In this case, regions for holding check box control information are added to the lists of FIGS. 5 and 6.
<Example of Document Editing Display of Document Processing System According to Embodiment>
FIG. 19 shows an example of the display format of the application when a setting item which is repeated in an upper layer does not use a setting value in the upper layer, i.e., when the check box control 1501 or 1701 is not checked and an exceptional setting exists in a predetermined unit (in this embodiment, for each chapter or each physical page)
In the example of FIG. 19, a document is formed by two chapters “Chapter1” and “Chapter2”, and each chapter has original data of nine pages. FIG. 19 shows a display example when the layout of the first chapter is 4-up (to be also referred to as 4-in-1 hereinafter) and rotation is designated for the first page (10th page in the whole document) of the second chapter. Note that N-up and N-in-1 mean designation of laying out N original pages on one printing page.
At the preview portion on the right side of FIG. 19, four original pages are laid out on each of the first to third pages. On the fourth page, a character “A” is rotated.
The tree view displays a tree in a display format which clearly exhibits to the user an exceptional setting such as a setting unique to a chapter or page, i.e., a setting of a chapter different from that of the whole document or a setting of a page different from that of the whole document. More specifically, the icon of a chapter or page having an exceptional setting is displayed with a shape, color, or design visually identifiable from the icon of a chapter or page having no exceptional setting. In FIG. 19, an icon 1901 corresponding to the first chapter changes in shape to exhibit that this chapter has a unique setting. An icon 1902 corresponding to the first page of the second chapter also changes in shape to exhibit that this page has a special setting.
<Double-Sided/Single-Sided Setting of Each Chapter>
FIGS. 20A and 20B are flow charts showing the processing sequence of the printing control application 104 when single-sided printing or double-sided printing is set for each chapter serving as an intermediate layer.
If the user designates detailed setting for a document, the sequence of FIG. 20A starts. A detailed setting dialog for a document is displayed (S2001). A document subjected to detailed setting is a document which has already been selected and opened (i.e., a page-storing file and corresponding editing information file). In this case, a sheet displayed in detailed setting for the document is a “decoration” sheet. In FIG. 21, an item 2101 is used to set the whole document to single-sided printing or double-sided printing. Selectable items are “double-sided printing”, “single-sided printing”, and “bookbinding printing”. In step S2002, the user can set a printing method by selecting one of the options of the item 2101. The user properly sets detailed setting for the document, and then clicks the “OK” button. If the “OK” button is clicked, the processing advances to step S2003, and the printing control application 104 stores the set document attribute as data corresponding to the printing method item No. 1 in FIG. 4A (top column in FIG. 4A) in the editing information file 111. At the same time, as for printing setting data of the page-storing file, setting data of the whole document is updated, and the dialog window of detailed setting for the document shown in FIG. 21 is closed (S2003). In the example of FIG. 21, the whole document is set to double-sided printing.
If double-sided printing is set for the whole document, the printing control application inserts a blank page to the lower surface of the final physical page for a chapter having an odd number of physical pages. This can be realized by, for example, preparing a blank physical page node in advance in a job ticket, and when a physical page node belonging to a chapter, i.e., sheet bundle has an odd number, linking the prepared blank physical page node to the sheet node.
FIG. 22 shows the printing preview of a whole document when double-sided printing is set for the whole document. A page belonging to a chapter 2201 is an image displayed on the middle stage of the preview window. As is apparent from a page icon 2202 of the chapter 2201 displayed in the tree window, only one page belongs to the chapter 2201. The A3 size and Z-folding are exceptionally designated for the chapter 2201. Since the whole document is set to double-sided printing, a blank page 2203 is added to the lower plane of a page belonging to the chapter 2201. This is a blank page automatically inserted by the printing control application, as described above.
In FIG. 20A, assume that the user opens the detailed setting dialog for the document shown in FIG. 14 from “printing format” of the display window 800 (FIG. 8) of the printing control application 104, and selects double-sided printing setting for the whole document on the “decoration” sheet. If the user selects the chapter 2201 and designates a “detailed setting for chapter” menu from the “printing format” column, processing in FIG. 20B is executed to display a detailed setting dialog shown in FIG. 23 for a selected chapter (S2005).
A setting of switching between double-sided printing and single-sided printing during one printing job also depends on whether the printer for use provides this function. When a printer which does not cope with switching between double-sided printing and single-sided printing during one printing job is selected as a printer for use, the window in FIG. 23 is entirely grayed out to inhibit any exceptional setting for the chapter by the user.
For this reason, in step S2006, whether the displayed sheet is the “decoration” sheet is determined. If YES in step S2006, whether the printer for use copes with the above-described switching function is determined in step S2007. The printer function can be determined on the basis of model-dependent information acquired by transmitting a command by which the printer driver directly requests a function (model-dependent information) of the printer, acquiring model-dependent information serving as a list of functions provided by the printer, and acquiring the model-dependent information from the printer driver 106 by the printing control application 104. This function is given to a general printer. As another method, the printer function can also be determined such that model-dependent information is held in the printer driver in advance and acquired by the printing control application 104. If the printer does not cope with the double-sided/single-sided switching function in one printing job, the dialog window is grayed out so as to inhibit selection (S2008).
In this window, the user can perform setting (S2009). If the user checks an exceptional setting check box “the following item is set different from the document” at an item 2301 when the window in FIG. 23 is so displayed as to allow selection, the option “single-sided printing” or “double-sided printing” of the item 2301 is displayed as a selectable option. If the user selects the option of the item 2301 and clicks the “OK” button, the set exceptional chapter setting is stored as one attribute in the printing method item No. 1 in FIG. 5, and applied as printing setting data of the page-storing file (S2010). At the same time, the dialog window of FIG. 23 is closed. Also, a flag representing the exceptional chapter setting is saved in the printing method item of the editing information file. FIG. 24 shows a printing preview in this case.
After the above printing setting, if the user selects the “printing” item from the “file” menu in the window in FIG. 22 or 24, a printer setting window is displayed. If the user clicks a button for confirming the start of printing, e.g., the “OK” button in this window, the printing control application 104 advances to a printing sequence. This will be explained below with reference to FIG. 25.
When a plurality of printers are available, the printer setting window allows the user to set a desired printer from a list of printers displayed in a “printer for use” column. As described above, some printers cope with switching between double-sided printing and single-sided printing during a printing job, but some do not cope with it. Hence, in selecting a printer for use, printing method setting in the editing information file and page-storing file is tested to determine whether the setting and printer function match each other. FIG. 26 shows a simple sequence.
The sequence of FIG. 26 is executed by the printing control application when one printer is selected from the “printer for use” column and the printer for use changes before and after selection. The printing control application 104 refers to “printing method” among the chapter attributes of the editing information file, and determines whether an exceptional chapter setting exists (S2601). This determination is achieved by referring to, e.g., a flag saved in correspondence with whether “the following item is set different from the document” check box in FIG. 23 has been checked.
If YES in step S2601, whether a printer selected as a printer for use copes with the exceptional chapter setting, i.e., whether the printer has a function of switching between double-sided printing and single-sided printing during a printing job is determined (S2602).
If a printer which does not cope with the exceptional chapter setting has been selected, the printing control application 104 warns the user by a display or sound that the exceptional chapter setting in chapter attribute settings will be canceled if the current printer is determined as a printer for use (S2603). The printing control application 104 determines whether the OK button in the displayed warning dialog has been clicked (S2604). If the user confirms the printer for use with the OK button or the like, the printing control application 104 cancels the exceptional chapter setting. That is, the printing control application 104 cancels the exceptional chapter setting flag from the printing method among the chapter attributes of the editing information file, and deletes setting data different from that of the document. This also applies to the page-storing file. The printing control application 104 deletes the printing method setting different from that of the whole document, from printing setting data of the sheet bundle (S2605).
The printing control application 104 switches the printer for use to a newly selected printer, ending printer selection (S2606).
If no exceptional chapter setting exists in step S2601 or the selected printer copes with the exceptional chapter setting in step S2602, the processing advances to step S2606, and the printing control application 104 sets the selected printer as a printer for use.
If the user is determined in step S2604 not to express any agreement with the OK button or the like, printer selection processing ends.
If a printer which cannot cope with printing has been selected, all chapter printing method items shown in No. 1 of FIG. 5 are changed to “follow the designation of the whole document”. The printing method designation in the dialog is grayed out to inhibit selection.
<Processing Sequence by Printing Application>
An operation when the printing application (despooler) 105 receives printing instruction processing from the printing control application 104 will be explained.
FIG. 25 is a flow chart showing processing of instructing a device on the printing method, which is executed for each document or chapter by the printing application 105 in printing after the above-described printing setting. This processing is executed at the start of a document from step S2501, and executed at the start of a chapter from step S2503. As for the first chapter, processing is done subsequently to document setting.
If the printing control application 104 issues a printing instruction, it generates despool table data on the basis of the contents of the page-storing file 103 and editing information file 111. FIG. 27 shows an example of the despool table. This data has a structure obtained by mapping a job ticket which constitutes a page-storing file in the memory with almost no change. Similar to the job ticket, the data contains printing setting data set for each layer such as a whole document, sheet bundle, sheet, or physical page.
When settings comply with those of an upper layer, the job ticket need not hold settings in each layer. In this case, the job ticket holds the values of unique setting items (unique items) which are not defined in an upper layer in settings of a sheet, sheet bundle, or physical page, and the values of only items (exceptional items) having exceptional settings different from those of an upper layer out of items common to setting items in the upper layer. The despool table similarly holds exceptional items and unique items as printing settings in FIG. 27 for each layer.
The printing application 105 which has received the despool table loads it to acquire the printing method of the whole document (S2501). The printing method of the whole document includes a printing method for the whole document, i.e., single-sided printing/double-sided printing for the whole document and printing method designation for a sheet bundle. For example, the despool table is regarded as a tree structure and scanned in the page order to read out printing setting data contained in each node or the node of a physical page serving as a leaf. Printing setting data of each layer such as a document, chapter, or sheet can be read out in the page order.
The printing application 105 instructs the device via the graphic engine 121 on the printing method of the whole document (S2502).
The printing application 105 determines whether the device, i.e., the printer for use copes with switching of the printing method (S2503). This determination can be performed by the same method as the above-described checking method of the printing control application 104 in designating a printing method as an exceptional chapter setting. When a check result is held, this determination can also be achieved by the held value.
If settings can be switched for each chapter, switching in each chapter is determined in step S2503 and subsequent steps.
The printing application 105 determines the start of a chapter (S2504). If a document node shifts to a sheet bundle node while reading out setting data or original data from the despool table, this point can be recognized as the start of a sheet bundle, i.e., chapter. In this manner, whether the current point is the start of a chapter, i.e., sheet bundle can be determined. If the current point is determined to be the start of a chapter, the printing application 105 reads printing setting data of the chapter (to be referred to as a chapter of interest hereinafter) and a printing method contained in the data (step S2505). The printing application 105 determines whether a printing method has been designated as an exceptional setting of the chapter of interest (step S2506).
If no exceptional chapter setting exists, the printing application 105 directly sets the printing method of the whole document as the printing method of the chapter, and sets the printing method as a parameter to be sent to the device (S2507).
In step S2508, the printing application 105 instructs the device via the graphic engine 121 on the printing method of the exceptional chapter setting read in step S2505 or the printing method of the whole document set in step S2507.
The printing application 105 performs the above sequence at the start of the document from step S2501 and at each chapter from step S2503.
For Windows®, this setting is done by issuing a reset DC from the printing application 105 to the GDI to set DEVMODE and switching single-sided/double-sided printing.
More specifically, the despooler sets attributes for each member of the DEVMODE structure, and then calls ResetDC( ) serving as a GDI function by using DEVMODE as an argument. The DEVMODE contents are then transmitted to the driver via the graphic engine, and the driver controls the printer on the basis of the attributes. The DEVMODE structure may be contained in the page-storing file together with content data and printing setting data. In this case, a value in the page-storing file is used. If no DEVMODE structure is contained in the page-storing file, a value given as a return value from the driver via the graphic engine upon calling CreateDC( ) serving as a GDI function by the despooler to the driver is used.
An example of a single-sided/double-sided instruction will be described. When a document or chapter has single-sided printing setting, the despooler sets the attribute value of single-sided printing in a member which determines a single-sided/double-sided instruction in the DEVMODE structure. After that, the despooler calls and issues ResetDC( ) serving as a GDI function by using DEVMODE as an argument. The DEVMODE value is transmitted to the driver via the graphic engine, and the driver reads out a double-sided/single-sided member and instructs the printer on the single-sided printing mode on the basis of the attribute value (=single-sided printing).
In the above fashion, printing methods are set for a document and each chapter. A printing instruction command is issued to the graphic engine for each printing page of each chapter to execute actual printing processing.
The printing instruction is a structure for issuing an instruction from an application to a device via a graphic engine and driver. The printing instruction also depends on the device, and is created by the graphic engine 121 via the driver 106. For this purpose, the printing application 105 creates data to be processed by the graphic engine 121. The created data is identical to data created by an application program which prints via the graphic engine. That is, the printing application converts a page designated as a printing target by the printing control application and the printing settings of the page in accordance with a data format for transfer to the graphic engine.
The GDI serving as a graphic engine in Windows® manages image information processing to a display card or printer. The GDI dynamically links a module called a device driver, and performs output processing to each device in order to absorb the dependence of the device such as a display card or printer. The device driver for a printer is the printer driver 106. The printer driver 106 has a basic function group called DDI (Device Driver Interface) which is determined to be installed in the device driver in advance in accordance with the performance and function. The GDI converts an API (Application Programming Interface) call by the printing application into device driver data. The DDI function group is properly called by the GDI to generate the above-mentioned printing instruction, and this instruction is transmitted to the printer 107 via the spooler 122. The GDI sequentially processes a printing request from the printing application 105 via the printer driver. When the printer 107 is equipped with a controller capable of processing a printing mode command called PDL (Printer Description Language), the printer driver 106 performs processing of replacing drawing information having a high degree of abstraction with the PDL. This printing mode command includes a color command or monochrome command.
The printing mode command created by the graphic engine 121 and printer driver 106 is output from the printer driver 106, and temporarily held by the spooler 122. The printing mode command is then transmitted from the spooler 122 to the printer 107 asynchronously to printing mode command generation processing. In this processing, a printing instruction is transmitted to the device.
If the printer 107 receives a command for switching the printing method, the printer 107 changes single-sided printing/double-sided printing in accordance with the command, and performs actual image formation processing.
With this arrangement, the printing system according to the embodiment can set a printing method different from that of a whole document in a chapter desired by the user in a document created by an application. Printing is performed in accordance with the set printing method.
When an exceptional setting different from that of a whole document is done for a chapter, whether this setting can be realized by a printer is determined. When the exceptional setting is possible, it can be reliably realized.
When the setting cannot be realized in the printer, the setting is inhibited to prevent any inconsistency between settings and an actual use environment.
Also when the printer for use is changed and the setting cannot be realized in a newly designated printer for use, a warning to cancel such exceptional chapter setting is generated. If the user agrees on cancellation, the exceptional chapter setting is canceled. Hence, even if the printer is changed, inconsistency between settings and an actual use environment can be prevented.
As described above, a document including both single-sided printing and double-sided printing can be executed by one printing job by generating for a document to be printed a printing job which holds single-sided printing or double-sided printing setting as a partial setting value, and causing the printer to execute the printing job. An expressive document can, therefore, be created, and efficient printing can be performed in terms of the speed and maintenance cost without printing any wasteful blank page.
In FIG. 25, if the device copes with setting switching, a printing method setting instruction is issued to the device regardless of the presence/absence of an exceptional chapter setting. Alternatively, the printing method of an immediately preceding chapter is stored, and when different printing methods are set in a chapter of interest and immediately preceding chapter, a printing method setting instruction can be issued to the device at the start of the chapter of interest. In this case, no exceptional chapter setting can be done unless the device copes with switching of the printing method, and determination in step s2503 can be omitted. In this case, issuing of a setting switching instruction can be prevented when no setting is switched.
Note that the order of flow charts described in the embodiment can be changed as far as processing is completed.
The present invention may be applied to a system including a plurality of devices (e.g., a host computer, interface device, reader, and printer) or an apparatus (e.g., a copying machine, printer, or facsimile apparatus) formed from a single device.
The object of the present invention is also achieved when a storage medium which stores software program codes for realizing the functions of the above-described embodiment are read out and executed by the computer (or the CPU or MPU) of a system or apparatus. In this case, the program codes read out from the storage medium realize the functions of the above-described embodiment, and the storage medium which stores the program codes constitutes the present invention.
The storage medium for supplying the program codes includes a Floppy® disk, hard disk, optical disk, magnetooptical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, and ROM.
The functions of the above-described embodiment are realized when the computer executes the readout program codes. Also, the functions of the above-described embodiment are realized when an OS (Operating System) or the like running on the computer performs part or all of actual processing on the basis of the instructions of the program codes.
Also, the functions of the above-described embodiment are realized when the program codes read out from the storage medium are written in the memory of a function expansion board inserted into the computer or the memory of a function expansion unit connected to the computer, the CPU of the function expansion board or function expansion unit performs part or all of actual processing on the basis of the instructions of the program codes.
As has been described above, according to the present invention, a document including both single-sided printing and double-sided printing can be printed by one printing job by generating a printing job which holds single-sided printing or double-sided printing setting as a partial setting value in a document to be printed, and causing a printer to execute the printing job. An expressive document can be created, and efficient printing can be performed in terms of the speed and maintenance cost without printing any wasteful blank page.
As many apparently widely different embodiments of the present invention can be made without departing from the spirit and scope thereof, it is to be understood that the invention is not limited to the specific embodiments thereof except as defined in the appended claims.

Claims (9)

1. An information processing apparatus for setting a print setting to a document containing a plurality of groups, comprising:
a setting unit, configured to accept an instruction from a user for setting different print settings for a whole document as a first setting and for a group contained in the document as a second setting, respectively for a print setting representing whether to perform single-sided printing or double-sided printing on a paper sheet;
a direction unit, configured to direct a printing apparatus to print the document in which the second setting is set to the group contained in the document when the printing apparatus has a capability of switching a print setting between groups contained in the document, and
configured to direct a printing apparatus to print the document in which the first setting is set to the group contained in the document when the printing apparatus has no capability of switching the print setting between groups contained in the document.
2. A method for setting a print setting to a document containing a plurality of groups, comprising:
a setting step of accepting an instruction from a user for setting different print settings for a whole document as a first setting and for a group contained in the document as a second setting, respectively for a print setting representing whether to perform single-sided printing or double-sided printing on a paper sheet; and
a direction step of directing a printing apparatus to print the document in which the second setting is set to the group contained in the document when the printing apparatus has a capability of switching a print setting between groups contained in the document, and
directing a printing apparatus to print the document in which the first setting is set to the group contained in the document when the printing apparatus has no capability of switching the print setting between groups contained in the document.
3. A non-transitory computer-readable storage medium for setting a print setting to a document containing a plurality of groups, comprising:
a setting step of accepting an instruction from a user for setting different print settings for a whole document as a first setting and for a group contained in the document as a second setting, respectively for a print setting representing whether to perform single-sided printing or double-sided printing on a paper sheet; and
a direction step of directing a printing apparatus to print the document in which the second setting is set to the group contained in the document when the printing apparatus has a capability of switching a print setting between groups contained in the document, and
directing a printing apparatus to print the document in which the first setting is set to the group contained in the document when the printing apparatus has no capability of switching the print setting between groups contained in the document.
4. The apparatus according to claim 1, wherein said direction unit directs the printing apparatus to print the document in which the first setting is set to a part of the document without groups to which the second setting is set.
5. The apparatus according to claim 1, further comprising a confirm unit, configured to confirm directing the printing apparatus to print the document in accordance with the first setting set to the whole document by the direction unit or canceling printing when the printing apparatus has no capability of switching the print setting between groups contained in the document.
6. The method according to claim 2, wherein in the direction step, the printing apparatus is directed to print the document in which the first setting is set to a part of the document without groups to which the second setting is set.
7. The method according to claim 2, further comprising a confirm step of confirming directing the printing apparatus to print the document in accordance with the first setting set to the whole document by the direction unit or canceling printing when the printing apparatus has no capability of switching the print setting between groups contained in the document.
8. The non-transitory computer-readable storage medium according to claim 3, wherein in the direction step, the printing apparatus is directed to print the document in which the first setting is set to a part of the document without groups to which the second setting is set.
9. The non-transitory computer-readable storage medium according to claim 3, further comprising a confirm step of confirming directing the printing apparatus to print the document in accordance with the first setting set to the whole document by the direction step or canceling printing when the printing apparatus has no capability of switching the print setting between groups contained in the document.
US13/051,932 2002-12-05 2011-03-18 Printing control method and apparatus Expired - Fee Related US8215852B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/051,932 US8215852B2 (en) 2002-12-05 2011-03-18 Printing control method and apparatus

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
JP2002353892A JP3962679B2 (en) 2002-12-05 2002-12-05 Printing control method and apparatus
JP2002-353892 2002-12-05
US10/724,761 US6883981B2 (en) 2002-12-05 2003-12-02 Printing control method and apparatus
US11/073,716 US7927030B2 (en) 2002-12-05 2005-03-08 Printing control method and apparatus
US13/051,932 US8215852B2 (en) 2002-12-05 2011-03-18 Printing control method and apparatus

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US11/073,716 Continuation US7927030B2 (en) 2002-12-05 2005-03-08 Printing control method and apparatus

Publications (2)

Publication Number Publication Date
US20110170926A1 US20110170926A1 (en) 2011-07-14
US8215852B2 true US8215852B2 (en) 2012-07-10

Family

ID=32463315

Family Applications (3)

Application Number Title Priority Date Filing Date
US10/724,761 Expired - Lifetime US6883981B2 (en) 2002-12-05 2003-12-02 Printing control method and apparatus
US11/073,716 Active 2027-10-01 US7927030B2 (en) 2002-12-05 2005-03-08 Printing control method and apparatus
US13/051,932 Expired - Fee Related US8215852B2 (en) 2002-12-05 2011-03-18 Printing control method and apparatus

Family Applications Before (2)

Application Number Title Priority Date Filing Date
US10/724,761 Expired - Lifetime US6883981B2 (en) 2002-12-05 2003-12-02 Printing control method and apparatus
US11/073,716 Active 2027-10-01 US7927030B2 (en) 2002-12-05 2005-03-08 Printing control method and apparatus

Country Status (3)

Country Link
US (3) US6883981B2 (en)
JP (1) JP3962679B2 (en)
CN (2) CN1303515C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110292429A1 (en) * 2009-02-06 2011-12-01 Oce Technologies B.V. Method for processing documents on an image-processing apparatus
US9517653B2 (en) 2012-09-05 2016-12-13 Canon Kabushiki Kaisha Information processing for executing pre-press and press processes

Families Citing this family (53)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3962679B2 (en) * 2002-12-05 2007-08-22 キヤノン株式会社 Printing control method and apparatus
US7861162B2 (en) * 2003-11-14 2010-12-28 Samsung Electronics Co., Ltd. Help file generating method and apparatus
KR100571957B1 (en) * 2003-12-26 2006-04-17 삼성전자주식회사 Method and device for selectively printing file
JP4574344B2 (en) * 2004-01-20 2010-11-04 キヤノン株式会社 Information processing apparatus and method
US7992145B2 (en) * 2004-03-05 2011-08-02 Microsoft Corporation Multilevel ticket-based job management architecture for computing devices
US20050206956A1 (en) * 2004-03-16 2005-09-22 Kabushiki Kaisha Toshiba Printing system, method of controlling printing and program for use in printing systems
US8661332B2 (en) 2004-04-30 2014-02-25 Microsoft Corporation Method and apparatus for document processing
US8363232B2 (en) * 2004-05-03 2013-01-29 Microsoft Corporation Strategies for simultaneous peripheral operations on-line using hierarchically structured job information
US7580948B2 (en) 2004-05-03 2009-08-25 Microsoft Corporation Spooling strategies using structured job information
US8243317B2 (en) * 2004-05-03 2012-08-14 Microsoft Corporation Hierarchical arrangement for spooling job data
US7532345B2 (en) * 2004-05-05 2009-05-12 Marvell International Technology Ltd. Host-based printed driver
JP4154368B2 (en) * 2004-06-15 2008-09-24 キヤノン株式会社 Document processing apparatus, document processing method, and document processing program
US20060066884A1 (en) * 2004-09-24 2006-03-30 Kabushiki Kaisha Toshiba Printing control apparatus and method of controlling the printing thereof
JP4545550B2 (en) * 2004-10-29 2010-09-15 株式会社リコー Print control device, program, and recording medium
JP4527519B2 (en) * 2004-12-20 2010-08-18 株式会社リコー Print editing program
US20060203258A1 (en) * 2005-03-10 2006-09-14 Kabushiki Kaisha Toshiba File management apparatus
JP2006277057A (en) * 2005-03-28 2006-10-12 Brother Ind Ltd Information processing device and program
JP4704245B2 (en) 2005-03-31 2011-06-15 株式会社リコー Image forming apparatus, information processing method, program, and recording medium
JP4876188B2 (en) * 2005-03-31 2012-02-15 株式会社リコー Image forming apparatus, information processing method, program, and recording medium
JP4289328B2 (en) * 2005-06-29 2009-07-01 ブラザー工業株式会社 Information acquisition program and information acquisition apparatus
JP2007011576A (en) * 2005-06-29 2007-01-18 Canon Inc Information processing apparatus and method
JP4144614B2 (en) * 2005-08-05 2008-09-03 コニカミノルタビジネステクノロジーズ株式会社 Print management method, program, and print management apparatus
JP5031223B2 (en) * 2005-10-26 2012-09-19 キヤノン株式会社 Information processing apparatus, print control method, program, and storage medium
US20070097418A1 (en) * 2005-10-27 2007-05-03 Keizen Kanazawa Job management system and program for the same
JP4844208B2 (en) * 2006-04-10 2011-12-28 コニカミノルタビジネステクノロジーズ株式会社 Processing function setting method, information processing apparatus, control program for controlling image forming apparatus, and computer-readable recording medium recording control program
JP4630847B2 (en) * 2006-06-09 2011-02-09 キヤノン株式会社 Information processing apparatus, information processing method, and program
JP4871653B2 (en) 2006-06-23 2012-02-08 キヤノン株式会社 Image forming apparatus, method applicable to the apparatus, and control program
US8185957B2 (en) * 2006-10-30 2012-05-22 Lexmark International, Inc. Peripheral device
US20080144134A1 (en) * 2006-10-31 2008-06-19 Mohamed Nooman Ahmed Supplemental sensory input/output for accessibility
US8743388B2 (en) * 2006-10-31 2014-06-03 Lexmark International, Inc. Access to networked peripheral device for impaired users
US20080127183A1 (en) * 2006-11-27 2008-05-29 Microsoft Corporation Document Workflows and Routing Services Using Modular Filters
US7855799B2 (en) * 2007-01-16 2010-12-21 Shah Pradip K Print workflow automation
JP2009042983A (en) * 2007-08-08 2009-02-26 Canon Inc Information processor, information processing system, information processing method, program and storage medium
US8797562B2 (en) * 2008-03-05 2014-08-05 Ricoh Production Print Solutions LLC Page level recovery on print jobs for production printing systems
KR101442638B1 (en) * 2008-09-03 2014-09-24 삼성전자주식회사 Image forming apparatus, and method for controling print thereof
JP5328318B2 (en) * 2008-11-26 2013-10-30 キヤノン株式会社 Information processing method, information processing apparatus, and computer program
JP4743262B2 (en) * 2008-12-01 2011-08-10 コニカミノルタビジネステクノロジーズ株式会社 Method and program executed by print setting apparatus for setting print setting item
JP5675047B2 (en) * 2008-12-15 2015-02-25 キヤノン株式会社 Document processing apparatus and computer program
DE102009010902A1 (en) * 2009-03-02 2010-09-16 SOFHA GmbH Gesellschaft für Soft- und Hardware Method and arrangement for configuring a printer driver and a corresponding computer program and a corresponding computer-readable storage medium
JP2010218442A (en) * 2009-03-18 2010-09-30 Canon Inc Information processor, control method for same, and computer program
JP4605296B2 (en) * 2009-06-09 2011-01-05 ブラザー工業株式会社 Print data processing program and print data processing apparatus
JP2012098927A (en) 2010-11-02 2012-05-24 Canon Inc Information processor, information processing method, program and information processing system
DE102010054344A1 (en) * 2010-12-13 2012-06-14 Heidelberger Druckmaschinen Ag System for creating and inspecting static and variable content printing
JP5716422B2 (en) 2011-02-01 2015-05-13 株式会社リコー Print setting editing program, print setting editing apparatus, and print setting editing method
JP5757202B2 (en) * 2011-09-01 2015-07-29 ブラザー工業株式会社 Page processing program and information processing apparatus
JP5901324B2 (en) * 2012-02-07 2016-04-06 キヤノン株式会社 Information processing apparatus, information processing method, and program
JP2014106570A (en) * 2012-11-22 2014-06-09 Ricoh Co Ltd Information processing apparatus, job processing control method, and job processing control program
JP6064589B2 (en) * 2012-12-26 2017-01-25 株式会社リコー Control device, control method, and control program
JP6209866B2 (en) * 2013-05-31 2017-10-11 株式会社リコー Information processing apparatus, printing system including information processing apparatus, setting method, and program
KR20160016458A (en) * 2014-08-05 2016-02-15 삼성전자주식회사 Print control apparatus, printing control method, image forming apparatus, image forming method and computer-readable recording medium
JP6550835B2 (en) * 2015-03-26 2019-07-31 セイコーエプソン株式会社 Printing control device and printing device
US10445391B2 (en) 2015-03-27 2019-10-15 Jostens, Inc. Yearbook publishing system
CN111857612B (en) * 2020-06-24 2022-07-12 厦门汉印电子技术有限公司 GDI-based drive function module configuration method, device, equipment and storage medium

Citations (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5718520A (en) * 1995-05-22 1998-02-17 Xerox Corporation Apparatus and method for modifying a print job ticket
US5923013A (en) * 1996-05-09 1999-07-13 Fuji Xerox Co., Ltd. Print control system and method for controlling the system in page by page basis
US6050732A (en) 1998-02-02 2000-04-18 Ricoh Company, Ltd. Double-side printing control method
US6100994A (en) * 1997-02-14 2000-08-08 Oce Technologies, B.V. Reproduction device for copying, scanning or printing image information and provided with an improved user interface
US6134568A (en) * 1998-10-30 2000-10-17 Kinko's Ventures, Inc. Previewing an assembled document
US6213652B1 (en) * 1995-04-18 2001-04-10 Fuji Xerox Co., Ltd. Job scheduling system for print processing
US6219149B1 (en) 1997-04-01 2001-04-17 Fuji Xerox Co., Ltd. Print processing apparatus
US6278524B1 (en) 1997-07-02 2001-08-21 Canon Kabushiki Kaisha Printing control apparatus and method
US6313919B1 (en) 1997-07-02 2001-11-06 Canon Kabushiki Kaisha Printing control apparatus and method
US6337961B2 (en) 1998-12-22 2002-01-08 Canon Kabushiki Kaisha Print control method and apparatus, and printer
US6509974B1 (en) 2000-05-17 2003-01-21 Heidelberger Druckmaschinen Ag Automated job creation for job preparation
US20030056176A1 (en) 2001-09-14 2003-03-20 Satoshi Tanaka Document processing method and apparatus, and print control method and apparatus
US20030142337A1 (en) 2002-01-31 2003-07-31 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and recording medium storing program
US6615166B1 (en) * 1999-05-27 2003-09-02 Accenture Llp Prioritizing components of a network framework required for implementation of technology
US20030184806A1 (en) 2002-02-06 2003-10-02 Canon Kabushiki Kaisha Displaying of print layout
US6665081B1 (en) 1996-07-19 2003-12-16 Seiko Epson Corporation Print system printer driver and printer
US6857796B2 (en) 2001-06-05 2005-02-22 Dainippon Screen Mfg. Co., Ltd. Printing system for bookbinding cover and body portions
US6883981B2 (en) 2002-12-05 2005-04-26 Canon Kabushiki Kaisha Printing control method and apparatus
US6995860B2 (en) * 2000-05-17 2006-02-07 Eastman Kodak Company System and method for visual representation of tabs in a production printing workflow
US7064849B1 (en) 1998-12-22 2006-06-20 Canon Kabushiki Kaisha Data processing apparatus adaptable to plural environments and data processing method
US7307751B2 (en) 2001-04-19 2007-12-11 Canon Kabushiki Kaisha Print control apparatus, information processing apparatus, print control method, control method of information processing apparatus, and programs
US7852497B2 (en) 2002-12-26 2010-12-14 Canon Kabushiki Kaisha Method of controlling printing control apparatus

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3863343A (en) * 1971-09-24 1975-02-04 Oscar Malmin Dental patient drape
US4974604A (en) * 1987-10-29 1990-12-04 Johnson & Johnson Medical Inc. Surgical drape with fluid collection system
JPH11105384A (en) * 1997-10-02 1999-04-20 Canon Inc Printing system, method for controlling print and recording medium

Patent Citations (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6213652B1 (en) * 1995-04-18 2001-04-10 Fuji Xerox Co., Ltd. Job scheduling system for print processing
US5718520A (en) * 1995-05-22 1998-02-17 Xerox Corporation Apparatus and method for modifying a print job ticket
US5923013A (en) * 1996-05-09 1999-07-13 Fuji Xerox Co., Ltd. Print control system and method for controlling the system in page by page basis
US6665081B1 (en) 1996-07-19 2003-12-16 Seiko Epson Corporation Print system printer driver and printer
US6100994A (en) * 1997-02-14 2000-08-08 Oce Technologies, B.V. Reproduction device for copying, scanning or printing image information and provided with an improved user interface
US6219149B1 (en) 1997-04-01 2001-04-17 Fuji Xerox Co., Ltd. Print processing apparatus
US6278524B1 (en) 1997-07-02 2001-08-21 Canon Kabushiki Kaisha Printing control apparatus and method
US6313919B1 (en) 1997-07-02 2001-11-06 Canon Kabushiki Kaisha Printing control apparatus and method
US6050732A (en) 1998-02-02 2000-04-18 Ricoh Company, Ltd. Double-side printing control method
US6134568A (en) * 1998-10-30 2000-10-17 Kinko's Ventures, Inc. Previewing an assembled document
US6337961B2 (en) 1998-12-22 2002-01-08 Canon Kabushiki Kaisha Print control method and apparatus, and printer
US7064849B1 (en) 1998-12-22 2006-06-20 Canon Kabushiki Kaisha Data processing apparatus adaptable to plural environments and data processing method
US6615166B1 (en) * 1999-05-27 2003-09-02 Accenture Llp Prioritizing components of a network framework required for implementation of technology
US6509974B1 (en) 2000-05-17 2003-01-21 Heidelberger Druckmaschinen Ag Automated job creation for job preparation
US6995860B2 (en) * 2000-05-17 2006-02-07 Eastman Kodak Company System and method for visual representation of tabs in a production printing workflow
US7307751B2 (en) 2001-04-19 2007-12-11 Canon Kabushiki Kaisha Print control apparatus, information processing apparatus, print control method, control method of information processing apparatus, and programs
US6857796B2 (en) 2001-06-05 2005-02-22 Dainippon Screen Mfg. Co., Ltd. Printing system for bookbinding cover and body portions
US7188311B2 (en) 2001-09-14 2007-03-06 Canon Kabushiki Kaisha Document processing method and apparatus, and print control method and apparatus
US20030056176A1 (en) 2001-09-14 2003-03-20 Satoshi Tanaka Document processing method and apparatus, and print control method and apparatus
US20030142337A1 (en) 2002-01-31 2003-07-31 Canon Kabushiki Kaisha Information processing apparatus, information processing method, and recording medium storing program
US20030184806A1 (en) 2002-02-06 2003-10-02 Canon Kabushiki Kaisha Displaying of print layout
US6883981B2 (en) 2002-12-05 2005-04-26 Canon Kabushiki Kaisha Printing control method and apparatus
US7852497B2 (en) 2002-12-26 2010-12-14 Canon Kabushiki Kaisha Method of controlling printing control apparatus

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110292429A1 (en) * 2009-02-06 2011-12-01 Oce Technologies B.V. Method for processing documents on an image-processing apparatus
US9517653B2 (en) 2012-09-05 2016-12-13 Canon Kabushiki Kaisha Information processing for executing pre-press and press processes

Also Published As

Publication number Publication date
US20040107855A1 (en) 2004-06-10
JP2004185489A (en) 2004-07-02
US6883981B2 (en) 2005-04-26
CN1506801A (en) 2004-06-23
CN1983157A (en) 2007-06-20
CN100514274C (en) 2009-07-15
US7927030B2 (en) 2011-04-19
JP3962679B2 (en) 2007-08-22
US20050146732A1 (en) 2005-07-07
US20110170926A1 (en) 2011-07-14
CN1303515C (en) 2007-03-07

Similar Documents

Publication Publication Date Title
US8215852B2 (en) Printing control method and apparatus
US7559024B2 (en) Document processing apparatus and method
US7194696B2 (en) Document processing method and system
US7299413B2 (en) Document processing method and system
US8248654B2 (en) Information processing apparatus and method, and print control program
US7929157B2 (en) Information processing apparatus and method
US8218190B2 (en) Document processing apparatus and method
US6896426B2 (en) Document processing system, information processing apparatus, and setting methods therefor
US7188311B2 (en) Document processing method and apparatus, and print control method and apparatus
JP4564693B2 (en) Document processing apparatus and method
US20030159114A1 (en) Document processing apparatus and method
US8830491B2 (en) Document processing apparatus, document processing method, and document processing program
US20030103236A1 (en) Information processing apparatus and information processing method
US20030056177A1 (en) Document processing apparatus and method
US8305594B2 (en) Print control apparatus and method for managing print settings
US20070268522A1 (en) Information processing apparatus and information processing method
US20060262347A1 (en) Information processing apparatus and device selection method
US8144345B2 (en) Information-processing apparatus and method
US20050190405A1 (en) Document conversion method and apparatus
US20100131566A1 (en) Information processing method, information processing apparatus, and storage medium
US20030184806A1 (en) Displaying of print layout
JP2005107845A (en) Document processor, document processing method, storage medium storing computer-readable program, and program
JP4721391B2 (en) Printing control apparatus and method
JP2005149212A (en) Document processing method and document processing apparatus

Legal Events

Date Code Title Description
STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

FPAY Fee payment

Year of fee payment: 4

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20200710