The invention relates to a method for controlling a data processing device that is connected to a computer via an interface. Said method comprises the following steps: a device-specific command is generated on the computer (1) by means of an application program (11); the command is stored in a special file (8) and is then transmitted by the computer (1) to the device (6) with the aid of the write instruction of the computer's (1) operating system; the special file (8) is received by the device (6); the device-specific command is read out from the special file (8); the device (6) processor finally executes the command. The inventive method allows the device (6) processor to execute a device-specific command exclusively using the write instruction of the computer's (1) own operating system without requiring particular administrator rights.