PRINTING APPARATUS, PRINTING APPARATUS CONTROL METHOD, AND PROGRAM
The printing device manages power supply to external devices by conditionally limiting or holding print jobs, preventing power shortages and ensuring timely printing for critical tasks.
Patent Information
- Application Number
- JP2020181600
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-29
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-10-29
AI Technical Summary
Conventional printing devices reduce power supply to external devices upon receiving a print instruction, risking power shortages in these devices due to inconsistent power management.
The printing device includes a control unit that determines whether to limit or hold printing based on specific conditions, such as time, location, and priority, ensuring a stable power supply to external devices.
This approach effectively prevents power shortages in external devices by optimizing power distribution and allowing immediate printing when necessary, while temporarily suspending non-urgent jobs to maintain power availability.
Smart Images

Figure 0007593056000001 
Figure 0007593056000002 
Figure 0007593056000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a printing device that supplies power to an external device, a control method for the printing device, and a program. [Background technology]
[0002] Conventionally, various printing devices have been proposed that supply power to external devices via an interface. For example, the printing device disclosed in Patent Document 1 supplies power to external devices from a USB interface that conforms to the USB PD (USB Power Delivery) standard. When the printing device receives a print instruction while supplying power to the external device, the printing device reduces the amount of power supplied to the external device and then executes printing based on the received print instruction. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6448200 Summary of the Invention [Problem to be solved by the invention]
[0004] The printing device described above reduces the amount of power supplied to the external device on the condition that a print instruction is received from the external device. If the amount of power supplied is reduced, the external device may experience a power shortage. Regardless of the type of print instruction, the amount of power supplied to the external device is reduced each time the printing device receives a print instruction, and this may result in a power shortage.
[0005] The present application has been proposed in consideration of the above-mentioned problems, and aims to provide a printing device, a control method for a printing device, and a program that can prevent the occurrence of power shortages in external devices to which power is supplied. [Means for solving the problem]
[0006] The present application discloses a printing device comprising a printing unit that performs printing, an interface, and a control unit, wherein when the control unit receives a print job that instructs the printing unit to print while a predetermined amount of power is being supplied to an external device via the interface, it executes a judgment process to determine whether a first condition is satisfied or a second condition different from the first condition, a print process to limit the amount of power supplied to the external device via the interface and perform printing by the printing unit based on the print job if it is determined as a result of the judgment process that the first condition is satisfied, and a hold process to hold off the execution of printing by the printing unit based on the print job without limiting the amount of power supplied to the external device via the interface if it is determined as a result of the judgment process that the second condition is satisfied.
[0007] The present application is not limited to being embodied as a printing device, and may be embodied in various forms. The present application is also useful as a control method for controlling a printing device, or as a program executed by a computer that controls a printing device. Effect of the Invention
[0008] According to the printing device and the like according to the present application, it is possible to prevent the occurrence of power shortages in external devices to which power is supplied. [Brief description of the drawings]
[0009] [Figure 1] FIG. 2 is a block diagram showing the electrical configuration of the printer according to the embodiment. [Diagram 2] FIG. 13 is a diagram showing a print reservation setting screen displayed on a user interface. [Diagram 3] 13 is a flowchart showing the contents of a print reservation determination process. [Figure 4] 10 is a flowchart showing the contents of a reserved print job process. [Diagram 5] FIG. 13 is a diagram showing a reserved printing information screen displayed on a user interface. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, a portable printer 1, which is one embodiment of a printing device according to the present invention, will be described with reference to FIG.
[0011] (1. Configuration of a portable printer) 1 shows an electrical configuration of a portable printer 1 according to an embodiment. The printer 1 is, for example, a portable printing device that can be carried around, and prints image data of a print job received from a PC, a smartphone, or the like via wired or wireless communication on a predetermined sheet (such as thermal paper). The printer 1 includes a CPU 12, a RAM 13, a ROM 14, a NVRAM 15, a printing unit 16, an image reading unit 17, a USB (Universal Serial Bus) connection unit 19, a user interface 20, a communication unit 21, a short-range wireless communication unit 22, a FAX communication unit 23, a power controller 25, a power supply unit 27, and the like. These CPUs 12 and the like are connected to each other via a bus 11 and are capable of communicating with each other.
[0012] The ROM 14 is a non-volatile memory such as a flash memory, and stores various programs such as a control program 41. For example, the CPU 12 executes the control program 41 read from the ROM 14 to start up the system of the printer 1. The control program 41 is an example of a program of the present application. The storage destination of the control program 41 described above is an example. For example, the control program 41 may be stored in the NVRAM 15 or a hard disk. The storage destination of the control program 41 may also be a computer-readable storage medium. In addition to the above examples, recording media such as CD-ROMs and DVD-ROMs may also be used as the computer-readable storage medium.
[0013] The control program 41 is, for example, firmware that comprehensively controls each part of the printer 1. The CPU 12 executes the control program 41 and controls each part connected via the bus 11 while temporarily storing the results of the executed processing in the RAM 13. In the following description, the CPU 12 that executes the control program 41 may be referred to simply as the CPU 12. For example, the description "the CPU 12" may mean "the CPU 12 that executes the control program 41."
[0014] The NVRAM 15 is a non-volatile memory. The NVRAM 15 stores various setting information of the printer 1. The NVRAM 15 of this embodiment stores address information 33 and hold setting information 34. The address information 33 is information on the destination of a FAX, and is stored in association with information such as a registration number, the name of the other party, and a telephone number. The user can edit the address information 33, for example, by operating the user interface 20. The hold setting information 34 is setting information for holding printing. Details of the hold setting information 34 will be described later. In addition, as will be described later, when the printer 1 holds back the execution of printing for which a print instruction has been accepted, the printer 1 stores data of the print job related to the print instruction in the NVRAM 15.
[0015] The printing unit 16 includes, for example, a line-type thermal head 47, and prints an image on a sheet by a direct thermal method based on the control of the CPU 12. The printing unit 16 rotates a platen roller 48 provided opposite the thermal head 47 to transport the sheet. For example, when a sheet is inserted into the insertion opening of the printer 1 at the start of printing, the inserted sheet is guided to the portion where the platen roller 48 and the thermal head 47 face each other, and is discharged from the discharge opening after printing is completed.
[0016] The above-described configuration of the printing unit 16 is an example. The printing unit 16 may be configured to include a toner cartridge, a photosensitive drum, a developing roller, an exposure device, etc., and to perform printing by an electrophotographic method. Alternatively, the printing unit 16 may be configured to include, for example, an inkjet head, an ink cartridge, etc., and to perform printing by an inkjet method.
[0017] The image reading unit 17 includes an original table (not shown) and an image sensor such as a CIS (Contact Image Sensor) or a CCD (Charge-Coupled Device). The image reading unit 17 moves the CIS or the like relative to an original placed on the original table, reads the original, generates image data, and stores the image data in the RAM 13.
[0018] The USB connection unit 19 is an interface that performs communication and power transfer in accordance with, for example, the USB PD (USB Power Delivery) standard. The USB connection unit 19 includes a receptacle 51 as a connector. The USB connection unit 19 performs data communication and power transfer between various external devices 61 connected to the receptacle 51. In FIG. 1, as an example, one external device 61 is connected to one receptacle 51. As this external device, for example, various devices that can be connected by communication according to the USB standard can be adopted, such as a smartphone, a personal computer, a notebook computer, a printer, an external hard disk, a USB memory, and a card reader. The USB connection unit 19 may include a plurality of receptacles 51.
[0019] The receptacle 51 is, for example, a connector that complies with the USB Type-C standard. The receptacle 51 has a plurality of signal lines for data communication and power transfer. For example, the receptacle 51 has a TX signal line, an RX signal line, a D signal line, a Vbus signal line, a CC signal line, a ground signal line, and the like, as a plurality of signal lines in a connector of the USB Type-C standard. The signal lines may also be called pins. The receptacle 51 performs data communication using, for example, the TX signal line, the RX signal line, or the D signal line. The D signal line is, for example, a Data signal line, and indicates D+ / D-. The receptacle 51 also supplies and receives power using the Vbus signal line.
[0020] The CC signal line is a signal line used to determine, for example, the power role, and includes a CC1 signal line and a CC2 signal line corresponding to the front and back of the plug connected to receptacle 51. The CC signal line can also be used as a signal line for communication related to device management, such as an alert message. Receptacle 51 has a dual role power (DRP) function that can be switched to a power source, which is a power role that supplies power, or a power sink, which is a power role that receives power.
[0021] Power controller 25 controls the exchange of power and the transmission and reception of data via USB connection unit 19. Power controller 25 determines the power role based on, for example, the connection state of the CC signal line (such as the potential of the CC signal line) when external device 61 is connected to receptacle 51, and executes negotiation for power exchange. Negotiation here refers to, for example, processing for setting the power source or power sink, setting the amount of power to be exchanged, and the like.
[0022] The power controller 25 executes negotiation such as setting the amount of power supply W to be supplied via the Vbus signal line to the receptacle 51 functioning as the power source. The power controller 25 transmits a power list of the amount of power supply W to the external device 61 under the control of the CPU 12, for example. The power list here is information indicating a combination of a voltage value of the supply voltage Vs and a current value of the supply current As that the printer 1 can supply as a power source. The power list may also be called a profile. The combination of the voltage value and the current value may also be called a PDO (Power Data Object). For example, in the power transfer via the USB connection unit 19 of this embodiment, power can be supplied from the power source to the power sink in a range of power amounts from 10 W (5 V, 2 A) to 100 W (20 V, 5 A). The power list is information indicating a combination (PDO) of a voltage value and a current value that the printer 1 functioning as a power source can supply within this range of power amounts.
[0023] The power controller 25 receives a combination of a voltage value and a current value to be received from the transmitted power list from the external device 61 functioning as a power sink. If the power controller 25 can supply the supply voltage Vs of the requested voltage value and the supply current As of the requested current value with a supply power amount W, the power controller 25 supplies the supply power amount W to the external device 61.
[0024] 1, the power controller 25 includes a memory 26. A program PG is stored in the memory 26. The power controller 25 includes a processing circuit such as a CPU, and executes the program PG in the processing circuit to control the power supply unit 27. The memory 26 is configured by combining, for example, a RAM, a ROM, a flash memory, and the like.
[0025] The power supply unit 27 functions as a power supply for each device in the printer 1 and supplies power to each device. The power supply unit 27 includes a power cord 28, a battery 31, and the like. The power supply unit 27 generates a DC voltage of a desired voltage value from an AC voltage received from an AC power source via the power cord 28, and supplies the generated DC voltage to each device in the printer 1. The power supply unit 27 also transforms a DC voltage supplied from the battery 31 to generate a DC voltage to be supplied to each device in the printer 1. Therefore, the printer 1 can be driven by the battery 31 even when the AC power source is not connected. The power supply unit 27 can charge the battery 31 with power supplied via the power cord 28 or power received from an external device 61 via the USB connection unit 19. The power supply unit 27 does not have to include the battery 31.
[0026] Furthermore, the power supply unit 27 is connected to the USB connection unit 19. The power supply unit 27 generates the power of the supply amount W (supply voltage Vs, supply current As) to be supplied from the USB connection unit 19 to the external device 61 from an AC voltage received via a power cord 28 or a DC voltage supplied from a battery 31.
[0027] The user interface 20 is, for example, a touch panel, and includes a liquid crystal panel, a light source such as an LED that emits light from the rear side of the liquid crystal panel, and a touch-sensitive film attached to the surface of the liquid crystal panel. The user interface 20 accepts operations on the printer 1 and outputs a signal according to the operation input to the CPU 12. The user interface 20 also displays information related to the printer 1. The user interface 20 changes the display content of the liquid crystal panel based on the control of the CPU 12. The user interface 20 may also include operation buttons such as hard keys. The user interface 20 is not limited to a configuration in which a display unit and an operation unit are integrally provided, such as a touch panel, and may also be a configuration in which the display unit and the operation unit are provided separately.
[0028] The communication unit 21 is a communication device capable of wired communication and wireless communication. The communication unit 21 is connected to the PC 63 via a wired network 62 such as a LAN cable or a router. The CPU 12 receives the image formation job JOB1 from the PC 63 via the communication unit 21. The image formation job JOB1 is, for example, information including image data and instructing printing based on the image data. The CPU 12 executes printing by the printing unit 16 based on the image data of the received image formation job JOB1. The CPU 12 can also receive other jobs such as a scan job via the communication unit 21. In the following description, instruction information for the printer 1 such as the image formation job JOB1 or the scan job may be referred to as a job. Also, a job that instructs printing may be referred to as a print job. Note that the communication means of the communication unit 21 is not limited to wired communication, and may be wireless communication such as WiFi (registered trademark). Also, a device that transmits a job such as the image formation job JOB1 to the printer 1 via the communication unit 21 is not limited to the PC 63, and may be a smartphone, a server device, or the like. Furthermore, the network to which the communication unit 21 is connected is not limited to a local area network, but may be a wide area network such as the Internet. Therefore, the printer 1 may receive a job via the Internet.
[0029] The short-range wireless communication unit 22 performs wireless communication using a predetermined short-range wireless communication method with other wireless communication devices existing in the vicinity of the printer 1. The communication standard of the predetermined short-range wireless communication method is not particularly limited, but for example, communication standards such as NFC (Near Field Communication) and Bluetooth (registered trademark) can be adopted. The CPU 12 can accept jobs from, for example, a PC, a tablet terminal, a smartphone, etc. via the short-range wireless communication unit 22.
[0030] The FAX communication unit 23 is capable of communicating with the facsimile device 65 via the telephone line 64. By being connected to an exchange via the telephone line 64, the FAX communication unit 23 is capable of receiving FAX job JOB2 from the recipient facsimile device 65 and transmitting FAX job JOB2 to the recipient facsimile device 65. The FAX job JOB2 is information that includes, for example, FAX data (image data) and instructs the recipient device to print the FAX data, etc. The FAX communication unit 23 receives FAX job JOB2 from the facsimile device 65 under the control of the CPU 12. The CPU 12 causes the printing unit 16 to print the FAX data included in the received FAX job JOB2.
[0031] Furthermore, the CPU 12 accepts jobs for executing FAX transmission, copying, scanning, etc., based on an operation input to the user interface 20. For example, when the CPU 12 accepts an instruction to transmit FAX job JOB2 to the facsimile device 65 based on the operation input to the user interface 20, the CPU 12 transmits FAX job JOB2 including image data read by the image reading unit 17 as FAX data to the facsimile device 65.
[0032] (2.Print hold function) The printer 1 of this embodiment has a print reservation function that reserves printing execution while power is being supplied from the USB connection unit 19 (hereinafter, sometimes referred to as a power supply state). When the printer 1 accepts a print job, it determines whether or not to reserve printing execution based on the print job (hereinafter, sometimes referred to as reserving a print job, reserving an image formation job JOB1, reserving a FAX job JOB2, etc.). The printer 1 can process jobs that instruct printing and are accepted in various forms as print jobs. For example, the printer 1 can accept, as print jobs, the image formation job JOB1 received from the PC 63 via the communication unit 21 and the FAX job JOB2 received from the facsimile device 65 via the FAX communication unit 23.
[0033] In addition to the above-mentioned image forming job JOB1 and FAX job JOB2, the printer 1 can receive, for example, a print job from a PC or the like connected to the USB connection unit 19. Alternatively, the printer 1 can receive, for example, a print job from a tablet terminal or the like through wireless communication by the short-range wireless communication unit 22. The printer 1 may also receive, as the FAX job JOB2, a FAX job in an e-mail format such as an Internet fax (IFAX).
[0034] For example, the CPU 12 of the printer 1 executes the control program 41 to receive settings for the print hold function via the user interface 20. When the CPU 12 receives a predetermined operational input to the user interface 20, it causes the user interface 20 to display a print hold setting screen 71 shown in Fig. 2. As shown in Fig. 2, the CPU 12 displays a print mode selection field 73, a print hold time field 75, a print hold number field 77, a set button 78, and a cancel button 79 on the print hold setting screen 71. The CPU 12 reads out the hold setting information 34 from the NVRAM 15, and displays the current settings on the print hold setting screen 71, reflecting them in the print mode selection field 73 etc.
[0035] The print mode selection field 73 is a section for accepting the setting of the print mode. The printer 1 has, for example, three print modes: a print priority mode, a power supply priority mode, and a hybrid mode. The print priority mode is a mode in which printing is prioritized, and all accepted print jobs are executed without suspending printing.
[0036] The power supply priority mode is a mode in which the power supply from the USB connection unit 19 to the external device 61 is prioritized. More specifically, when the CPU 12 receives a print job in the power supply priority mode, if the total power amount required for printing based on the print job is equal to or greater than the power supply capacity, the CPU 12 puts the print job on hold. The total power amount is, for example, the total power amount obtained by adding up the power amount consumed by the printer 1 when executing the print job and the power supply amount W being supplied to the external device 61. Therefore, the total power amount is the total value of the power amount required by the printer 1 when executing the print job while power supply is being executed. The CPU 12 calculates, for example, the power amount consumed by the printer 1 when executing the print job by adding up the power amount supplied from the power supply unit 27 to each device in the printer 1 before printing and the power amount required for printing. The CPU 12 can also detect the power amount required for printing from a table that associates, for example, the number of printed sheets, the number of printing colors, and the power consumption.
[0037] The power capacity is, for example, the amount of power that can be supplied from the power supply unit 27 and is the amount of power that can be used by the printer 1. Therefore, if the total amount of power exceeds the power capacity, the printer 1 will experience a power shortage. In the power supply priority mode, the CPU 12 uniformly suspends the execution of print jobs that may result in a power shortage. The CPU 12 can detect the power capacity of the power supply unit 27 from setting data previously stored in the ROM 14, for example.
[0038] The hybrid mode is a mode in which, when a print job is accepted while power is being supplied, it is determined whether to suspend printing based on predetermined conditions, and is a mode in which the process shown in Fig. 3 is executed. The CPU 12 accepts the selection of one of three modes using radio buttons displayed in association with each mode in the print mode selection field 73.
[0039] The print hold time field 75 is a section that accepts settings for the time period during which printing execution is suspended (hereinafter referred to as print hold time) in hybrid mode. For example, when the Add button in the print hold time field 75 is selected, the CPU 12 displays a pull-down menu for setting the items of print hold start time, print hold end time, and day of the week. In the example shown in FIG. 2, the condition in the top row sets the print hold time to 10 p.m. to 7 a.m. Monday through Friday. Also, when the Delete button in the print hold time field 75 is selected, the CPU 12 deletes the print hold time condition selected by the leftmost radio button in the print hold time field 75.
[0040] The print reservation number field 77 is a section for accepting the setting of the print reservation number for determining whether or not to reserve printing. In the illustrated example, five sheets are set as the print reservation number. When the setting button 78 is selected, the CPU 12 stores the setting accepted on the print reservation setting screen 71 in the reservation setting information 34 of the NVRAM 15. This reflects the setting selected by the user on the print reservation setting screen 71. When the cancel button 79 is selected, the CPU 12 erases the display of the print reservation setting screen 71 without storing the setting accepted on the print reservation setting screen 71 in the reservation setting information 34.
[0041] 2 and the above-mentioned method of accepting settings are merely examples. For example, CPU 12 may accept the values of print reservation start time, print reservation end time, and print reservation number of sheets from a numeric keypad displayed on a touch panel of user interface 20. Also, CPU 12 may not accept the selection of a day of the week, but may accept only the print reservation start time and print reservation end time, and apply the accepted times to all days of the week (all days).
[0042] (3. Print reservation decision process) Next, the print reservation determination process executed by the printer 1 of this embodiment will be described with reference to Fig. 3. For example, when the above-mentioned hybrid mode is set, the CPU 12 of the printer 1 starts the print reservation determination process shown in Fig. 3. By executing the print reservation determination process, the CPU 12 determines whether or not to reserve a print job accepted in a power supply state. As a result, the amount of power supply W supplied to the external device 61 is maintained by reserving a print job that meets a predetermined condition.
[0043] The condition for starting the print reservation determination process shown in FIG. 3 is not limited to the condition for setting the hybrid mode. For example, the CPU 12 may start the process of FIG. 3 on the condition that the supply of power from the USB connection unit 19 is started after the hybrid mode is set. That is, the CPU 12 may execute the process of FIG. 3 only in the hybrid mode and in the power supply state. In this case, in the state where the power supply is stopped or only the power is received, the CPU 12 may execute the accepted print job without reserving it. Also, the flowcharts in this specification basically show the process of the CPU 12 according to the instructions written in the program. Therefore, the processes such as "determination", "limitation", and "execution" in the following description represent the process of the CPU 12. The process by the CPU 12 includes hardware control. Also, the process shown in FIG. 3 may be executed by a device other than the CPU 12. For example, the power controller 25 may execute the process shown in FIG. 3 by executing the program PG.
[0044] First, in step (hereinafter simply referred to as "S") 11 in Fig. 3, the CPU 12 judges whether or not a print job has been accepted. The CPU 12 repeatedly executes the judgment process of S11 until a print job is accepted (S11: NO). The print job here refers to the image formation job JOB1 received by the communication unit 21, the FAX job JOB2 received by the FAX communication unit 23, a print job received from a PC or the like connected to the USB connection unit 19, and the like. When the CPU 12 accepts a job other than a print job (such as a FAX transmission job or a scan job), it appropriately executes image formation based on each job.
[0045] When the CPU 12 determines that a print job has been accepted (S11: YES), it determines whether or not the power supply state is in effect (S13). When the CPU 12 determines that power is not being supplied from the USB connection unit 19 to the external device 61, etc. (S13: NO), the CPU 12 executes printing based on the print job accepted in S11 using the printing unit 16 (S15). As a result, even if the hybrid mode is set, the CPU 12 executes printing of the accepted print job unless the power supply state is in effect. When the CPU 12 executes S15, it ends the process shown in FIG. 3, and executes the process from S11 again to accept a new print job.
[0046] On the other hand, if the CPU 12 is in a power supply state (S13: YES), the CPU 12 determines whether the print job accepted in S11 is FAX job JOB2 (S17). If the accepted print job is FAX job JOB2 (S17: YES), the CPU 12 determines whether the current time is within the print hold time (S19). The CPU 12 acquires setting information for the print hold time from the hold setting information 34 read from the NVRAM 15, and if the current time is within the time period of the acquired setting information, the CPU 12 makes a positive determination in S19 (S19: YES) and executes S21.
[0047] The CPU 12 stores the data of the print job (in this case, FAX job JOB2) accepted in S11 in the NVRAM 15, and suspends the execution of printing based on the print job (S21). After executing S21, the CPU 12 ends the process shown in FIG. 3, and executes the process from S11 again. Here, there is little need to immediately execute printing during a time period when no user is present to check the printed matter of the received FAX job JOB2 even if it is printed, such as late at night. Therefore, by setting the time period when the contents of the received FAX job JOB2 cannot be immediately checked and the printed matter will not be used immediately as the print suspension time, it is possible to suppress the execution of printing by unnecessarily lowering the supply power amount W, as described below.
[0048] On the other hand, if the current time is outside the print reservation time (S19: NO), the CPU 12 determines whether or not the sender FAX number set in the accepted FAX job JOB2 is registered in the address information 33 (S23). If the FAX number is not registered in the address information 33 (S23: NO), the CPU 12 stores the data of the FAX job JOB2 in the NVRAM 15 and suspends the execution of printing (S21).
[0049] For example, if the FAX number registered in the address information 33 is the number of a customer, acquaintance, or the like of the user, the user may want to check the printed matter of FAX job JOB2 as soon as possible. For this reason, it is preferable to print FAX job JOB2 of a registered FAX number without suspending printing execution. On the other hand, a FAX number not registered in the address information 33 may be the FAX number of a company or person the user has not met, such as a FAX number of an advertising agency. For this reason, there is little need to immediately print FAX job JOB2 of an unregistered FAX number. Therefore, the CPU 12 suspends printing execution for FAX job JOB2 of a FAX number not registered in the address information 33.
[0050] Furthermore, if the FAX number is registered in the address information 33 (S23: YES), the CPU 12 determines whether the number of printed sheets of the FAX job JOB2 is equal to or less than the number of reserved print sheets (S25). The CPU 12 reads the reservation setting information 34 from the NVRAM 15, and obtains the number of reserved print sheets from the read reservation setting information 34. If the number of printed sheets of the FAX job JOB2 is equal to or less than the obtained number of reserved print sheets (S25: YES), the CPU 12 suspends the execution of printing (S21).
[0051] Here, even if the execution of printing with a small number of prints is put on hold, if the conditions for executing printing are met, the printing can be completed immediately. Therefore, as described later, for example, when a print instruction for the put on hold print job is received from a user, the printing can be completed quickly. Printing can be performed with less time for the user to wait in front of the printer 1. Also, for example, if the power supply state changes and the amount of power supply W is reduced so that the amount of power required for printing can be secured, the printing can be completed quickly while the amount of power supply W is reduced. The CPU 12 may determine whether to put on hold the FAX job JOB2 based on conditions other than the number of prints. For example, the CPU 12 may put on hold the FAX job JOB2 when the time required for printing the FAX job JOB2 is equal to or less than a predetermined time.
[0052] On the other hand, if the number of printed sheets is greater than the number of sheets pending printing (S25: NO), the CPU 12 determines whether the total amount of power required to print the FAX job JOB2 is equal to or greater than the power supply capacity (S27). If the total amount of power is less than the power supply capacity, i.e., if there is no power shortage during printing and there is no need to limit the amount of power supply W (S27: NO), the CPU 12 prints the FAX job JOB2 received in S11 (S15).
[0053] Furthermore, if the total power amount is equal to or greater than the power supply capacity, i.e., if there is a power shortage during printing (S27: YES), the CPU 12 executes printing (S15) after limiting the amount of power supply W (S29). For example, the CPU 12 executes negotiation with the external device 61 to reduce the amount of power supply W by the amount of power shortage (S29). Therefore, even if the CPU 12 receives FAX job JOB2 in the power supply state, the CPU 12 executes printing if the conditions of S19, S23, and S25 are not satisfied. Note that the CPU 12 may execute not only the process of reducing the amount of power supply W as the process of limiting the amount of power supply W in S29, but also the process of stopping the supply of the amount of power supply W. Furthermore, the CPU 12 may execute the process of returning the amount of power supply W to the amount of power before the limit after the printing in S15 is completed.
[0054] On the other hand, if the CPU 12 determines in S17 that the accepted print job is not the FAX job JOB2 (S17: NO), the CPU 12 determines whether the accepted print job is the image formation job JOB1 (S31). If the accepted print job is the image formation job JOB1 (S31: YES), the CPU 12 executes S33.
[0055] In S33, the CPU 12 judges whether the position of the sender of the image formation job JOB1 is a predetermined distance or more away (S33). For example, the CPU 12 judges whether the IP address of the own device set in the LAN interface of the communication unit 21 and the IP address of the sender PC 63 of the image formation job JOB1 belong to the same network. For example, based on the subnet mask set in the LAN interface of the communication unit 21, the CPU 12 judges that the IP address of the own device and the subnet (range of the network) of the sender IP address belong to the same network. There is no particular limitation on the method of detecting the sender IP address, but for example, the sender IP address may be set in the image formation job JOB1, or the CPU 12 may inquire the sender PC 63 of the IP address. When the CPU 12 judges that the IP address belongs to the same network, it makes an affirmative judgment in S33 (S33: YES) and executes S21. This allows the printing execution of image formation job JOB1 received from a device in a distant location to be postponed, for example, image formation job JOB1 of a user who belongs to a department different from the department where printer 1 is installed, or image formation job JOB1 received from a building different from the building where printer 1 is installed. When image formation job JOB1 is received from a device in a distant location, it is highly likely that it will take some time for the user who instructed the printing to come and pick up the printed matter. For this reason, by postponing the printing execution, it is possible to prevent the printed matter from being left unattended for a long period of time, and to prevent the printed matter from being seen by other users.
[0056] Furthermore, if the IP address of the own device and the IP address of the sender of image formation job JOB1 belong to the same network, the CPU 12 makes a negative determination in S33 (S33: NO) and executes S34. As will be described later, if the determination in S34 is affirmative, the CPU 12 executes S27. This allows, for example, image formation job JOB1 of a nearby user who is likely to come to pick up the printed matter immediately to be executed without being put on hold.
[0057] The method of determining whether the source is located at a distance greater than the predetermined distance in S33 is not limited to the method using a subnet mask. For example, the CPU 12 may determine whether the source is located at a distance greater than the predetermined distance based on how many bits from the most significant bit match the IP address of the device itself and the IP address of the source. Alternatively, the CPU 12 may determine whether the source is located at a distance greater than the predetermined distance based on the difference between the IP address of the device itself and the numerical value of the network part of the IP address of the source. The CPU 12 may also determine whether the source is located at a distance greater than the predetermined distance based on the host name of the source PC 63, the user name set in the image formation job JOB1, and the like. The CPU 12 may also inquire of the printer driver of the source PC 63 about the affiliation information and the installation location information.
[0058] In S34, the CPU 12 judges whether the priority of the image formation job JOB1 is equal to or higher than a predetermined priority. In the above-mentioned processes of S19, S23, S25, S33, etc., the CPU 12 judges whether to suspend the execution of printing based on the information of the print job, etc. On the other hand, for example, a user who transmits the image formation job JOB1 may want to set the priority according to the type of the image formation job JOB1. For example, the user may set a high priority for the image formation job JOB1 of a document to be used immediately, and a low priority for the image formation job JOB1 to be picked up later when time is free. In S34, the CPU 12 judges the priority set on the transmitting side of such an image formation job JOB1 and judges whether to suspend the execution of printing. For this reason, the predetermined priority judged in S34 is, for example, a print priority indicating whether the image formation job should be printed first with respect to other print jobs. The priority set for the image formation job JOB1 is an example of priority information in the present application.
[0059] When the CPU 12 determines that the priority set for the image formation job JOB1 is equal to or higher than a predetermined priority (S34: YES), it executes S27 and prints the image formation job JOB1. When the priority set for the image formation job JOB1 is lower than a predetermined priority (S34: NO), the CPU 12 puts the image formation job JOB1 on hold (S21). This makes it possible to determine which image formation job JOB1 should be put on hold depending on the priority.
[0060] The method of setting the priority of the image formation job JOB1 is not particularly limited. For example, the priority of the image formation job JOB1 may be accepted on a print setting screen of the printer driver of the PC 63. The print job for which the priority is set is not limited to the image formation job JOB1. For example, the printer 1 may be configured to be capable of printing a file attached to an e-mail. In this case, when the CPU 12 accepts a print job for executing printing of a file attached to a received e-mail, the CPU 12 may determine whether to hold the print job based on the priority set in the e-mail (such as X-Priority in the e-mail header). For example, if the priority of the e-mail is "high", the CPU 12 may make a positive determination in S34 to execute printing, and if the priority of the e-mail is "medium" or "low", the CPU 12 may make a negative determination in S34 to hold the execution of printing. In this case, the information on the priority of the e-mail is an example of priority information of the present application.
[0061] The CPU 12 may also determine the priority of the FAX job JOB2 and determine whether to suspend printing. For example, the CPU 12 may determine whether to suspend a FAX job in an E-mail format, such as Internet Fax (IFAX), based on the priority set in the E-mail.
[0062] On the other hand, when the CPU 12 judges negative in S31 (S31: NO), it executes S27 and prints the accepted print job. Here, for example, a PC connected via the USB connection unit 19, that is, a PC directly connected only via a USB cable (wired cable) without going through the wired network 62, is more likely to be located closer to the printer 1 than the PC 63 connected to the communication unit 21. In this case, the user who instructed the printing is also more likely to be near the printer 1, and may come to pick up the printed matter immediately. If a print job received via the USB connection unit 19 is put on hold, a user who is near the printer 1 must come to the printer 1 after sending the print job and instruct the printer 1 to print the put on hold print job. As a result, usability is reduced. Therefore, for example, when the accepted print job is a print job received from a device connected via the USB connection unit 19, the CPU 12 judges negative in S31 (S31: NO) and executes S27. This allows the print job accepted from a device directly connected to the printer 1 to be printed without being put on hold. This improves usability for users who are near the printer 1.
[0063] Similarly, if the print job is a print job received via the short-range wireless communication unit 22, there is a high possibility that the device or user that sent the print job is located near the printer 1. Therefore, if the accepted print job is a print job received via the short-range wireless communication unit 22, the CPU 12 makes a negative determination in S31 (S31: NO) and executes S27. In this case as well, it is possible to improve usability for users who are in a close range and can communicate via short-range wireless communication.
[0064] Furthermore, for example, if the accepted print job is a direct printing print job, the CPU 12 may make a negative determination in S31 (S31: NO) and print the print job without reserving it (S27). Direct printing here refers to, for example, a function in which the printer 1 reads print data from a medium such as a USB memory connected to the USB connection unit 19 and prints the read print data. In this case, too, it is highly likely that the user who instructed direct printing (connected a USB memory or the like) is near the printer 1. For this reason, usability can be improved by printing a direct printing print job without reserving it.
[0065] Furthermore, for example, if the accepted print job is a copy-printing print job generated based on an operation input to the user interface 20, the CPU 12 may print the print job without reserving it (S31: NO, S27). In the case of copy-printing, the user is in a position where he or she can operate the user interface 20. Therefore, by printing the copy-printing print job without reserving it, usability can be improved.
[0066] Incidentally, the print job generated by the operation input to the user interface 20 is not limited to the above-mentioned copy print job. For example, the printer 1 may be configured to accept a user ID and password via the user interface 20, execute user authentication, and print a print job related to a login user who has been successfully authenticated. In this case, the CPU 12 may print the print job generated based on the success of the user authentication without suspending it (S31: NO, S27).
[0067] (4. Processing pending print jobs) Next, the pending print job processing executed by the printer 1 of this embodiment will be described with reference to Fig. 4. When a mode for putting a print job on hold, such as a hold priority mode or a hybrid mode, is set to ON, the CPU 12 starts the pending print job processing shown in Fig. 4. By executing the pending print job processing, the CPU 12 determines whether to execute printing based on the pending print job. In the following description, a print job whose execution has been put on hold by the processing in Fig. 3 or the like will be referred to as a "pending print job."
[0068] First, when the CPU 12 starts the reserved print job process, in S41, it determines whether or not a print job is on hold. For example, the CPU 12 determines whether or not the data of the reserved print job is stored in the NVRAM 15, and if it is not stored (S41: NO), it repeats the determination process of S41. Also, if the reserved print job is stored in the NVRAM 15 (S41: YES), the CPU 12 executes S43.
[0069] In S43, CPU 12 determines whether the total power consumption during printing is equal to or greater than the power supply capacity. For example, when multiple print jobs are on hold, if the total power consumption during printing of at least one print job is less than the power supply capacity (S49: NO), CPU 12 executes printing for all print jobs whose total power consumption is less than the power supply capacity (S45). That is, CPU 12 prints print jobs that can be printed without limiting the amount of power supply W (S45). For example, when multiple print jobs are on hold, CPU 12 prints the print jobs in order starting with the first one to be on hold.
[0070] As a result, even if a FAX print job is temporarily put on hold, if the amount of power required for printing is secured, the print job can be printed with the hold time as short as possible. Also, if power could not be secured when the print job was accepted, but the amount of power supply W subsequently decreases and the amount of surplus power increases, the print job that was put on hold can be executed. When all printable print jobs are printed, the CPU 12 deletes the data of the printed print job from the NVRAM 15 and ends the process of FIG. 4. The CPU 12 executes the process from S41 again. Also, the CPU 12 may interrupt the execution of the print job and execute the process from S41 again, for example, when the amount of power supply W increases during the execution of multiple print jobs or when power supply is resumed.
[0071] On the other hand, if the total power amount of all the reserved print jobs is equal to or greater than the power supply capacity (S43: YES), the CPU 12 judges whether the print job information stored in the NVRAM 15 has been updated (S47). The information being updated here means, for example, that the print job reserved in the NVRAM 15 when S47 was executed last time is different from the print job reserved in the NVRAM 15 when S47 is executed this time. For example, when a new print job is reserved in the NVRAM 15, it is preferable to execute S59 described later and accept a print instruction for the new print job from the user. Therefore, when the print job information in the NVRAM 15 has been updated (S47: YES), the CPU 12 executes the process from S53 onward and judges whether to execute the reserved print job.
[0072] On the other hand, if the information of the print job has not been updated (S47: NO), the CPU 12 judges whether or not a threshold time has elapsed since the previous process (S51). In S51, the CPU 12 judges whether or not a threshold time has elapsed since the previous execution of S51 (S51). Even if the state in which the information of the print job in the NVRAM 15 is not updated continues, it is preferable to periodically execute the execution judgment of the print job from S53 onwards and judge whether the reserved print job should be executed. Therefore, the CPU 12 makes a positive judgment in S51 (S51: YES) and executes S53 every time the threshold time has elapsed. For this reason, the threshold time in S51 is, for example, the time for which the process from S53 onwards should be periodically executed, and is specifically several tens of minutes. If the threshold time has not elapsed (S51: NO), the CPU 12 executes the process from S41 onwards.
[0073] In S53, the CPU 12 determines whether the remaining capacity of the NVRAM 15 is equal to or less than the threshold capacity (S53). If the remaining capacity of the NVRAM 15 is insufficient, it becomes difficult to change the data in the NVRAM 15, such as adding address information 33, changing hold setting information 34, adding a new print job (image forming job JOB1, FAX job JOB2), or adding other information. As a result, the CPU 12 cannot properly execute processes using the NVRAM 15. For this reason, the threshold capacity in S53 is the minimum capacity that needs to be secured in the NVRAM 15 as the remaining capacity.
[0074] If the remaining capacity is equal to or less than the threshold capacity (S53: YES), the CPU 12 limits the amount of power supply W (S49) and executes printing of the reserved print job (S45). In this case (S43: NO), it is necessary to limit the amount of power supply W in order to execute the reserved print job. The CPU 12 prints the reserved print job after limiting the amount of power supply W in S49 (S45). The CPU 12 executes all of the reserved print jobs, for example. Alternatively, the CPU 12 may execute the reserved print jobs and delete them from the NVRAM 15 until the remaining capacity of the NVRAM 15 becomes greater than the threshold capacity. Furthermore, the CPU 12 may execute a process of reducing the amount of power supply W by the amount of power required for printing as the process of limiting the amount of power supply W in S49, or may stop the supply of the amount of power supply W. Furthermore, the CPU 12 may execute a process of returning the amount of power supply W to the amount of power before the limit after the printing in S45 is completed.
[0075] Furthermore, if the CPU 12 judges in S53 that the print reservation time is not reached (S53: NO), it judges whether the current time is outside the print reservation time (S55). The CPU 12 acquires the print reservation time from the reservation setting information 34 read from the NVRAM 15, and if the current time is outside the acquired print reservation time, it judges in S55 that the print reservation time is reached (S55: YES). The CPU 12 limits the amount of power supply W (S49) and prints all the print jobs that have been reserved (S45). This allows the print jobs that have been reserved within the print reservation time by the process of FIG. 3 described above to be printed. Note that, in S45 after the CPU 12 judges in S55 that the print reservation time is reached, the CPU 12 may print only the print job that has been reserved by judging in S19 of FIG. 3 in the affirmative, that is, the FAX job JOB2 that has been reserved within the print reservation time.
[0076] On the other hand, if the current time is within the print pending time (S55: NO), the CPU 12 displays a pending print information screen 81 shown in Fig. 5 on the user interface 20 (S57), and determines whether a print instruction has been accepted (S59). As shown in Fig. 5, the CPU 12 displays a message field 83, a job selection field 85, a print execution button 87, and a cancel button 89 on the pending print information screen 81. The CPU 12 displays a message in the message field 83 for confirming whether or not to limit the amount of power supply W and execute the print job. The CPU 12 also displays a list of information on print jobs pending in the NVRAM 15 in the job selection field 85. The CPU 12 displays radio buttons in the job selection field 85 for selecting pending print jobs individually or collectively. When the CPU 12 receives an operation input of touching the print execution button 87 through the user interface 20, it makes an affirmative determination in S59 (S59: YES), limits the amount of power supply W (S49), and prints one or more print jobs selected in the job selection field 85 (S45). This makes it possible to receive a selection of a print job to be printed from the user and execute printing.
[0077] Furthermore, when the CPU 12 receives an operation input of touching the cancel button 89 at the user interface 20 (S59: NO), the CPU 12 erases the display of the reserved print information screen 81 from the user interface 20 (S61). The CPU 12 executes the process from S41 again. In this manner, the CPU 12 can execute printing of the reserved print job based on the predetermined conditions.
[0078] The CPU 12 may make a negative determination in S59 and execute S61 when a predetermined time has elapsed after displaying the reserved printing information screen 81 on the user interface 20. The CPU 12 may not actively display the reserved printing information screen 81. For example, the CPU 12 may display the reserved printing information screen 81 on the user interface 20 and accept a print instruction when a predetermined operation input to the user interface 20 is accepted. The CPU 12 may determine whether or not a print execution has been accepted on the reserved printing information screen 81 each time S59 is executed, and execute the print instruction accepted by the user interface 20 before the process of S59 (S59: YES). In this case, the CPU 12 may not execute the display process of S57. The CPU 12 may execute both the active display process of S57 and the above-mentioned process of accepting display by the user interface 20.
[0079] Incidentally, the printer 1 is an example of a printing device. The CPU 12 is an example of a control unit. The NVRAM 15 is an example of a storage unit. The USB connection unit 19 is an example of an interface. S17, S19, S23, S25, S31, S33, and S34 are examples of a judgment process and a judgment step. The conditions of S17, S19, S23, S25, S31, S33, and S34 are examples of a first condition and a second condition. S15 is an example of a printing process and a printing step. S21 is an example of a reservation process and a reservation step. S43 is an example of an electric energy judgment process. S59 is an example of an execution instruction judgment process. S55 is an example of a time period judgment process. S53 is an example of an available space judgment process.
[0080] (5. Effects) As described above, according to the embodiment, the following effects are achieved. (1) When the CPU 12 of the printer 1 of this embodiment receives a print job instructing printing by the printing unit 16 while supplying a predetermined amount of power supply W to the external device 61 via the USB connection unit 19, the CPU 12 judges a predetermined condition and judges whether to suspend execution of printing based on the print job. For example, if the print job is not an image forming job JOB1 or a FAX job JOB2 (S31: NO), the CPU 12 limits the amount of power supply W (S29) and executes printing by the printing unit 16 based on the print job (S15). On the other hand, if the print job is, for example, a FAX job JOB2 (S17: YES), the CPU 12 does not limit the amount of power supply W and suspends execution of printing (S21).
[0081] According to this, when the printer 1 accepts a print job while power is being supplied, it judges whether the specified conditions are met without immediately restricting the amount of power supply W. If the print job is not an image formation job JOB1 or a FAX job JOB2, for example, the printer 1 restricts the amount of power supply W and executes printing. As a result, for print jobs that need to be printed immediately, printing can be executed by satisfying the specified conditions.
[0082] On the other hand, when the print job is FAX job JOB2, the printer 1 suspends the execution of printing without limiting the amount of power supply W to be supplied to the external device 61. This allows the printer 1 to suspend the execution of printing until the timing when printing can be performed while maintaining the amount of power supply W, such as when the amount of surplus power in the printer 1 increases or when the amount of power required by the external device 61 decreases and the amount of power supply W can be reduced. As a result, it is possible to prevent power shortages in the external device 61.
[0083] (2) Furthermore, if the print job is FAX job JOB2 received via FAX communication unit 23 (S17: YES), CPU 12 suspends printing. Since FAX job JOB2 is sent at the convenience of the sender, it is unlikely that the recipient will be waiting in front of printer 1 to receive FAX job JOB2. In other words, even if FAX job JOB2 is temporarily suspended and then printed, it is unlikely that the user will feel that printing is delayed. Therefore, by temporarily suspending FAX job JOB2 when the print job is FAX job JOB2, it is possible to suppress the occurrence of power shortages in external device 61 while suppressing deterioration in usability.
[0084] (3) Furthermore, the CPU 12 acquires information on the print reservation time indicating the time period during which the execution of the print is reserved from the reservation setting information 34, and if the current time is within the time period of the print reservation time (S19: YES), the execution of the print is reserved (S21). In this way, by setting the time period during which the user does not check the receipt of the fax as the print reservation time, power supply is prioritized over printing during the time period during which the contents of the fax are not immediately checked, and it is possible to prevent the occurrence of a power shortage in the external device 61.
[0085] (4) Furthermore, if the sender FAX number (an example of sender information) set in FAX job JOB2 is not registered in address information 33 (S23: NO), CPU 12 suspends the execution of printing. FAX job JOB2 with a FAX number not registered in address information 33 is likely to be a FAX job JOB2 with a sender unknown to the user. For this reason, there is little need to print such FAX job JOB2 immediately. Therefore, by suspending FAX job JOB2 with a FAX number not registered in address information 33, it is possible to prevent a power shortage in external device 61.
[0086] (5) Furthermore, if the number of printed pages of the accepted FAX job JOB2 is equal to or less than the number of reserved print pages (an example of the threshold number of pages in this application) (S25: YES), the CPU 12 suspends the execution of printing. If the number of printed pages of FAX job JOB2 is small, printing can be completed in a relatively short time. Therefore, even if the FAX job JOB2 is temporarily suspended and then a print instruction from the user is accepted to print the suspended FAX job JOB2, the time the user has to wait can be shortened and the printed matter can be handed over to the user.
[0087] (6) Furthermore, when the CPU 12 determines based on the source information of the received image formation job JOB1 that the distance between the source device of the image formation job JOB1 and the own device is a predetermined distance or more (S33: YES), it suspends the execution of printing. If the source device of the image formation job JOB1 is physically far from the own device, it takes a long time from when the image formation job JOB1 is received until the user who sent the image formation job JOB1 arrives at the printer 1. In other words, even if the image formation job JOB1 is temporarily suspended, the printing delay time that occurs for the user can be shortened, and the occurrence of a power shortage in the external device 61 can be suppressed.
[0088] (7) After suspending the execution of printing, CPU 12 determines whether the total amount of power required for printing based on the suspended print job is equal to or greater than the power supply capacity that can be supplied from power supply unit 27 (S43). If CPU 12 determines that the total amount of power is less than the power supply capacity (SS43: NO), it prints the suspended print job (S45).
[0089] When the total power amount is smaller than the power supply capacity, there is no need to limit the amount of power supply W during printing, and there is no need to put the execution of printing on hold. Therefore, by executing the printing that was put on hold in response to the total power amount being smaller than the power supply capacity, it is possible to prevent the hold time from becoming unnecessarily long.
[0090] (8) After suspending the execution of the print job, the CPU 12 determines whether or not an instruction to start the execution of the suspended print job has been received via the user interface 20 (S59). If an instruction to start the execution has been received (S59: YES), the CPU 12 prints the suspended print job (S45). In this way, if the user wishes to execute the suspended print job even if it means limiting the amount of power supply W after the print job has been suspended once, the user can issue an instruction to do so via the user interface 20. Alternatively, the user can instruct the printing to be executed after taking measures such as stopping the external device 61 or removing the external device 61.
[0091] (9) After suspending the execution of printing, the CPU 12 obtains information on the print suspension time from the suspension setting information 34 and determines whether the current time is outside the print suspension time (S55). If the current time is outside the print suspension time (S55: YES), the CPU 12 prints the suspended print job. This allows a print job that was suspended within a certain time period of the print suspension time to be printed promptly after the time period has elapsed. For example, a FAX job JOB2 that was suspended late at night can be printed in time for the employee to arrive at work.
[0092] (10) After suspending the execution of printing, the CPU 12 judges whether the free space in the NVRAM 15 is equal to or less than a predetermined threshold capacity (S53). If the free space in the NVRAM 15 is equal to or less than the predetermined threshold capacity (S53: YES), the CPU 12 reads data related to the print job from the NVRAM 15, executes printing, and deletes the read data from the NVRAM 15.
[0093] If the number of reserved print jobs increases, there is a possibility that there will be a shortage of free space in the NVRAM 15. Therefore, by executing the reserved print jobs and deleting the data from the NVRAM 15 before the free space runs out, it is possible to prevent a shortage of free space from occurring.
[0094] (11) Furthermore, when the CPU 12 receives a print job via the short-range wireless communication unit 22 (S31: NO), the CPU 12 may print the print job. In this way, if the user who instructed the printing is located near the printer 1, the printing is executed without being put on hold, thereby preventing printing delays for the user.
[0095] (12) Furthermore, the CPU 12 may print a print job if any of the following conditions is satisfied (S31: NO): the print job is a job received from a device connected to the USB connection unit 19 only via a USB cable, the print job is a job for reading and executing print data stored in a USB memory connected to the USB connection unit 19 (a direct printing job), or the print job is a job generated based on a copy operation or the like on the user interface 20. If any of the above conditions is satisfied, it is highly likely that the user who instructed the printing is near the printer 1. For this reason, by executing the printing without suspending it, it is possible to prevent delays in printing for the user.
[0096] (13) The printer 1 also has a power supply priority mode in which the CPU 12 does not execute a condition determination process and the execution of printing is suspended without limiting the amount of power supply W for all accepted print jobs, a hybrid mode (an example of the print suspension mode of the present application) in which the determination process is executed, and a print priority mode in which the CPU 12 does not execute a determination process and the amount of power supply W is limited and printing is executed for all accepted print jobs (see FIG. 2). This allows the mode to be switched between prioritizing power supply, prioritizing printing, and achieving both power supply and suspension of printing.
[0097] (14) Furthermore, priority information indicating the priority relative to other print jobs can be set for a print job. In this case, if the priority indicated by the priority information set for the accepted print job is equal to or higher than a predetermined priority (S34: YES), the CPU 12 may execute the print job without putting it on hold. This allows the user to set the priority for the print job, thereby switching between executing the print job and putting it on hold.
[0098] (6. Modifications) Incidentally, the present application is not limited to the above-described embodiment, and it goes without saying that various improvements and modifications are possible without departing from the spirit and scope of the present application. For example, the process contents and the order of the processes in the flowcharts shown in FIG. 3 and FIG. 4 in the above embodiment are only examples. For example, in S13 in FIG. 3, the CPU 12 may determine whether the total amount of power during printing is equal to or greater than the power supply capacity, as in S27. If the total amount of power is equal to or greater than the power supply capacity, the CPU 12 may execute S15, and if the total amount of power is less than the power supply capacity, the CPU 12 may execute S17. That is, if the print job does not require a limit on the amount of power supply W, the CPU 12 may print the print job without suspending it. The process contents in FIG. 3 have the advantage that the presence or absence of the amount of power supply W can be determined in S13 without calculating the total amount of power, and S17 and subsequent steps can be quickly executed. On the other hand, in the process in FIG. 4, the CPU 12 needs to perform the determination process in S43. In contrast, if the total amount of power is determined at the time of S13, it is possible to omit the determination of the total amount of power in the process in FIG. 4. In this case, in addition to S43, the process in S27 in FIG. 3 may also be omitted.
[0099] Similarly to the FAX job, the CPU 12 may also execute the process of determining the print reservation time in S19 and the process of determining the number of print reservation sheets in S25 for the image formation job JOB1. For example, when the number of prints for the image formation job JOB1 is equal to or less than a predetermined number of print reservation sheets, the CPU 12 may execute S21 and reserve the image formation job JOB1. In this case, the CPU 12 may accept a set time as the print reservation time for the image formation job JOB1 and the FAX job JOB2 collectively, or may accept separate set times. The same applies to the number of print reservation sheets. 3 and 4 for various types of print jobs, the CPU 12 may execute the processes in Fig. 3 and 4 for only the image forming job JOB1 and the FAX job JOB2 to determine whether to suspend the execution of printing. In this case, the process of S31 may be omitted.
[0100] Furthermore, the CPU 12 may not execute the process of determining the location of the transmission source in S33 or the process of determining the priority in S34. Conversely, the CPU 12 may execute only the process of determining the location of the transmission source in S33 or only the process of determining the priority in S34 without executing the process of determining S17 or S31. Also, the CPU 12 may be configured to execute a process of printing an image forming job JOB1 and suspending printing of a FAX job JOB2, for example. Also, the CPU 12 may be configured to execute at least one of the determination processes of S19, S23, and S25, for example. Furthermore, the CPU 12 may be configured to execute at least one of the processes of S53, S55, and S59. Furthermore, the printer 1 may be configured to only have a hybrid mode.
[0101] In the above embodiment, the processes shown in Figures 3 and 4 are executed by the CPU 12, but may be executed by other devices. For example, the power controller 25 may execute the processes shown in Figures 3 and 4 by executing the program PG in the memory 26. In this case, the power controller 25 is an example of the control unit of the present application. The program PG is an example of the program of the present application. Furthermore, in this application, limiting the amount of power is a concept that includes not only an operation to reduce the amount of power, but also an operation to make the amount of power zero (stopping the supply of power). In addition, the communication standard of the interface in the present application is not limited to the USB PD standard, and may be another communication standard that allows for the transfer of power. Therefore, the interface in the present application is not limited to the USB interface. In the above embodiment, the CPU 12 is used as the control unit of the present application, but the present invention is not limited to this. For example, at least a part of the control unit may be configured with dedicated hardware such as an ASIC (Application Specific Integrated Circuit). The control unit may also be configured to operate using a combination of software processing and hardware processing. Moreover, the power supply unit 27 may not include the battery 31 . In the above embodiment, the printing device of the present application is a portable printer 1, but the present application is not limited to this. The printing device of the present application may be a non-portable stationary printer, and may be a copier, fax machine, or scanner, not limited to a printer. The printing device of the present application may also be a multifunction machine having multiple functions. [Explanation of symbols]
[0102] 1 printer (printing device), 12 CPU (control unit), 15 NVRAM (storage unit), 16 printing unit, 19 USB connection unit (interface), 20 user interface, 22 short-range wireless communication unit, 23 FAX communication unit, 27 power supply unit, 33 address information, 61 external device, JOB1 image formation job, JOB2 FAX job, W power supply amount.
Claims
1. A printing unit that executes printing; An interface for transmitting and receiving power in accordance with the USB Power Delivery standard; A control unit; a fax communication unit that executes transmission and reception of a fax job including fax data; Equipped with The control unit is a determination process for determining whether a first condition is satisfied or a second condition different from the first condition is satisfied when a print job that instructs printing by the printing unit is accepted in a state in which a predetermined amount of power is supplied to an external device via the interface; a printing process of limiting the amount of power supplied to the external device via the interface and executing printing by the printing unit based on the print job when it is determined that the first condition is satisfied as a result of the determination process; a suspension process of suspending execution of printing by the printing unit based on the print job without limiting the amount of power supplied to the external device via the interface when it is determined that the second condition is satisfied as a result of the determination process; Run The printing device determines that the second condition is satisfied when the print job is the FAX job received via the FAX communication unit.
2. The control unit:
2. A printing device as described in claim 1, wherein when the print job is accepted in a state where power is not being supplied to the external device via the interface, printing is performed by the printing unit based on the print job regardless of the first condition and the second condition.
3. The print job is the FAX job received via the FAX communication unit, The control unit is A printing device as described in claim 1 or claim 2, further comprising: acquiring print hold time information indicating a time period during which execution of printing by the printing unit based on the print job is put on hold; and determining that the second condition is satisfied if the current time is the time of the time period indicated by the print hold time information.
4. The control unit: A printing device as described in any one of claims 1 to 3, wherein if the sender information set in the fax job received via the fax communication unit is not set as the destination information in the address information registered with the destination information for sending the fax job via the fax communication unit, the printing device determines that the second condition is satisfied.
5. The print job is the FAX job received via the FAX communication unit, The control unit is The printing device according to claim 1 , wherein the second condition is determined to be satisfied when the number of print sheets of the accepted FAX job is equal to or less than a threshold number of sheets.
6. The control unit is A printing device as described in any one of claims 1 to 5, which determines that the second condition is met when it determines, based on the sender information of the received print job, that the distance between the device that sent the print job and the device itself is a predetermined distance or more.
7. a power supply unit for supplying power to the printing unit, The control unit is and after suspending the execution of printing by the printing unit, executing an electric power amount determination process for determining whether or not the amount of electric power required for printing based on the print job for which the execution of printing has been suspended is equal to or greater than the power capacity that can be supplied from the power supply unit.
7. The printing device according to claim 1, wherein if the result of the power amount determination process determines that the amount of power required for printing is less than the power supply capacity, printing is performed based on the print job for which printing execution has been put on hold.
8. A user interface is provided. The control unit is executes an execution instruction determination process for determining whether or not an instruction to start the execution of the reserved printing has been accepted via the user interface after suspending the execution of the printing by the printing unit; The printing device according to claim 1 , wherein, when an instruction to start execution is accepted as a result of the execution instruction determination process, printing based on the print job for which printing execution has been put on hold is executed.
9. The control unit is a time zone determination process, after suspending the execution of printing by the printing unit, acquiring print suspension time information indicating a time zone during which the execution of printing by the printing unit based on the print job is suspended, and determining whether the current time is outside the time zone indicated by the print suspension time information; The printing device according to claim 1 , wherein if the result of the time period determination process indicates that the current time is outside the time period, printing is executed based on the print job whose execution of printing has been put on hold.
10. a storage unit that stores data related to the print job for which printing execution has been suspended; The control unit is an available capacity determination process for determining whether or not the available capacity of the storage unit is equal to or less than a predetermined threshold capacity after suspending the execution of printing by the printing unit; A printing device as described in any one of claims 1 to 9, wherein, if the result of the free space determination process is that the free space of the memory unit is below a predetermined threshold capacity, data related to the print job is read from the memory unit, printing is performed, and the read data is deleted from the memory unit.
11. Equipped with a short-range wireless communication unit, The control unit is The printing device according to claim 1 , wherein the printing device determines that the first condition is satisfied when the print job is received via the short-range wireless communication unit.
12. The control unit is A printing device as described in any one of claims 1 to 11, which determines that the first condition is met when the print job satisfies any of the following conditions: the print job is a job received from a device connected only via a wired cable, the print job is a job that reads and executes print data stored in an external memory connected to the interface, and the print job is a job that was generated based on operational input to a user interface provided in the printing device.
13. a power supply priority mode in which the control unit does not execute the determination process, and the amount of power supplied to an external device via the interface is not limited for all of the accepted print jobs, and execution of printing by the printing unit based on the print jobs is suspended; and a print reservation mode in which the control unit executes the determination process; a print priority mode in which the control unit does not execute the determination process, and the amount of power supplied to the external device via the interface is limited for all of the accepted print jobs, and the printing unit executes printing based on the print jobs; and The printing device according to claim 1 , further comprising:
14. The print job is Priority information indicating a priority relative to the other print jobs is set, The control unit is The printing device according to claim 1 , wherein the printing device determines that the first condition is satisfied when a priority indicated by the priority information set for the accepted print job is equal to or higher than a predetermined priority.
15. A control method for a printing device including a printing unit that executes printing, an interface that performs power transfer in compliance with the USB Power Delivery standard, a control unit, and a FAX communication unit that executes transmission and reception of a FAX job including FAX data, comprising: a determination step of determining whether a first condition is satisfied or a second condition different from the first condition is satisfied when a print job instructing printing by the printing unit is accepted in a state in which a predetermined amount of power is supplied to an external device via the interface; a printing step of limiting the amount of power supplied to the external device via the interface and executing printing by the printing unit based on the print job when it is determined that the first condition is satisfied as a result of the determining step; a suspension step of suspending execution of printing by the printing unit based on the print job without limiting the amount of power supplied to the external device via the interface when it is determined that the second condition is satisfied as a result of the determination step; Including, The control method for a printing device further comprises determining that the second condition is satisfied if the print job is a fax job received via the fax communication unit.
16. A program for causing a computer to execute control of a printing device including a printing unit that executes printing, an interface that performs power transfer in compliance with the USB Power Delivery standard, and a FAX communication unit that executes transmission and reception of a FAX job including FAX data, The computer includes: a determination process for determining whether a first condition is satisfied or a second condition different from the first condition is satisfied when a print job that instructs printing by the printing unit is accepted in a state in which a predetermined amount of power is supplied to an external device via the interface; a printing process of limiting the amount of power supplied to the external device via the interface and executing printing by the printing unit based on the print job when it is determined that the first condition is satisfied as a result of the determination process; a suspension process of suspending execution of printing by the printing unit based on the print job without limiting the amount of power supplied to the external device via the interface when it is determined that the second condition is satisfied as a result of the determination process; Run the command, a program for determining that the print job satisfies the second condition when the print job is the FAX job received via the FAX communication unit;
Citation Information
Patent Citations
Management device for person's things
JP1989048200A
Electronic camera
JP2000228738A
Image forming apparatus
JP2004201027A
Printer
JP2006338524A
Facsimile apparatus
JP2008028585A
