Brother International HL-L2305W Command Reference Guide for Software Developer - Page 272
DINQUIRE Command
View all Brother International HL-L2305W manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 272 highlights
Example 2 : This example requests the PCL-specific settings. %-12345X@PJL @PJL COMMENT ***Inquiring PCL settings*** @PJL ECHO 19:20:05 02-20-1993 @PJL INQUIRE LPARM:PCL FONTSOURCE @PJL INQUIRE LPARM:PCL FONTNUMBER %-12345X The printer may return the following response for the above INQUIRE commands : @PJL ECHO 19:20:05 02-20-1993 @PJL INQUIRE LPARM:PCL FONTSOURCE I @PJL INQUIRE LPARM:PCL FONTNUMBER 13 7.3. DINQUIRE Command The DINQUIRE command is used to get the information of the default value of a specific variable in the PJL Environment. (User Default Settings). It is also possible to get the value for variables which PJL cannot change (Read-only). The returned value of User Default Settings is identical to the Control Panel Setting. This DINQUIRE command can request only one variable at a time. If you would like to get information from more variables, send multiple DINQUIRE commands. Syntax: @PJL DINQUIRE [LPARM : personality] variable [] Response Syntax: @PJL DINQUIRE [LPARM : personality] variable value If the variable is not supported by the printer, it returns the response in the following syntax : @PJL DINQUIRE [LPARM : personality] variable "?" LPARM : personality This optional parameter must be used when requesting information about printer language-specific variables such as the font number in the User Default setting. variable Variable is a parameter which specifies what you would like to get the information about among the User Default settings (User Default Environment). The valid variables are listed in the following tables. value Value is the returned value for the requested variable. See the following tables to learn about values for specific variables. CHAPTER 5 PJL - 63