1. A non-transitory computer readable medium in which a printer driver program is stored for causing a computer to execute a method of generating print data and transmitting the generated print data to a printer, the method comprising receiving a delete setting from a user, the delete setting indicating a particular character string to be deleted and whether further deletion of characters, if necessary, is to start from a head end of a document name; determining whether or not use of a shortened job name for the document name is directed; if it is determined that use of the shortened job name for the document name is directed: deleting the particular character string from the document name in accordance with the delete setting and, if necessary, carrying out the further deletion of characters in accordance with the delete setting, to obtain the shortened job name; generating print data including the shortened job name and transmitting the generated print data to a printer; and if it is determined that use of the shortened job name is not directed: generating print data including the document name from which the character string is not deleted; and transmitting the generated print data to the printer, wherein the document name included in the print data is displayed by the printer.