Printing device, printing system, and program

The printing apparatus converts unsupported PJL data into supported data using conversion rules, addressing the burden of system reconstruction during updates by enabling seamless integration of new functionalities without requiring extensive system changes.

JP7703934B2Active Publication Date: 2025-07-08BROTHER KOGYO KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021119668
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-07-20
Publication Date
2025-07-08
Estimated Expiration
2041-07-20

AI Technical Summary

Technical Problem

The burden of reconstructing a printing system increases when a printing apparatus is updated to accommodate changes in functionality and performance, such as the diversification of provided value.

Method used

A printing apparatus equipped with an external interface, user interface, and non-volatile memory that converts non-target PJL data into target PJL data using conversion rules stored in the non-volatile memory, allowing the system to process unsupported PJL data without requiring system-wide updates.

Benefits of technology

This approach enables the printing apparatus to handle unsupported PJL data without increasing the burden on the printing system, reducing the need for system-wide reconstruction and simplifying the update process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007703934000001
    Figure 0007703934000001
  • Figure 0007703934000002
    Figure 0007703934000002
  • Figure 0007703934000003
    Figure 0007703934000003
Patent Text Reader

Abstract

To provide a technique that can suppress burdens in reconstructing a printing system even when a printing device is renewed.SOLUTION: A CPU 21 displays, on a touch panel 61, a conversion rule-making screen that makes a conversion rule for converting unconverted PJL data (non-support PJL data) to converted PJL data (support PJL data) (Figure 6(A)), inputs data showing constituent elements of the converted PJL data to instruction objects 81b-81f displayed in constituent element units of syntax of the converted PJL data (Figure 6(B)), and when a rule registration button 69 is operated, registers data associated with the unconverted PJL data and the converted PJL data which are displayed as the conversion rule in the conversion-rule data memorized in a flash ROM.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to a technique for processing data described in a printer job language (hereinafter referred to as PJL (Printer Job Language)).

Background Art

[0002] Patent Document 1 describes a technique in which a printing apparatus stores new PJL data transmitted from a PC and a process corresponding to the new PJL data in a PJL dictionary, and when the new PJL data is received from the PC, performs the process corresponding to the received new PJL data in the PJL dictionary.

Prior Art Documents

Patent Documents

[0003]

Patent Document 1

Summary of the Invention

Problems to be Solved by the Invention

[0004] In printing apparatuses represented by printers, changes such as diversification of the provided value have occurred in addition to improvements in performance and functions. However, in a printing system including a printing apparatus, when the printing apparatus is updated to cope with the above changes, the burden for reconstructing the printing system increases.

[0005] Therefore, the present application has been proposed to solve the above problems, and an object thereof is to provide a technique in which the burden for reconstructing a printing system does not increase even when the printing apparatus is updated.

Means for Solving the Problems

[0006] To achieve the above object, the present application includes an external interface, a user interface, a non-volatile memory, and a computer. The computer is a printing apparatus that acquires a print job including PJL data via the external interface and executes a printing process according to the acquired print job. The computer executes an acquisition process of acquiring a print job via the external interface, and when the PJL data included in the print job acquired by the acquisition process is non-target PJL data, an instruction operation reception process of receiving via the user interface an instruction operation for instructing which target PJL data to convert the non-target PJL data into, and a storage process of storing, as a conversion rule, in the non-volatile memory data in which the non-target PJL data acquired via the external interface by the acquisition process is associated with the target PJL data to be the conversion destination according to the instruction operation received by the instruction operation reception process. The target PJL data is PJL data according to which the computer can execute a process, and the non-target PJL data is PJL data that is not target PJL data. After executing the storage process, when the PJL data acquired via the external interface by the acquisition process is non-target PJL data existing in the conversion rule stored in the non-volatile memory, the computer executes a conversion process of converting the non-target PJL data into the target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory, and a process according to the target PJL data converted by the conversion process.

[0007] When the PJL data included in the print job obtained via the external interface is non-target PJL data, the computer receives, via the user interface, an instruction operation for instructing which target PJL data to convert the non-target PJL data into. Then, the computer stores, as a conversion rule, in the non-volatile memory, data associating the non-target PJL data obtained via the external interface with the target PJL data that is the conversion destination, according to the received instruction operation. Further, after executing the storage process, when the PJL data obtained via the external interface is non-target PJL data existing in the conversion rule stored in the non-volatile memory, the computer converts the non-target PJL data into the target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory, and executes processing according to the converted target PJL data.

[0008] Note that the technology disclosed in this specification can be realized in various forms. For example, it can be realized not only in the form of a printing system but also in the form of a program, a storage medium storing the program, and the like.

Advantages of the Invention

[0009] According to the printing device and the like according to the present application, it is possible to provide a printing device and the like that do not increase the burden for reconstructing the printing system even when the printing device is updated.

Brief Description of the Drawings

[0010]

Figure 1

Figure 2

Figure 3

Figure 4

Figure 5

Figure 6

Figure 7

Figure 8

Figure 9

Figure 10

Figure 11

Figure 12

Figure 13

Figure 14

Figure 15

Figure 16

Figure 17

Embodiments for Carrying Out the Invention

[0011] Hereinafter, a printing apparatus, a printing system, and a program according to a first embodiment of the present invention will be described with reference to the drawings. The main electrical configuration of the printing apparatus will be described with reference to FIG. 1 showing it. The printing apparatus 10 includes a printing engine 11, a flash ROM 12, an NVRAM 14, an image processing circuit 15, a user IF (abbreviation for interface) 60, a communication IF 17, a USB IF 18, a bus 19, a control unit 20, a RAM 22, and a ROM 23. The printing engine 11 is an engine for printing an image on a recording medium such as a sheet, and a printing method such as an electrophotographic method, an inkjet method, or a thermal method is adopted. The image processing circuit 15 performs RIP (abbreviation for Raster Image Processer) processing on the image data related to the PDL unit 32 (FIG. 3) and converts it into drawing data corresponding to the pixels to be printed on a recording medium such as a sheet. The converted drawing data is output to the printing engine 11. The NVRAM 14 is a non-volatile memory that stores printing setting information and the like. The user IF 60 includes a touch panel 61, and the touch panel 61 has a function of displaying a message and a function of receiving an operation by the user. The communication IF 17 is connected to the information processing apparatus 40 so as to be mutually communicable via a LAN line L1. As a communication method between the printing apparatus 10 and the information processing apparatus 40, a communication protocol such as Bluetooth (registered trademark) can also be used. The information processing apparatus 40 is, for example, a PC or a smartphone. The USB IF 18 is hardware for communicating with a device connected based on the USB standard. The control unit 20 is configured by a CPU 21 and the like. The control unit 20 controls the printing engine 11 according to the printing setting information stored in the NVRAM 14. Further, the control unit 20 controls communication with the information processing apparatus 40 via the communication IF 17. The conversion rule data 13 (FIG. 9) described later is stored in the flash ROM 12.

[0012] The ROM 23 stores a program 24 for the CPU 21 to execute a main routine (FIG. 7) and subroutines (FIGS. 8 to 16) described later. The RAM 22 has a storage area for expanding the conversion rule data 13 read from the flash ROM 12, a work area for expanding the program 24 read from the ROM 23, and the like. The control unit 20, the RAM 22, the ROM 23, the flash ROM 12, the NVRAM 14, the printing engine 11, the image processing circuit 15, the user IF 60, the communication IF 17, and the USB IF 18 are interconnected by a bus 19. The CPU 21, or the control unit 20 including the CPU 21, is an example of the computer of the present invention, the touch panel 61 is an example of the user interface of the present invention, and the flash ROM 12 is an example of the non-volatile memory of the present invention. The communication IF 17 and the USB IF 18 are examples of the external interface of the present invention, and the program 24 is an example of the program of the present invention. The information processing apparatus 40 is an example of the information processing apparatus of the present invention, and the printing apparatus 10 and the information processing apparatus 40 are examples of the printing system of the present invention. The conversion rule data 13 may be stored in a computer-readable storage medium and provided from the storage medium to the printing apparatus 10. Also, the program 24 may be stored in a computer-readable storage medium, provided from the storage medium to the printing apparatus 10, and executed by the CPU 21. A computer-readable storage medium is a non-transitory medium. Non-transitory media include storage media such as CD-ROMs, DVD-ROMs, and USB memories. Also, non-transitory media are tangible media. On the other hand, an electrical signal that carries a program downloaded from a server on the Internet or the like is a computer-readable signal medium, which is a kind of computer-readable medium, but is not included in a computer-readable non-transitory storage medium.In the following description, processes such as "judgment", "analysis", "reading", "expansion", "writing", "conversion", "reference", "saving", "input", "receiving", "reflection", "output", "transmission", "reception", "decision", "setting", "acquisition", "control", "memory", "registration", "deletion", "judgment", "display", "incorporation", etc. represent the processes performed by the CPU 21. The processes performed by the CPU 21 include hardware control via the OS. Note that "acquisition" is used as a concept that does not require a request. That is, a process of receiving data without the CPU 21 making a request is also included in the concept of "the CPU 21 acquiring data". Also, the "data" in this specification is represented by a bit string that can be read by a computer. And data with the same substantial meaning content but different formats shall be treated as the same data. The same applies to the "information" in this specification.

[0013] By the way, when changing the model of the printing device connected to the information processing device 40, even if a print job is sent from the information processing device 40 to the printing device, the printing device may not perform the expected operation. One of the reasons is the compatibility of PJL data. For example, certain PJL data may have been supported by the printing device previously connected to the information processing device 40, but may not be supported as PJL data by the newly connected printing device. In such a case, in order to control the newly connected printing device, it may be considered to install a driver that supports the new PJL data in the information processing device 40. However, the system administrator who manages the printing system wants to avoid changing the system program as much as possible because it may cause factors that hinder the normal operation of the system and require labor. Therefore, the inventor of the present application has created a technology that allows the use of the PJL data that has been sent from the information processing device to the printing device until now without changing the system program even when the model of the printing device connected to the information processing device changes. And in order to use that technology, in the printing device 10 of the present embodiment, conversion rule data 13 for converting PJL data not supported in the printing device 10 into supported PJL data is stored in the flash ROM 12 (Fig. 1).

[0014] Next, the main routine executed by the CPU 21 of the control unit 20 will be described with reference to FIG. 10. The CPU 21 executes each process of the main routine (FIG. 10) and the subroutines (FIGS. 11 to 16) according to the program 24 (FIG. 1) stored in the ROM 23. In the following description, the steps of the process executed by the CPU 21 are abbreviated as S. The CPU 21 displays a standby screen, that is, a standby screen (FIG. 2(A)) on the touch panel 61 (S1). FIG. 2(A) shows the standby screen displayed on the touch panel 61. On the standby screen, a fax button for causing the printing apparatus 10 to execute a fax function, a copy button for causing the copying function to be executed, and a scan button for causing the scanning function to be executed are displayed. Further, on the standby screen, a conversion rule creation mode button 62, a conversion rule editing button 63, and a conversion rule list printing button 65 are displayed. The CPU 21 determines whether the conversion rule creation mode button 62 (FIG. 2(A)) has been operated (S2 in FIG. 10). If it is affirmatively determined that it has been operated (S2: Yes), a conversion rule creation mode flag indicating that the operation mode of the printing apparatus 10 has transitioned from the normal mode to the conversion rule creation mode is turned on (S3). Subsequently, the CPU 21 displays a conversion rule creation mode screen on the touch panel 61 in a manner indicating waiting for data reception (FIG. 2(B)) (S4). As shown in FIG. 2(B), the touch panel 61 displays a message "Conversion Rule Creation Mode" indicating that the operation mode has transitioned from the normal mode to the conversion rule creation mode, a message "Data Reception Pending" indicating that it is in a state of waiting for reception of data transmitted from the information processing apparatus 40, and an end button 66 on the screen. That is, the printing apparatus 10 is capable of transitioning between the conversion rule creation mode and the normal mode that is not the conversion rule creation mode, and can display a conversion rule creation mode button 62 for receiving a transition instruction operation for transitioning from the normal mode to the conversion rule creation mode on the touch panel 61, and transitions to the conversion rule creation mode when the conversion rule creation mode button 62 receives a transition instruction operation while in the normal mode.

[0015] Subsequently, if the CPU 21 makes a negative determination in S2 (S2: No), it determines whether the conversion rule editing button 63 (Fig. 2(A)) has been operated (S5). Here, if the CPU 21 determines that it has not been operated (S5: No), it determines whether the conversion rule list printing button 65 (Fig. 2(A)) has been operated (S7). If it determines that it has not been operated (S7: No), it determines whether it has received a print job 30 (Fig. 3(A)) from the information processing apparatus 40 (Fig. 1) (S9). Here, the configuration of the print job will be described with reference to Fig. 3(A). The print job 30 includes a PJL section 31 composed of at least one piece of PJL data and a PDL section 32 composed of at least one piece of PDL (abbreviation for Page Description Language) data. The data D1 “EC%-12345X@PJL” described at the beginning of the print job 30 is an opening command indicating that the PJL section 31 starts from the next line. Each piece of PJL data constituting the PJL section 31 represents the name of the creator of the print job 30, the name of the print job 30, print setting information, etc. The print setting information includes print setting information such as paper size, print orientation, designation of color printing or monochrome printing, number of copies to be printed, and print quality. For example, the PJL data D2 “@PJL SET MEDIASIZE=LETTER” represents an instruction to set the paper size to “LETTER”, and the PJL data D3 “@PJL SET MEDIAWEIGHT=HEAVY” represents an instruction to set the paper with a heavy weight per unit area, that is, thick paper, to “HEAVY”. The PJL data D4 “@PJL ENTER LANGUAGE=PCL” described at the last line of the PJL section 31 is PJL data indicating that the PJL section 31 ends and that from the next line, the PDL section 32 composed of a page description language called PCL (abbreviation for Printer Command Language) starts. In addition to PCL, examples of the page description language include PCLXL and PS (abbreviation for Post Script). The PJL data D5 “EC%-12345X@PJL EOJ NAME=”office-PDF(A&A4).pdf”” described after the PDL section 32 is PJL data indicating the end of the print job 30.The PJL data D6 "EC%-12345X" described at the end of the print job 30 is PJL data indicating one delimiter of the print job 30.

[0016] When the CPU 21 makes an affirmative determination that it has received the print job 30 (S9: Yes in FIG. 10), it determines whether the conversion rule creation mode flag is ON (S11). If it makes an affirmative determination that it is ON (S11: Yes), it displays the conversion rule creation mode screen on the touch panel 61 in a manner indicating that data analysis is in progress (FIG. 2(C)) (S12). As shown in FIG. 2(C), the touch panel 61 displays a message "Data analysis in progress" on the screen indicating that the received data is being analyzed. Subsequently, the CPU 21 executes the data analysis process (FIG. 12) described later (S13) and executes the conversion rule creation process (FIGS. 13 and 14) described later (S14). Subsequently, when the CPU 21 finishes the conversion rule creation process (S14), it turns off the conversion rule creation mode flag (S16) and displays the standby screen (FIG. 2(A)) on the touch panel 61 (S1). Also, when the CPU 21 makes an affirmative determination that the conversion rule edit button 63 (FIG. 2(A)) has been operated (S5: Yes), it executes the conversion rule edit process (FIGS. 15 and 16) described later (S6). Also, when the CPU 21 makes an affirmative determination that the conversion rule list print button 65 (FIG. 2(A)) has been operated (S7: Yes), it prints the conversion rule data 13 (FIG. 9) stored in the RAM 22 in a list format on paper or the like (S8). For example, it prints the conversion rule data 13 in the table format shown in FIG. 9 on paper or the like. That is, the CPU 21 can display the conversion rule list print button 65 on the touch panel 61 for receiving a list print instruction operation for causing the CPU 21 to execute the list print of the conversion rules stored in the flash ROM 12. In response to the conversion rule list print button 65 receiving the list print instruction operation, it executes the list print of the conversion rules stored in the flash ROM 12. Therefore, the user can know the content of the conversion rules stored in the flash ROM 12 by viewing the printed list of the conversion rules. Also, when the CPU 21 makes a negative determination that the conversion rule creation mode flag is not ON (S11: No), it executes the normal print process (FIG. 11) described later (S15) and returns to S2.Also, when the CPU 21 makes a negative determination that it has not received a print job (S9: No), it determines whether or not the end button 66 (Fig. 2(B)) has been operated (S10). If it determines that it has been operated (S10: Yes), it turns off the conversion rule creation mode flag (S16) and returns to S1. Also, if it does not determine that the end button 66 has been operated (S10: No), it proceeds to S11. The normal printing process (S15) executed by the CPU 21 is an example of the printing process of the present invention.

[0017] Next, with reference to FIG. 12, the data analysis process executed by the CPU 21 in S12 (FIG. 10) of the main routine will be described. The CPU 21 sets the first data of the print job 30 (FIG. 3) received from the information processing apparatus 40 as the analysis target (S30), and analyzes the data set as the analysis target (S31). Subsequently, the CPU 21 determines whether the analyzed data is PJL data as a result of the analysis process in S31 (S32). If it is affirmatively determined that the data is PJL data (S32: Yes), it is determined whether the PJL data of the affirmatively determined target is non-target PJL data (S33). For example, a target PJL data list in which target PJL data is registered is stored in the flash ROM 12. If the CPU 21 determines that the target PJL data affirmatively determined in S32 is not registered in the target PJL data list, it is determined that the data is non-target PJL data. Here, if the CPU 21 affirmatively determines that the data is non-target PJL data (S33: Yes), the acquired PJL data of the affirmatively determined target is stored in the RAM 22 (FIG. 1) as non-target PJL data (S34). Subsequently, the CPU 21 sets the next data as the analysis target (S35) and returns to S32. Also, if the CPU 21 negatively determines that the data is not non-target PJL data (S33: No), without executing S34, it sets the next data as the analysis target (S35). Also, if the CPU 21 negatively determines that the data is not PJL data (S32: No), it determines whether the data to be set as the analysis target from now on is PDL data or the end of the PJL section 31 (FIG. 3(A)) (S36). If it is affirmatively determined (S36: Yes), the data analysis process is terminated and the routine returns to the main routine. Also, if it is negatively determined that the data to be set as the analysis target from now on is not PDL data or the end of the PJL section 31 (S36: No), it returns to S32. That is, the CPU 21 executes S32 to S35 for all the PJL data constituting the PJL section 31, and stores the PJL data determined to be non-target PJL data (S33: Yes) in the RAM 22 as non-target PJL data (S34). The non-target PJL data stored in the RAM 22 in this way is treated as a target for conversion rule creation in the conversion rule creation process (FIGS. 13 and 14).

[0018] Next, the normal printing process executed by the CPU 21 in S14 (FIG. 10) of the main routine will be described with reference to FIG. 11. The CPU 21 reads the acquired PJL data at the head of the PJL unit 31 of the print job 30 (FIG. 3(A)) (S20), and determines whether the read acquired PJL data matches the pre-conversion PJL data registered in any of the conversion rules of the conversion rule data 13 (FIG. 9) (S21). Here, when the CPU 21 makes an affirmative determination that they match (S21: Yes), the acquired PJL data of the affirmative determination target is converted into the post-conversion PJL data associated with the pre-conversion PJL data in the conversion rule having the pre-conversion PJL data that matches the acquired PJL data (S22). For example, assuming that the acquired PJL data is the acquired PJL data D2 "@PJL SET LPARM:PCL MEDIASIZE=LETTER" (FIG. 3(A)), since the acquired PJL data D2 matches the pre-conversion PJL data registered in the conversion rule of conversion rule number 2 of the conversion rule data 13 (FIG. 9), the conversion rule of conversion rule number 2 is applied, and the acquired PJL data D2 is converted into the post-conversion PJL data "@PJL SET LPARM:PCL PAPER=LETTER" associated with the pre-conversion PJL data that matches the acquired PJL data D2 (S22). That is, the acquired PJL data that is the target of the affirmative determination in S21 is rewritten to the post-conversion PJL data converted in S22.

[0019] Also, when the CPU 21 makes a negative determination that the read acquired PJL data does not match the pre-conversion PJL data registered in any of the conversion rules of the conversion rule data 13 (Fig. 9) (S21: No), the CPU 21 executes S23 without executing S22. Subsequently, the CPU 21 determines whether it has reached the end of the PDL data or the PJL section 31 (23). If the negative determination is made that it has not reached the end of the PDL data or the PJL section 31 (23: No), the CPU 21 reads the next acquired PJL data (S24) and executes S21 to S23. In this way, until the CPU 21 makes an affirmative determination that it has reached the end of the PDL data or the PJL section 31 (S23: Yes), the CPU 21 executes S21 to S24 for all the acquired PJL data constituting the PJL section 31, and executes the conversion process (S22) of converting the acquired PJL data that matches the pre-conversion PJL data registered in the conversion rule data 13 into the post-conversion PJL data. Also, when the CPU 21 makes an affirmative determination that it has reached the end of the PDL data or the PJL section 31 (S23: Yes), the CPU 21 executes the printing process according to each PJL data constituting the PJL section 31 (S25) and returns to the main routine. At the time of executing the printing process, among the acquired PJL data constituting the PJL section 31, the acquired PJL data that matches the pre-conversion PJL data registered in the conversion rule data 13, that is, the unsupported acquired PJL data, has been converted into the supported post-conversion PJL data, so that printing can be executed according to the instruction content indicated by the unsupported acquired PJL data. S22 executed by the CPU 21 is an example of the conversion process of the present invention, and S25 is an example of the process according to the target PJL data of the present invention.

[0020] Next, the conversion rule creation process executed by the CPU 21 in S15 (Fig. 10) of the main routine will be described with reference to Figs. 13 and 14. The CPU 21 displays the conversion rule creation mode screen on the touch panel 61 in a mode indicating the completion of data analysis (Fig. 2(D)) (S40 in Fig. 13). In the example shown in Fig. 2(D), the number "2" is displayed on the touch panel 61 as the number of detected non-target PJL data as a result of the data analysis process (S12 in Fig. 10). Also, a print button 74, a conversion rule creation button 64, and an end button 66 are displayed on the touch panel 61. When a conversion rule is being created, the print button 74 is in a display mode where it is disabled because the conversion rule being created is not registered in the conversion rule data 13. When the created conversion rule is registered in the conversion rule data 13, it becomes in a display mode where it is enabled. At this point, since the conversion rule creation process has not ended, the operation of the print button 74 is disabled. Subsequently, the CPU 21 determines whether the conversion rule creation button 64 (Fig. 2(D)) has been operated (S41). If it is affirmatively determined that it has been operated (S41: Yes), among the non-target PJL data stored in the RAM 22 in S34 (Fig. 12) of the analysis process, the first non-target PJL data is set as the display target on the conversion rule creation screen (S43). Subsequently, the CPU 21 executes a syntax analysis process on the non-target PJL data set as the analysis target in S45 (S44).

[0021] Here, the components of the PJL data will be described with reference to FIG. 3(B). FIG. 3(B) shows an example of PJL data, which is the PJL data of "@PJL DEFAULT LPARM:PCL PTSIZE=14.25". This PJL data is PJL data that instructs to set the point size of the initial value when printing the PDL part 32 described by PCL to 14.25. When the PJL data is divided into units of its syntax components, it is data composed of four components: "PJL Prefix", "Command", "Command modifier:Value", and "Option name". "@PJL" is the "PJL Prefix". "DEFAULT" is the "Command". "LPARM:PCL" is the "Command modifier:Value". "PTSIZE=14.25" is the "Option name=Value". Hereinafter, the "PJL Prefix" is the first component, the "Command" is the second component, the "Command modifier:Value" is the third component, and the "Option name=Value" is the fourth component. The first component is an essential element, but in the format of the PJL data, there are format 1 consisting only of the first and second components and format 2 consisting of the first to fourth components. The second to fourth components are allowed to be omitted according to the PJL standard. Hereinafter, among the PJL data of format 2, the PJL data described in a format where the second to fourth components are not omitted is referred to as non-omitted type PJL data, and the PJL data described in a format where one or two of the second to fourth components are omitted is referred to as omitted type PJL data.

[0022] Next, the PJL data conversion mode will be described with reference to FIGS. 4 and 5. As shown in FIG. 4, the conversion mode 1 is a conversion mode for converting PJL data in format 1 consisting only of the above-described first component and second component, and is a conversion mode for converting the "Command" of the second component. Example 1 shown in FIG. 5(A) shows an example of converting the pre-conversion PJL data in format 1 of "@PJL UNKNOWNINIT" into the post-conversion PJL data in format 1 of "@PJL INITIALIZE". Further, Example 2 shows an example of converting the pre-conversion PJL data in format 1 of "@PJL UNKNOWNJOB" into the post-conversion PJL data in format 1 of "@PJL JOB". As shown in FIG. 4, the conversion mode 2 is a conversion mode for converting the above-described PJL data in format 2, and is a conversion mode for converting the "Option Name" of the fourth component. As described above, there are non-omissible PJL data and omissible PJL data in format 2. Therefore, if non-omissible PJL data is described as the pre-conversion PJL data of the conversion rule, the CPU 21 can convert the acquired PJL data into the post-conversion PJL data by the above conversion rule when the acquired PJL data is non-omissible. Also, if omissible PJL data is described as the pre-conversion PJL data of the conversion rule, the CPU 21 can convert the PJL data into the post-conversion PJL data by the above conversion rule when the acquired PJL data is omissible. Thus, in the conversion mode of the conversion rule, there are multiple types of conversion modes according to the types of the components that can be omitted among the components of the syntax of the PJL data. Also, since the CPU 21 can analyze both non-omissible PJL data and omissible PJL data, either non-omissible PJL data or omissible PJL data may be described as the post-conversion PJL data of the conversion rule.

[0023] Example 1 shown in FIG. 5(B) shows an example of converting the abbreviated PJL data of "@PJL INQUIRE MEDIASIZE" in which the third component is omitted among the acquired PJL data into the abbreviated converted PJL data of "@PJL INQUIRE PAPER" in which the third component is omitted. Example 2 shown in FIG. 5(B) shows an example of converting the non-abbreviated PJL data of "@PJL INQUIRE LPARM:PCL MEDIASIZE" among the acquired PJL data into the non-abbreviated converted PJL data of "@PJL INQUIRE LPARM:PCL PAPER". Example 3 shown in FIG. 5(B) shows an example of converting the non-abbreviated PJL data of "@PJL SET LPARM:PCL MEDIASIZE=LETTER" among the acquired PJL data into the non-abbreviated converted PJL data of "@PJL SET LPARM:PCL PAPER=LETTER". Also, as the PJL data before conversion of the conversion rule, it is also possible to describe the PJL data unique to the manufacturer of the printing apparatus 10 (hereinafter referred to as unique type PJL data). For example, in the unique type PJL data, it is possible to omit up to the first to third components and make only the fourth component an essential element. For example, when the unique type PJL data with only the fourth component is described as the PJL data before conversion of the conversion rule, if the fourth component of the acquired PJL data matches the unique type PJL data which is the PJL data before conversion of the above conversion rule, regardless of the contents of the second and third components of the acquired PJL data, the acquired PJL data can be converted into the converted PJL data associated with the PJL data before conversion and the above conversion rule. For example, assume that in the conversion rule, the PJL data before conversion with only the fourth component of "MEDIASIZE=LETTER" (unique type PJL data) is associated with the converted PJL data of "PAPER=LETTER". Then, when "MEDIASIZE=LETTER" exists in the fourth component of the acquired PJL data, regardless of the contents of the second and third components of the acquired PJL data, the acquired PJL data is converted into the converted PJL data of "PAPER=LETTER".That is, in all cases where PJL data with "MEDIASIZE=LETTER" exists in the fourth component, it is possible to generate converted PJL data in which "MEDIASIZE=LETTER" is converted to "PAPER=LETTER". By using a conversion rule in which the unique type PJL data is described as the pre-conversion PJL data, for example, an acquired PJL command instructing a temporary paper size setting such as "@PJL SET MEDIASIZE=LETTER" can be converted to "@PJL SET PAPER=LETTER", and an acquired PJL command instructing a default value setting of the paper size such as "@PJL DEFAULT MEDIASIZE=LETTER" can be converted to "@PJL DEFAULT PAPER=LETTER".

[0024] In the syntax analysis process (S44 in FIG. 13), the CPU 21 performs analysis on whether the conversion mode applied to the non-target PJL data is conversion mode 1 or conversion mode 2, and a process of dividing the non-target PJL data into the first to fourth components. Subsequently, the CPU 21 determines whether the conversion mode applied to the non-target PJL data that was the subject of the analysis process in S44 is conversion mode 1 or conversion mode 2 based on the result of the analysis process in S44 (S45). Specifically, the CPU 21 determines that conversion mode 1 is suitable when the non-target PJL data subjected to the syntax analysis process takes the "Command" of the second component as an argument, and determines that conversion mode 2 is suitable when it takes the third component "Command modifier" and the fourth component "Option name", or the fourth component "Option name" as an argument. For example, when analyzing the acquired PJL data D2 "@PJL SET LPARM:PCL MEDIASIZE=LETTER" (FIG. 3(A)) in S44 as non-target PJL data, since the acquired PJL data D2 has the third and fourth components in addition to the second component, it is determined that the applicable conversion mode is conversion mode 2 (FIG. 4) (S45). Subsequently, the CPU 21 determines whether the same pre-conversion PJL data as the non-target PJL data to be displayed exists in any of the conversion rules of the conversion rule data 13 (S46). If it is determined not to exist (S46: No), the result of the syntax analysis process in S44 is displayed on the touch panel 61 (S47).

[0025] Here, the conversion rule data 13 stored in the flash ROM 12 will be described with reference to FIG. 9(A). Hereinafter, the PJL data acquired by the CPU 21 from the information processing apparatus 40 via the communication IF 17 or the USB IF 18 is referred to as acquired PJL data. Further, among the acquired PJL data, the acquired PJL data not supported by the printing apparatus 10 is referred to as non-target PJL data, and the PJL data supported is referred to as target PJL data. The conversion rule data 13 is data for converting non-target PJL data into target PJL data. Further, the PJL data before conversion that is non-target PJL data is referred to as pre-conversion PJL data, and the PJL data after conversion is referred to as post-conversion PJL data. As shown in FIG. 9(A), in the conversion rule data 13, a conversion rule number (sequential number of the conversion rule), pre-conversion PJL data, and post-conversion PJL data are associated with each other. In the figure, [N / A] represents "not applicable", indicating that there is no corresponding component, that is, it is omitted.

[0026] Here, the conversion rule creation screen displayed on the touch panel 61 in S47 will be described with reference to FIG. 6(A). The touch panel 61 displays an instruction object group 80 corresponding to the pre-conversion PJL data and an instruction object group 81 corresponding to the post-conversion PJL data. The instruction object group 80 includes an instruction object 80a representing the conversion mode of the pre-conversion PJL data and instruction objects 80b to 80f for each component obtained by dividing the pre-conversion PJL data into component units. The instruction object 80b is an instruction object representing the second component of the pre-conversion PJL data, the instruction objects 80c and 80d are instruction objects representing the third component, and the instruction objects 80e and 80f are instruction objects representing the fourth component. Also, the instruction object group 81 includes an instruction object 81a representing the conversion mode of the post-conversion PJL data and instruction objects 81b to 81f for each component obtained by dividing the post-conversion PJL data into component units. The instruction object 81b is an instruction object representing the second component of the post-conversion PJL data, the instruction objects 81c and 81d are instruction objects representing the third component, and the instruction objects 81e and 81f are instruction objects representing the fourth component. Buttons such as the fax and conversion rule creation mode button 62, icons, and images showing options displayed on the touch panel 61 are examples of objects.

[0027] In FIG. 6(A), the acquired PJL data D2 “@PJL SET LPARM PCL MEDIASIZE=LETTER” (FIG. 3(A)) is displayed as the pre-conversion PJL data in the instruction objects 80b to 80f for each component unit. Further, since the acquired PJL data D2 is PJL data to which the conversion mode 2 is applied, “Mode2” is displayed in the instruction object 80a. Further, in each instruction object 81a to 81f of the instruction object group 81 corresponding to the post-conversion PJL data, the same data as that displayed in each instruction object 80a to 80f of the instruction object group 80 corresponding to the pre-conversion PJL data is displayed. As described above, when the PJL data acquired by the CPU 21 from the information processing apparatus 40 via the communication IF 17 is non-target PJL data, the non-target PJL data is divided into component units of the syntax of the PJL data, and the instruction objects 80b to 80f for each of the divided components are displayed on the touch panel 61 as the pre-conversion PJL data. Further, the instruction objects 81b to 81f capable of inputting data for each component of the post-conversion PJL data, which is the conversion destination of the pre-conversion PJL data, are displayed on the touch panel 61 in association with the respective instruction objects 80b to 80f of the pre-conversion PJL data. In this way, by displaying the instruction objects in the component units of the pre-conversion PJL data and the post-conversion PJL data on the touch panel 61, the user can grasp the pre-conversion PJL data and the post-conversion PJL data in the component units respectively, and can input data in the component units.

[0028] In S47, the reason for displaying the same data as the instruction object group 80 corresponding to the PJL data before conversion in the instruction object group 81 corresponding to the PJL data after conversion will be explained. There may be common components between the PJL data before conversion and the PJL data after conversion. However, if the data entry operation for each instruction object is performed starting from a state where nothing is displayed in the instruction objects 81a to 81f, the efficiency of creating the conversion rules deteriorates. Therefore, by displaying the same data as the conversion mode and components of the PJL data before conversion in each instruction object 81a to 81f of the PJL data after conversion, the user only needs to input into the instruction object the components that are different from the PJL data before conversion. That is, the efficiency of creating the conversion rules can be increased. For example, while looking at a list associating the PJL data before conversion and the PJL data after conversion, the user identifies the PJL data after conversion corresponding to the PJL data before conversion displayed on the touch panel 61, and only needs to input data into the instruction objects corresponding to the components that are different from the PJL data before conversion among the components of the identified PJL data after conversion. For example, when the PJL data after conversion corresponding to the PJL data before conversion "@PJL SET LPARM PCL MEDIASIZE=LETTER" shown in FIG. 6(A) is "@PJL SET LPARM PCL PAPER=LETTER", the user only needs to rewrite only the fourth component, which is different between the PJL data before conversion and the PJL data after conversion, from "MEDIASIZE" to "PAPER" among the components.

[0029] Also, when the CPU 21 makes an affirmative determination that the pre-conversion PJL data identical to the non-target PJL data to be displayed exists in any of the conversion rules of the conversion rule data 13 (S46: Yes), the CPU 21 displays the pre-conversion PJL data of the conversion rule that is the subject of the affirmative determination as an initial value in the instruction object group 80 corresponding to the pre-conversion PJL data of the touch panel 61 in terms of component units, and also displays the post-conversion PJL data of the conversion rule that is the subject of the affirmative determination as an initial value in the instruction object group 81 corresponding to the post-conversion PJL data of the touch panel 61 in terms of component units (S48). Thereby, it can be known that the conversion rule displayed on the touch panel 61 is already registered in the conversion rule data 13. That is, when the PJL data acquired from the information processing apparatus 40 via the communication IF 17 is non-target PJL data and a conversion rule having the same pre-conversion PJL data as the non-target PJL data is registered in the conversion rule data 13 of the flash ROM 12, the CPU 21 divides the pre-conversion PJL data and the post-conversion PJL data associated with the pre-conversion PJL data in the conversion rule data 13 into component units of the syntax of the PJL data, and displays the instruction objects 80b to 80f and 81b to 81f for each of the divided components on the touch panel 61, and also displays the divided components as initial values in the instruction objects corresponding to the components. Note that a message indicating that it is already registered may be displayed on the touch panel 61.

[0030] Then, when the CPU 21 executes S47 or S48, it determines whether the previous button 67 (Fig. 6) displayed on the touch panel 61 has been operated (S50 in Fig. 14). If it is affirmatively determined that the button has been operated (S50: Yes), the previous non-target PJL data before the non-target PJL data for which syntax analysis processing was performed in S44 (Fig. 13) of the currently executed routine is set as the analysis target (S51), and S44 to S48 (Fig. 13) are executed for the set non-target PJL data. If there is no previous non-target PJL data, the operation of the previous button 67 is invalid. Also, if the CPU 21 determines that the previous button 67 has not been operated (S50: No), it determines whether the next button 68 (Fig. 6) has been operated (S52). If it is affirmatively determined that the button has been operated (S52: Yes), the next non-target PJL data after the non-target PJL data for which syntax analysis processing was performed in S44 (Fig. 13) of the currently executed routine is set as the analysis target (S51), and S44 to S48 (Fig. 13) are executed for the set non-target PJL data. If there is no next non-target PJL data, the operation of the next button 68 is invalid.

[0031] The example shown in FIG. 6 is a case where there are two pieces of non-target PJL data stored in the RAM 22. When the first piece of non-target PJL data is displayed on the touch panel 61 as pre-conversion PJL data, as shown in FIGS. 6(A) and 6(B), the operation of the next button 68 becomes effective. Since there is no non-target PJL data before the currently displayed first piece of non-target PJL data, the operation of the previous button 67 becomes ineffective. In this example, when the next button 68 in FIG. 6(B) is operated, the second piece of non-target PJL data "@PJL SET MEDIAWEIGHT=HEAVY" is read from the RAM 22 and is displayed in each instruction object group 80, 81 of the touch panel 61 in units of components, as shown in FIG. 6(C). Since the non-target PJL data "@PJL SET MEDIAWEIGHT=HEAVY" is abbreviated PJL data with the third component omitted, the instruction objects 80c, 80d, 81c, 81d corresponding to the third component are not displayed. Also, since there is no next non-target PJL data, the operation of the next button 68 is ineffective. Further, in the conversion rule data 13 (FIG. 9), as the conversion rule of conversion rule number 3, the post-conversion PJL data "@PJL SET MEDIATYPE=THICK" is associated with the pre-conversion PJL data that matches the acquired PJL data "@PJL SET MEDIAWEIGHT=HEAVY". The CPU 21 causes the instruction object group 81 to display a display corresponding to "@PJL SET MEDIATYPE=THICK" in S48. As described above, when there are a plurality of non-target PJLs acquired from the information processing device 40 via the communication IF 17, the CPU 21 displays the previous button 67 and the next button 68 for receiving a switching operation instruction for switching the non-target PJL data displayed on the touch panel 61 to other non-target PJL data on the touch panel 61. When the previous button 67 and the next button 68 receive a switching operation instruction, the non-target PJL data displayed on the touch panel 61 is switched and displayed to other non-target PJL data. Therefore, the user can switch the conversion rules to be created one by one by operating the previous button 67 and the next button 68, so that the creation efficiency of the conversion rules can be improved. In addition, non-target PJL data can also be directly specified using the keyboard that can be displayed on the touch panel 61 or a keyboard provided separately from the touch panel 61. For example, when 10 pieces of non-target PJL data are stored in the RAM 22 and the conversion rule creation screen is displayed on the touch panel 61, if the CPU 21 receives the input of "5" using the keyboard, the fifth non-target PJL data from the top is set as the display target on the conversion rule creation screen, and S44 to S48 (FIG. 13) are executed for the set non-target PJL data.

[0032] Also, when the CPU 21 determines that the next button 68 has not been operated (S52: No), it determines whether data has been input to any of the instruction object groups 80 and 81 that make up the instruction object group displayed on the touch panel 61 (S54). If it determines that data has been input (S54: Yes), the input content is reflected and displayed on the instruction object that received the input (S55). Data can be input using the keyboard that can be displayed on the touch panel 61 or a keyboard provided separately from the touch panel 61. For example, when "MEDIASIZE" is displayed on the instruction object 81e (FIG. 6(A)) corresponding to the PJL data after conversion, when the user touches the instruction object 81e, the instruction object 81e changes to a state where data can be input. When "PAPER" is input to the instruction object 81e (S54: Yes), as shown in FIG. 6(B), "PAPER" is displayed on the instruction object 81e (S55). Also, when the CPU 21 determines that data has not been input to any of the instruction object groups 80 and 81 that make up the instruction object group displayed on the touch panel 61 (S54: No), it determines whether the rule registration button 69 (FIG. 6) has been operated (S56). If it determines that it has been operated (S56: Yes), the data associating the PJL data before conversion displayed in the instruction object group 80 on the touch panel 61 and the PJL data after conversion displayed in the instruction object group 81 is registered as a conversion rule in the conversion rule data 13 (FIG. 9) (S58).

[0033] For example, as shown in FIG. 6(B), when the instruction object group 80 corresponding to the pre-conversion PJL data "@PJL SET LPARM PCL MEDIASIZE LETTER" is displayed and the instruction object group 81 corresponding to the post-conversion PDL data "@PJL SET LPARM PCL PAPER LETTER" is displayed, if the rule registration button 69 is operated, the data associating the pre-conversion PJL data "@PJL SET LPARM PCL MEDIASIZE LETTER" and the post-conversion PJL data "@PJL SET LPARM PCL PAPER LETTER" is registered as a conversion rule in the conversion rule data 13. In the example shown in FIG. 9(B), the conversion rule is registered in the conversion rule data 13 as the conversion rule with the conversion rule number 2. Subsequently, the CPU 21 displays on the touch panel 61 a screen in the conversion rule creation mode in which data analysis has been completed (S59 in FIG. 14). In this case, as shown in FIG. 2(D), the print button 74 is displayed. However, at this point, since the conversion rule creation process has ended, the operation of the print button 74 is enabled. Subsequently, the CPU 21 determines whether the print button 74 has been operated (S60). If it is affirmatively determined that it has been operated (S60: Yes), the same processes as S20 to S25 (FIG. 11) of the normal printing process are executed (S63), and the process returns to the main routine. For example, if the received print job from the information processing apparatus 40 contains non-target PJL data that matches the pre-conversion PJL data "@PJL SET LPARM PCL MEDIASIZE=LETTER", by using the conversion rule with the conversion rule number 2, the non-target PJL data can be converted into the post-conversion PJL data "@PJL LPARM PCL SET PAPER=LETTER". Therefore, the CPU 21 can execute the instruction content "set the paper size to letter" indicated by the non-target PJL data.

[0034] Also, when the CPU 21 determines that the print button 74 has not been operated (S60: No), it determines whether the end button 66 (Fig. 2(D)) displayed on the touch panel 61 has been operated (S61). If it determines that it has not been operated (S61: No), it determines whether the conversion rule creation button 64 (Fig. 2(D)) has been operated (S62). Here, when the CPU 21 determines that it has been operated (S62: Yes), it returns to the conversion rule creation screen (S50). At this time, the non-target PJL data to be displayed is the non-target PJL data when the rule registration button 69 is operated. Also, the display of the conversion rule creation screen is as shown when the rule registration button 69 is operated (S56: Yes). That is, the creation of the conversion rule can be redone. Also, when the CPU 21 determines that the conversion rule creation button 64 has not been operated (S62: No), it returns to S60. Also, when the CPU 21 determines that the end button 66 (Fig. 2(D)) has been operated (S49: Yes, or S57: Yes, or S61: Yes), it ends the conversion rule creation process and returns to the main routine, turns off the conversion rule creation mode flag (S16), and transitions from the conversion rule creation mode to the normal mode. S47 and S48 executed by the CPU 21 are an example of the display process of the present invention, S54 and S55 are an example of the instruction operation reception process of the present invention, and S58 is an example of the storage process. Conversion mode 1 is an example of the first conversion mode of the present invention, and conversion mode 2 is an example of the second conversion mode of the present invention. The print button 74 is an example of the execution instruction object of the present invention.

[0035] As described above, after the CPU 21 executes the process of receiving the print job 30 from the information processing apparatus 40 via the communication IF 17, the conversion rule creation process (S15 in FIG. 10), and the process of registering the conversion rule created by the conversion rule creation process in the conversion rule data 13 of the flash ROM 12 (S58), when the print button 74 receives an execution instruction operation for instructing the execution of printing (S60: Yes), if the non-target PJL data included in the received print job 30 is the pre-conversion PJL data existing in the conversion rule data 13, the pre-conversion PJL data is converted into the post-conversion PJL data associated with the pre-conversion PJL data in the conversion rule data 13 (S22 in FIG. 11), and printing is executed according to the converted post-conversion PJL data (S25). That is, when the CPU 21 executes printing (S25), among the acquired PJL data constituting the PJL unit 31, the acquired PJL data that matches the pre-conversion PJL data of the conversion rule registered in the conversion rule data 13 by S58 of the conversion rule creation process, that is, the non-supported acquired PJL data, is converted into the supported post-conversion PJL data, so that printing can be executed according to the instruction content indicated by the non-supported acquired PJL data. In other words, even if the received print job 30 (FIG. 3) from the information processing apparatus 40 includes non-supported acquired PJL data, by creating a conversion rule for converting the acquired PJL data into supported post-conversion PJL data and registering it in the conversion rule data 13, printing can be executed according to the instruction content indicated by the non-supported acquired PJL data. Therefore, the user only needs to perform a simple operation of inputting appropriate data to the instruction object displayed on the touch panel 61, so the burden of reconstructing the system does not increase. The conversion rule creation mode button 62 is an example of the transition instruction object of the present invention, and the conversion rule list print button 65 is an example of the list print instruction object of the present invention. The previous button 67 and the next button 68 are examples of the switching instruction objects of the present invention, and the instruction objects 80b to 80f and 81b to 81f are examples of the instruction objects for each component of the present invention.

[0036] Next, the conversion rule editing process executed by the CPU 21 in S6 (FIG. 10) of the main routine will be described with reference to FIGS. 15 and 16. The CPU 21 reads the conversion rule of conversion rule number 1 from the conversion rule data 13 (FIG. 9) and displays the read conversion rule on the touch panel 61 (S70). Here, the conversion rule editing screen displayed on the touch panel 61 (FIG. 1) when the user edits the conversion rule will be described with reference to FIG. 7. When the user operates the conversion rule editing button 63 (FIG. 2(A)) displayed on the touch panel 61, the standby screen of the touch panel 61 switches to the conversion rule editing screen shown in FIG. 7. In the example shown in FIG. 7(A), the conversion rule of conversion rule number 1 is displayed on the touch panel 61. The conversion rule of conversion rule number 1 is a conversion rule to which conversion mode 1 is applied, and it is a conversion rule that converts the pre-conversion PJL data "@PJL UNKNOWNINIT" to the post-conversion PJL data "@PJL INITIALIZE". The instruction object 73 displays "1" indicating the conversion rule number 1. The instruction object 80a corresponding to the pre-conversion PJL data displays "Mode1", and the instruction object 80b displays "UNKNOWNINIT" of the second component. The instruction object 81a corresponding to the post-conversion PJL data displays "Mode1", and the instruction object 81b displays "INITIALIZE" of the second component.

[0037] Then, the CPU 21 determines whether the conversion rule number has been input to the instruction object 73 (Fig. 7) (S71). If it is determined that the number has been input (S71: Yes), the CPU 21 reads out the conversion rule corresponding to the input conversion rule number from the conversion rule data 13 and displays the read conversion rule on the touch panel 61 (S72). That is, by directly inputting the conversion rule number of the conversion rule that the user wishes to edit to the instruction object 73, the conversion rule can be displayed on the touch panel 61. Subsequently, the CPU 21 determines whether the previous button 67 (Fig. 7) displayed on the touch panel 61 has been operated (S73). If it is determined that the button has been operated (S73: Yes), the CPU 21 displays the previous conversion rule of the currently displayed conversion rule on the touch panel 61 (S74). For example, when the previous button 67 is operated while the conversion rule with the conversion rule number 2 is displayed (S73: Yes), the conversion rule with the conversion rule number 1 is displayed on the touch panel 61 (S74). Note that when the conversion rule with the conversion rule number 1 is displayed, since there is no conversion rule before the conversion rule number 1, the operation of the previous button 67 is disabled.

[0038] Also, when the CPU 21 determines that the previous button 67 has not been operated (S73: No), it determines whether the next button 68 (Fig. 7) has been operated (S75). If it determines that it has been operated (S75: Yes), it displays the next conversion rule of the currently displayed conversion rule on the touch panel 61 (S76). For example, when the next button 68 is operated while the conversion rule of conversion rule number 2 is being displayed (S75: Yes), the conversion rule of conversion rule number 3 is displayed on the touch panel 61 (S76). Note that when the last conversion rule of the conversion rule data 13 is being displayed, there is no conversion rule after the last conversion rule, so the operation of the next button 68 is disabled. Subsequently, when the CPU 21 executes S74 or S76, it determines whether the new rule button 71 (Fig. 7) displayed on the touch panel 61 has been operated (S77 in Fig. 16). If it negatively determines that it has not been operated (S77: No), it determines whether the delete button 72 (Figs. 7 and 8) displayed on the touch panel 61 has been operated (S79). Here, when the CPU 21 negatively determines that it has not been operated (S79: No), it determines whether data has been input to any of the instruction objects constituting the instruction object groups 80 and 81 displayed on the touch panel 61 (S81). If it affirmatively determines that it has been input (S81: Yes), it reflects and displays the input content on the corresponding instruction object (S82). For example, as shown in Fig. 7(B), when the user touches the instruction object 80b corresponding to the pre-conversion PJL data, the instruction object 80b changes to a state where data can be input. When "UNKNOWNINIT2" is input to the instruction object 80b (S81: Yes), as shown in Fig. 7(B), "UNKNOWNINIT2" is displayed on the instruction object 80b (S82). Subsequently, the CPU 21 returns to S71 (Fig. 15). Note that when a mode is input to the instruction object 80a corresponding to the pre-conversion PJL data, an object of a component corresponding to the mode input to the instruction object 80a can be automatically displayed on the instruction object 81a corresponding to the post-conversion PJL data.For example, as shown in FIG. 8(B), when "Mode1" indicating conversion mode 1 is input to the instruction object 80a corresponding to the pre-conversion PJL data, among the instruction objects 80b to 80f constituting the instruction object group 80, only the instruction object 80b corresponding to the second component is displayed, and the instruction objects 80c to 80f corresponding to the third and fourth components are in a non-display state. Correspondingly, among the instruction object groups 81 corresponding to the post-conversion PJL data, only the instruction objects 81a and 81b are displayed. In the illustrated example, "UNKNOWNJOB" is input to the instruction object 80b corresponding to the second component of the pre-conversion PJL data, and "JOB" is input to the instruction object 81b corresponding to the second component of the post-conversion PJL data. "Mode1" is displayed in the instruction object 81a corresponding to the post-conversion PJL data.

[0039] Also, when the CPU 21 does not determine that data has been input to any of the instruction objects constituting the instruction object groups 80 and 81 displayed on the touch panel 61 (S81: No in FIG. 16), it determines whether the rule registration button 69 (FIG. 8(B)) displayed on the touch panel 61 has been operated (S83). If it is determined that it has been operated (S83: Yes), the data associating the pre-conversion PJL data and the post-conversion PJL data displayed on the touch panel 61 is registered in the conversion rule data 13 (FIG. 9) (S84). As a result, the conversion rule displayed on the touch panel 61 is registered in the conversion rule data 13 in an edited state. For example, when the rule registration button 69 is operated in the display state shown in FIG. 7(B), as shown in FIG. 9(B), the data associating the pre-conversion PJL data "UNKNOWNINIT2" and the post-conversion PJL data "INITIALIZE" is registered in the conversion rule data 13 as conversion rule number 1. That is, the conversion rule of conversion rule number 1 shown in FIG. 9(A) is registered in the conversion rule data 13 in an edited state. The conversion rule edit button 63 is an example of the edit instruction object of the present invention.

[0040] As described above, when the conversion rule editing button 63 receives an editing instruction operation, the CPU 21 divides the pre-conversion PJL data and the post-conversion PJL data that constitute a predetermined conversion rule registered in the conversion rule data 13 stored in the flash ROM 12 into units of syntax components, and displays the instruction objects 80a to 80f and 81a to 81f for each of the divided components on the touch panel 61. The CPU 21 receives a data input operation for rewriting at least one of the pre-conversion PJL data and the post-conversion PJL data displayed on the touch panel 61 for each instruction object, and stores the conversion rule edited by the conversion rule editing process in the flash ROM 12 according to the data input operation received for each instruction object. Therefore, according to the printing apparatus 10 of the present embodiment, since the conversion rule already registered in the conversion rule data 13 can be edited, even when the conversion rule is changed, there is no need to newly construct the entire printing system, and it is possible to cope by editing the changed conversion rule into an appropriate conversion rule, thereby reducing the burden on the system administrator.

[0041] Also, when the touch panel 61 is displaying the conversion rule editing screen (Fig. 7), if the user operates the new rule button 71 displayed on the touch panel 61, the CPU 21 determines that the new rule button 71 has been operated (S77: Yes), and switches the screen of the touch panel 61 from the conversion rule editing screen (Fig. 7) to the new conversion rule addition screen shown in Fig. 8. At this time, as shown in Fig. 8(A), the CPU 21 assigns a new conversion rule number and displays it on the instruction object 73 (Fig. 8) of the touch panel 61 (S78). For example, when conversion rules numbered 1 to 7 are registered in the conversion rule data 13, if the new rule button 71 is operated, "8" is assigned as the new conversion rule number, and as shown in Fig. 8(A), "8" is displayed on the instruction object 73. Also, the CPU 21 displays an instruction object group 80 with empty fields where no data is displayed as an instruction object for inputting pre-conversion PJL data, and an instruction object group 81 with empty fields where no data is displayed as an instruction object for inputting post-conversion PJL data (S78). Subsequently, the CPU 21 determines whether the delete button 72 (Figs. 7 and 8) displayed on the touch panel 61 has been operated (S79). If it is determined that it has not been operated (S79: No), the CPU 21 determines whether data has been input into any of the instruction objects constituting the instruction object groups 80 and 81 displayed on the touch panel 61 (S81). If it is affirmatively determined that data has been input (S81: Yes), the input content is reflected on the instruction object and displayed (S82). Then, when the user operates the rule registration button 69, the CPU 21 determines that the rule registration button 69 has been operated (S83: Yes), and registers the data associating the pre-conversion PJL data and the post-conversion PJL data displayed on the touch panel 61 in the conversion rule data 13 (Fig. 9) (S84). In the example shown in Fig. 9(B), the data associating the pre-conversion PJL data "@PJL UNKNOWNJOB" and the post-conversion PJL data "@PJL JOB" is additionally registered in the conversion rule data 13 as the conversion rule for conversion rule number 8. The new rule button 71 is an example of the addition instruction object of the present invention.

[0042] As described above, the CPU 21 can execute a conversion rule addition process for adding a new conversion rule that is not stored in the flash ROM 12 in the conversion rule editing process. When the new rule button 71 receives an addition instruction operation for causing the CPU 21 to execute the conversion rule addition process, that is, when the new rule button 71 is operated, instruction objects 80a to 80f for receiving a data input operation for creating pre-conversion PJL data and instruction objects 81a to 81f for receiving a data input operation for creating post-conversion PJL data that is the conversion destination of the pre-conversion PJL data are displayed on the touch panel 61 for each component of each syntax. In accordance with the data input operations received for each instruction object, the pre-conversion PJL data and the post-conversion PJL data displayed on the touch panel 61 are stored in the flash ROM 12 as a new conversion rule. Therefore, according to the printing apparatus 10 of the present embodiment, since a new conversion rule can be created and registered in the conversion rule data 13, even when a new conversion rule becomes necessary, it is not necessary to newly construct the entire printing system, and it is possible to respond by registering a new conversion rule on the printing apparatus side, so the burden on the system administrator can be reduced.

[0043] Further, when the CPU 21 makes an affirmative determination that the delete button 72 (FIGS. 7 and 8) displayed on the touch panel 61 has been operated (S79: Yes), the conversion rule displayed on the touch panel 61 is deleted from the conversion rule data 13 (FIG. 9) (S80). Further, when the CPU 21 determines that the rule registration button 69 has not been operated (S83: No), it skips to S85 without executing S84, determines whether the end button 66 has been operated (S85), and if it determines that it has not been operated (S85: No), returns to S71 (FIG. 15). Further, when it determines that the end button 66 has been operated (S85: Yes), the conversion rule editing process is ended and the process returns to the main routine. S81 and S82 executed by the CPU 21 are an example of the instruction operation reception process of the present invention.

[0044] As described above, the printing apparatus 10 of the present embodiment includes a communication IF 17, a USB IF 18, a touch panel 61, a flash ROM 12, and a CPU 21. The CPU 21 acquires a print job 30 including PJL data via a communication IF 17 or a USB IF 18 external interface, and is a printing apparatus 10 that executes normal printing processing (S14) according to the acquired print job 30. The CPU 21 performs an acquisition process (S9: Yes) of acquiring the print job 30 via the communication IF 17 or the USB IF 18, and when the PJL data included in the print job 30 acquired by the acquisition process is pre-conversion PJL data, an instruction operation for instructing which converted PJL data to convert the pre-conversion PJL data into is received via the touch panel 61 (instruction operation reception processes S54, S55, S81, S83). According to the instruction operation received by the instruction operation reception process, data associating the pre-conversion PJL data acquired via the communication IF 17 or the USB IF 18 with the converted PJL data to be the conversion destination is stored in the flash ROM 12 as conversion rule data 13 (storage process S58). After executing the storage process, when the PJL data acquired via the communication IF 17 or the USB IF 18 by the acquisition process is pre-conversion PJL data existing in the conversion rule data 13 stored in the flash ROM 12, the pre-conversion PJL data is converted into the converted PJL data associated with the pre-conversion PJL data in the conversion rule data 13 stored in the flash ROM 12 (conversion process S22), and processing according to the converted PJL data converted by the conversion process (S25) are executed. The printing apparatus is characterized by this.That is, according to the printing apparatus 10 of the above-described embodiment, even when the PJL data received from the information processing apparatus 40 is unsupported PJL data not supported by the printing apparatus 10, a conversion rule for converting the unsupported PJL data into supported PJL data supported by the printing apparatus 10 is created and registered in the conversion rule data 13. After the registration, the unsupported PJL data received from the information processing apparatus 40 is converted into supported PJL data based on the conversion rule data 13, and processing according to the converted supported PJL data can be executed. Therefore, since the system administrator who manages the printing system does not need to reconstruct the entire system, the burden on the system administrator can be reduced.

[0045] Next, a second embodiment of the present invention will be described with reference to FIG. 17. Note that the printing apparatus of the present embodiment has the same configuration and functions as the printing apparatus 10 of the first embodiment except for a part of the processing shown in FIG. 17 executed by the CPU 21. Therefore, descriptions of the same configuration and functions are omitted, and the same reference numerals as those in the first embodiment are used for the same configuration. The CPU 21 displays a standby screen (FIG. 2(A)) on the touch panel 61 (S1). Subsequently, the CPU 21 determines whether or not a print job 30 (FIG. 3) has been received from the information processing apparatus 40 (FIG. 1) (S9). If it is affirmatively determined that the print job has been received (S9: Yes), data analysis processing is executed (S13). Subsequently, the CPU 21 determines whether or not non-target PJL data exists in the print job 30 that has been subjected to data analysis processing (S17). If it is affirmatively determined that the non-target PJL data exists (S17: Yes), conversion rule creation processing is executed (S14). Further, if the CPU 21 determines that the print job 30 has not been received (S9: No), it determines whether or not the conversion rule edit button 63 (FIG. 2(A)) has been operated (S5). If it is affirmatively determined that the button has been operated (S5: Yes), conversion rule edit processing is executed (S6). Further, if the CPU 21 determines that the conversion rule edit button 63 has not been operated (S5: No), it determines whether or not the conversion rule list print button 65 (FIG. 2(A)) has been operated (S7). If it is affirmatively determined that the button has been operated (S7: Yes), the conversion rule data 13 (FIG. 9) stored in the RAM 22 is printed on paper or the like in a list format (S8). Further, if the CPU 21 determines that the conversion rule list print button 65 has not been operated (S7: No), S9 is executed. Further, if the CPU 21 determines that non-target PJL data does not exist in the print job 30 (S17: No), normal printing processing is executed (S15).

[0046] As described above, the printing apparatus 10 of the present embodiment can transition from one of a conversion rule creation mode and a normal mode capable of executing conversion rule creation processing to the other. When it has transitioned to the normal mode, if the acquired PJL data included in the print job 30 received from the information processing apparatus 40 via the communication IF 17 is non-target PJL data (S17: Yes), it automatically transitions to the conversion rule creation mode (S15). And if the acquired PJL data is not non-target PJL data (S17: No), it does not automatically transition to the conversion rule creation mode. Further, when the printing apparatus 10 has transitioned to the normal mode, if the acquired PJL data included in the print job 30 received from the information processing apparatus 40 via the communication IF 17 is post-conversion PJL data, the CPU 21 executes printing according to the post-conversion PJL data (S14). Also, when the printing apparatus 10 has transitioned to the conversion rule creation mode, the CPU 21 displays the non-target PJL data included in the print job 30 received from the information processing apparatus 40 via the communication IF 17 as pre-conversion PJL data on the touch panel 61 together with the instruction objects 80a to 80f, 81a to 81f for receiving an instruction operation (S47 in FIG. 13), receives a data input operation via the instruction objects 80a to 80f, 81a to 81f (S54, S55 in FIG. 14), and stores, as a conversion rule, data associating the pre-conversion PJL data displayed on the instruction objects 80a to 80f and the post-conversion PJL data displayed on the instruction objects 81a to 81f in the flash ROM 12 according to the received data input operation (S58). That is, according to the printing apparatus 10 of the present embodiment, when the acquired PJL data included in the print job 30 received from the information processing apparatus 40 via the communication IF 17 is non-target PJL data, it can automatically transition to the conversion rule creation mode, so there is no need to display the conversion rule creation mode button 62 (FIG. 2(A)) on the touch panel 61, and thus the processing load on the CPU 21 can be reduced. Also, since it automatically transitions to the conversion rule creation mode when the print job 30 includes non-target PJL data, it is possible to know that the print job 30 includes non-target PJL data.Also, it is possible to ensure that the conversion rules for converting non-target PJL data into target PJL data are not forgotten.

Explanation of Signs

[0047] 10 ·· Printing device, 12 ·· Flash ROM, 13 ·· Conversion rule data, 17 ·· Communication IF, 18 ·· USBIF, 20 ·· Control unit, 21 ·· CPU, 22 ·· RAM, 24 ·· Program, 30 ·· Print job, 31 ·· PJL unit, 32 ·· PDL unit, 40 ·· Information processing device, 61 ·· Touch panel, 62 ·· Conversion rule creation button, 63 ·· Conversion rule editing button, 64 ·· Conversion rule creation button, 65 ·· Conversion rule list print button, 66, 70 ·· End button, 67 ·· Previous button, 68 ·· Next button, 69 ·· Rule registration button, 74 ·· Print button, 80a~80f ·· Indication object, 81a~81f ·· Indication object, D2~D4 ·· Acquired PJL data.

Claims

1. An external interface, a user interface, a non-volatile memory, and a computer, wherein the computer is a printing apparatus that acquires a print job including PJL data via the external interface and executes a printing process according to the acquired print job, the computer acquisition processing for acquiring the print job via the external interface, when the PJL data included in the print job acquired by the acquisition processing is non-target PJL data, instruction operation reception processing for receiving, via the user interface, an instruction operation for instructing which target PJL data to convert the non-target PJL data into, storage processing for storing, as a conversion rule, in the non-volatile memory, data associating the non-target PJL data acquired via the external interface by the acquisition processing with the target PJL data that is the conversion destination according to the instruction operation received by the instruction operation reception processing, the target PJL data is PJL data that enables the computer to execute a process according to the target PJL data, and the non-target PJL data is PJL data that is not the target PJL data, the computer after executing the storage processing, when the PJL data acquired via the external interface by the acquisition processing is the non-target PJL data existing in the conversion rule stored in the non-volatile memory, conversion processing for converting the non-target PJL data into the target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory, processing according to the target PJL data converted by the conversion processing, display processing for displaying, on the user interface, the non-target PJL data acquired via the external interface by the acquisition processing together with an instruction object for receiving the instruction operation, executes, the instruction operation reception processing receives the instruction operation via the instruction object displayed on the user interface by the display processing, the storage processing According to the instruction operation received via the instruction object by the instruction operation reception process, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data to be the conversion destination is stored as a conversion rule in the non-volatile memory. The printing apparatus is capable of transitioning from one of a conversion rule creation mode capable of executing the instruction operation reception process and a normal mode that is not the conversion rule creation mode to the other. The display process is able to display, on the user interface, a transition instruction object for receiving a transition instruction operation for transitioning from the normal mode to the conversion rule creation mode. The printing apparatus is configured to transition to the conversion rule creation mode when the transition instruction object displayed on the user interface by the display process while in the normal mode receives the transition instruction operation. The computer is configured to execute processing according to the target PJL data when the PJL data acquired via the external interface by the acquisition process is the target PJL data while the printing apparatus is transitioning to the normal mode. When the printing apparatus is transitioning to the conversion rule creation mode, the display process displays, on the user interface, the non-target PJL data acquired via the external interface by the acquisition process together with an instruction object for receiving the instruction operation. The instruction operation reception process receives the instruction operation via the instruction object displayed on the user interface by the display process. The storage process stores, as a conversion rule in the non-volatile memory, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data to be the conversion destination according to the instruction operation received by the instruction operation reception process. A printing apparatus characterized by this.

2. A printing apparatus comprising an external interface, a user interface, a non-volatile memory, and a computer, wherein the computer acquires a print job including PJL data via the external interface and executes a printing process according to the acquired print job, The computer is an acquisition process for acquiring the print job via the external interface, When the PJL data included in the print job acquired by the acquisition process is non-target PJL data, an instruction operation reception process that receives, via the user interface, an instruction operation for instructing which target PJL data to convert the non-target PJL data into, a storage process that stores, as a conversion rule, in the non-volatile memory, data associating the non-target PJL data acquired via the external interface by the acquisition process with target PJL data that is the conversion destination, according to the instruction operation received by the instruction operation reception process, the target PJL data is PJL data by which the computer can execute processing according to the target PJL data, and the non-target PJL data is PJL data that is not the target PJL data, the computer, after executing the storage process, when the PJL data acquired via the external interface by the acquisition process is the non-target PJL data existing in the conversion rule stored in the non-volatile memory, a conversion process that converts the non-target PJL data into target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory, processing according to the target PJL data converted by the conversion process, a display process that displays, on the user interface, the non-target PJL data acquired via the external interface by the acquisition process, together with an instruction object for receiving the instruction operation, is executed, the instruction operation reception process, receives the instruction operation via the instruction object displayed on the user interface by the display process, the storage process, stores, as a conversion rule, in the non-volatile memory, data associating the non-target PJL data acquired via the external interface by the acquisition process with target PJL data that is the conversion destination, according to the instruction operation received via the instruction object by the instruction operation reception process, the printing apparatus, is capable of transitioning from one of a conversion rule creation mode in which the instruction operation reception process can be executed and a normal mode that is not the conversion rule creation mode to the other, the printing apparatus, When the PJL data acquired via the external interface by the acquisition process is non-target PJL data while transitioning to the normal mode, it automatically transitions to the conversion rule creation mode, and when the PJL data acquired via the external interface by the acquisition process is not non-target PJL data, it does not automatically transition to the conversion rule creation mode. The computer, when the printing device is transitioning to the normal mode, if the PJL data acquired via the external interface by the acquisition process is the target PJL data, it executes processing according to the target PJL data. When the printing device is transitioning to the conversion rule creation mode, the display process displays the non-target PJL data acquired via the external interface by the acquisition process on the user interface together with an instruction object for receiving the instruction operation. The instruction operation reception process receives the instruction operation via the instruction object displayed on the user interface by the display process. The storage process stores, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition process and the target PJL data to be the conversion destination in the non-volatile memory according to the instruction operation received by the instruction operation reception process. A printing device characterized by this.

3. Comprising an external interface, a user interface, a non-volatile memory, and a computer, The computer is a printing device that acquires a print job including PJL data via the external interface and executes a printing process according to the acquired print job, The computer, an acquisition process for acquiring the print job via the external interface, an instruction operation reception process for receiving, via the user interface, an instruction operation for instructing which target PJL data to convert the non-target PJL data to when the PJL data included in the print job acquired by the acquisition process is non-target PJL data. According to the instructed operation received by the instructed operation reception process, storage processing is executed to store, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data that is the conversion destination in the non-volatile memory. The target PJL data is PJL data by which the computer can execute processing according to the target PJL data, and the non-target PJL data is PJL data that is not the target PJL data. The computer After executing the storage processing, when the PJL data acquired via the external interface by the acquisition process is the non-target PJL data existing in the conversion rule stored in the non-volatile memory, conversion processing is executed to convert the non-target PJL data into the target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory. Processing according to the target PJL data converted by the conversion processing Display processing is executed to display the non-target PJL data acquired via the external interface by the acquisition process on the user interface together with an instruction object for receiving the instructed operation. is executed. The instructed operation reception process receives the instructed operation via the instruction object displayed on the user interface by the display processing. The storage processing According to the instructed operation received via the instruction object by the instructed operation reception process, storage processing is executed to store, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data that is the conversion destination in the non-volatile memory. The instructed operation is a data input operation for inputting data. The instructed operation reception process receives the data input operation for each instruction object. The display processing When the PJL data acquired via the external interface by the acquisition process is non-target PJL data, the non-target PJL data is divided into constituent elements of the PJL data syntax, and the instruction object for each of the divided constituent elements is displayed on the user interface. Further, the instruction object capable of inputting data for each component of the target PJL data to which the non-target PJL data is to be converted is displayed on the user interface in association with each instruction object of the non-target PJL data. The storage process is A printing apparatus characterized in that data associating non-target PJL data acquired via the external interface by the acquisition process and target PJL data having data input by the data input operation is stored as a conversion rule in the non-volatile memory.

4. An external interface, a user interface, a non-volatile memory, and a computer, The computer is a printing apparatus that acquires a print job including PJL data via the external interface and executes a printing process according to the acquired print job. The computer is An acquisition process of acquiring the print job via the external interface, When the PJL data included in the print job acquired by the acquisition process is non-target PJL data, an instruction operation reception process of receiving, via the user interface, an instruction operation for instructing which target PJL data to convert the non-target PJL data into, A storage process of storing, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition process and the target PJL data to be the conversion destination according to the instruction operation received by the instruction operation reception process in the non-volatile memory, The target PJL data is PJL data in which the computer can execute a process according to the target PJL data, and the non-target PJL data is PJL data that is not the target PJL data. The computer is After executing the storage process, when the PJL data acquired via the external interface by the acquisition process is the non-target PJL data existing in the conversion rule stored in the non-volatile memory, the non-target PJL data is converted into the target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory. A conversion process, A process according to the target PJL data converted by the conversion process The display process of displaying, together with an instruction object for receiving the instruction operation, the non-target PJL data acquired via the external interface by the acquisition process on the user interface; is executed, The instruction operation reception process receives the instruction operation via the instruction object displayed on the user interface by the display process, The storage process stores, as a conversion rule, data in which the non-target PJL data acquired via the external interface by the acquisition process and the target PJL data to be converted are associated with each other in accordance with the instruction operation received via the instruction object by the instruction operation reception process, in the non-volatile memory; The display process When the PJL data acquired via the external interface by the acquisition process is non-target PJL data and a conversion rule having the same non-target PJL data is stored in the non-volatile memory, the non-target PJL data and the target PJL data associated with the non-target PJL data in the conversion rule are each divided into constituent elements of the syntax of the PJL data, and the instruction object for each of the divided constituent elements is displayed on the user interface, and the divided constituent elements are displayed as initial values in the instruction object corresponding to the constituent elements. A printing apparatus characterized by this.

5. In the conversion mode of the conversion rule, there are a plurality of types of conversion modes according to the types of constituent elements of the syntax of the PJL data that can be omitted, The computer executes a syntax analysis process of analyzing which conversion mode among the plurality of types of conversion modes the PJL data is suitable for by analyzing the syntax of the PJL data acquired via the external interface by the acquisition process, The display process divides the PJL data targeted by the syntax analysis process into constituent elements of the syntax of the PJL data, and associates the instruction object for each of the divided constituent elements with the conversion mode analyzed by the syntax analysis process and displays it on the user interface. The printing apparatus according to claim 3 or claim 4, characterized by this.

6. The PJL data As components of the syntax, it has at least "Command", "Command modifier", and "Option name", Among the plurality of types of conversion modes, it includes a first conversion mode for converting the "Command" and a second conversion mode for converting the "Option name", the syntax analysis process As a result of analyzing the syntax of the PJL data obtained via the external interface by the acquisition process, for PJL data taking the "Command" as an argument, it is determined that the first conversion mode is suitable, and for PJL data taking the "Command modifier" and "Option name", or "Option name" as an argument, it is determined that the second conversion mode is suitable, the display process The printing apparatus according to claim 5, wherein the PJL data targeted by the syntax analysis process is divided into units of components of the syntax of the PJL data, and the instruction object for each of the divided components is associated with the conversion mode determined to be suitable by the syntax analysis process and displayed on the user interface.

7. It includes an external interface, a user interface, a non-volatile memory, and a computer, The computer is a printing apparatus that acquires a print job including PJL data via the external interface and executes a printing process according to the acquired print job, the computer an acquisition process for acquiring the print job via the external interface, an instruction operation reception process for receiving, via the user interface, an instruction operation for instructing which target PJL data to convert the non-target PJL data to when the PJL data included in the print job acquired by the acquisition process is non-target PJL data, and a storage process for storing, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data to be the conversion destination according to the instruction operation received by the instruction operation reception process in the non-volatile memory. The target PJL data is PJL data that enables the computer to execute processing according to the target PJL data, and the non-target PJL data is PJL data that is not the target PJL data. The computer After executing the storage process, when the PJL data acquired via the external interface by the acquisition process is the non-target PJL data existing in the conversion rules stored in the non-volatile memory, a conversion process of converting the non-target PJL data into target PJL data associated with the non-target PJL data in the conversion rules stored in the non-volatile memory, Processing according to the target PJL data converted by the conversion process, A display process of displaying the non-target PJL data acquired via the external interface by the acquisition process on the user interface together with an instruction object for receiving the instruction operation, executes, The instruction operation reception process receives the instruction operation via the instruction object displayed on the user interface by the display process, The storage process stores, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data that is the conversion destination in the non-volatile memory according to the instruction operation received via the instruction object by the instruction operation reception process, The display process is capable of displaying, on the user interface, a switching instruction object for receiving a switching operation instruction for switching the non-target PJL data to be displayed on the user interface to other non-target PJL data when there are a plurality of non-target PJLs acquired via the external interface by the acquisition process, A printing apparatus, characterized in that when there are a plurality of non-target PJL data acquired via the external interface by the acquisition process and the switching instruction object receives the switching operation instruction, the non-target PJL data displayed on the user interface is switched and displayed to the other non-target PJL data.

8. An external interface, a user interface, a non-volatile memory, and a computer are provided. The computer is a printing device that acquires a print job containing PJL data via the external interface and executes a printing process according to the acquired print job. The computer acquisition processing for acquiring the print job via the external interface, when the PJL data included in the print job acquired by the acquisition processing is non-target PJL data, instruction operation reception processing for receiving, via the user interface, an instruction operation for instructing which target PJL data to convert the non-target PJL data into, storage processing for storing, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition processing with the target PJL data to be the conversion destination according to the instruction operation received by the instruction operation reception processing in the non-volatile memory, and executes The target PJL data is PJL data according to which the computer can execute processing, and the non-target PJL data is PJL data that is not the target PJL data. The computer after executing the storage processing, when the PJL data acquired via the external interface by the acquisition processing is the non-target PJL data existing in the conversion rule stored in the non-volatile memory, conversion processing for converting the non-target PJL data into the target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory, processing according to the target PJL data converted by the conversion processing, display processing for displaying, on the user interface, the non-target PJL data acquired via the external interface by the acquisition processing together with an instruction object for receiving the instruction operation, and executes The instruction operation reception processing receives the instruction operation via the instruction object displayed on the user interface by the display processing, The storage processing stores, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition processing with the target PJL data to be the conversion destination according to the instruction operation received via the instruction object by the instruction operation reception processing in the non-volatile memory, The computer It is possible to execute conversion rule editing processing for editing the conversion rules stored in the non-volatile memory, The display processing is, It is possible to display, on the user interface, an editing instruction object for receiving an editing instruction operation for causing the computer to execute the conversion rule editing processing, When the editing instruction object receives the editing instruction operation, non-target PJL data and target PJL data constituting the conversion rule stored in the non-volatile memory are each divided into units of syntax components, and the instruction objects for each of the divided components are displayed on the user interface, The instruction operation is a data input operation for inputting data, The instruction operation reception processing is, Receiving, for each of the instruction objects, the data input operation for rewriting at least one of the non-target PJL data and the target PJL data displayed on the user interface by the display processing, The storage processing is, A printing apparatus characterized by storing, in the non-volatile memory, the conversion rule edited by the conversion rule editing processing according to the data input operation received for each of the instruction objects by the instruction operation reception processing.

9. The conversion rule editing processing is, It is possible to execute conversion rule addition processing for adding a new conversion rule not stored in the non-volatile memory, The display processing is, It is possible to display, on the user interface, an addition instruction object for receiving an addition instruction operation for causing the computer to execute the conversion rule addition processing, When the addition instruction object receives the addition instruction operation, an instruction object for receiving a data input operation for creating non-target PJL data and an instruction object for receiving a data input operation for creating target PJL data which is the conversion destination of the non-target PJL data are displayed on the user interface for each component of each syntax, The storage processing is, Storing, in the non-volatile memory, the non-target PJL data and the target PJL data displayed on the user interface as a new conversion rule according to the data input operation received for each of the instruction objects by the instruction operation reception processing, the printing apparatus according to claim 8.

10. An external interface, a user interface, a non-volatile memory, and a computer, wherein the computer is a printing apparatus that acquires a print job including PJL data via the external interface and executes a printing process according to the acquired print job, the computer, acquisition processing for acquiring the print job via the external interface, when the PJL data included in the print job acquired by the acquisition processing is non-target PJL data, instruction operation reception processing for receiving, via the user interface, an instruction operation for instructing which target PJL data to convert the non-target PJL data into, storage processing for storing, as a conversion rule, in the non-volatile memory, data associating the non-target PJL data acquired via the external interface by the acquisition processing with the target PJL data to be the conversion destination according to the instruction operation received by the instruction operation reception processing, wherein the target PJL data is PJL data according to which the computer can execute a process, and the non-target PJL data is PJL data that is not the target PJL data, the computer, after executing the storage processing, when the PJL data acquired via the external interface by the acquisition processing is the non-target PJL data existing in the conversion rule stored in the non-volatile memory, conversion processing for converting the non-target PJL data into the target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory, processing according to the target PJL data converted by the conversion processing, display processing for displaying, on the user interface, the non-target PJL data acquired via the external interface by the acquisition processing together with an instruction object for receiving the instruction operation, executing, the instruction operation reception processing, receives the instruction operation via the instruction object displayed on the user interface by the display processing, the storage processing, According to the instruction operation received via the instruction object by the instruction operation reception process, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data to be the conversion destination is stored as a conversion rule in the non-volatile memory. The display process is as follows. After executing the acquisition process, the instruction operation reception process, and the storage process, an execution instruction object for receiving an execution instruction operation for causing the computer to execute a process applying the conversion rule stored in the non-volatile memory by the storage process is displayable on the user interface. The conversion process is as follows. When the execution instruction object receives the execution instruction operation, if the non-target PJL data acquired via the external interface by the acquisition process is the non-target PJL data existing in the conversion rule stored in the non-volatile memory by the storage process, the non-target PJL data is converted into the target PJL data associated with the non-target PJL data in the conversion rule. The computer is as follows. A printing apparatus characterized by executing a process according to the target PJL data converted by the conversion process.

11. A printing apparatus comprising an external interface, a user interface, a non-volatile memory, and a computer. The computer is a printing apparatus that acquires a print job including PJL data via the external interface and executes a printing process according to the acquired print job. The computer is as follows. An acquisition process of acquiring the print job via the external interface. An instruction operation reception process of receiving, via the user interface, an instruction operation for instructing to convert the non-target PJL data included in the print job acquired by the acquisition process into any target PJL data when the non-target PJL data is the non-target PJL data. A storage process of storing, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data to be the conversion destination according to the instruction operation received by the instruction operation reception process in the non-volatile memory is executed. The target PJL data is PJL data according to which the computer can execute processing, and the non-target PJL data is PJL data that is not the target PJL data. The computer After executing the storage process, when the PJL data acquired via the external interface by the acquisition process is the non-target PJL data existing in the conversion rule stored in the non-volatile memory, a conversion process of converting the non-target PJL data into target PJL data associated with the non-target PJL data in the conversion rule stored in the non-volatile memory, Processing according to the target PJL data converted by the conversion process, A display process of displaying, on the user interface, the non-target PJL data acquired via the external interface by the acquisition process together with an instruction object for receiving the instruction operation, Execute, The instruction operation reception process Receives the instruction operation via the instruction object displayed on the user interface by the display process, The storage process Stores, in the non-volatile memory, as a conversion rule, data associating the non-target PJL data acquired via the external interface by the acquisition process with the target PJL data that is the conversion destination according to the instruction operation received via the instruction object by the instruction operation reception process, The display process Can display, on the user interface, a list print instruction object for receiving a list print instruction operation for causing the computer to execute a list print of the conversion rules stored in the non-volatile memory, The computer A printing apparatus characterized in that, in response to the list print instruction object receiving the list print instruction operation, it executes a list print of the conversion rules stored in the non-volatile memory.

Citation Information

Patent Citations

  • Method and device for recording

    JP1997185468A

  • Printing controller, image processor, printer emulation system, printing control method, control program of printing controller and recording medium capable of being read by computer

    JP2005324553A

  • Image formation device, and method and program for resolving coexistence of print setting value

    JP2018158455A

  • Image recording device

    JP2018171757A

  • Image forming apparatus, control method, and program

    JP2020019226A