Brother International HL-L2300D Command Reference Guide for Software Developer - Page 274
INFO Command
View all Brother International HL-L2300D manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 274 highlights
Response Syntax @PJL ECHO [< words >] < words > The beginning of this parameter must be a printable character. Then this parameter consists of characters from ASCII 33 to 255, space characters and horizontal tab characters. This < words > parameter can be written without quotation marks as this is not a string of variables. The parameter is recommended to be unique, distinguishable words from other print jobs, such as the time determined by the real time clock and user name, so as to confirm the received message from the printer is definitely the answer for the ECHO command which the application sent. The length of the < word > must be within 80 characters. Parameters Parameter < words > Valid characters ASCII 33 to 255, , Example The application sends the following example to the printer : %-12345X@PJL @PJL COMMENT the ECHO command follows @PJL ECHO This is a sample 22:03:00 %-12345X The printer sends back the answer for the above ECHO command : @PJL ECHO This is a sample 22:03:00 After receiving the above answer, all the messages from the printer are the requested information from the application, except for unsolicited status information. 7.5. INFO Command The INFO command requests the printer to send back information on a specific category of the printer such as 'ID' (model name), 'CONFIG' (printer configuration), 'MEMORY' (available printer memory), 'STATUS' (current printer status), 'VARIABLES' (list of setting variables), 'USTATUS' (list of unsolicited status variables), 'PAGECOUNT' (total printing page number of the printer), 'PHYSICALMEMORY' (Physical memory size of printer) as shown in the following table. This INFO command can request the information from only one category at a time. If you would like to get the information from more categories, send multiple INFO commands. Syntax @PJL INFO category [] Response Syntax @PJL INFO category [lines of printable characters or with at the end of each line] If the variable is not supported by the printer, it returns the response in the following syntax : @PJL INFO category "?" CHAPTER 5 PJL - 65