1 Reply Latest reply on Nov 28, 2017 8:08 AM by Robin West

    command to answer hasFormat with boolean

    Jennifer Kimball



      I'm using Browser Print and a GK420d printer. I've stored a format, "TRIAL.ZPL" on the E: drive. I want to send a command from my javascript through Browser Print that tells me if my format is there. I know I can use the following in ZPLII:






      but that returns a multiline string like this:

      - DIR E:TRIAL.ZPL  
      * E:TRIAL.ZPL      50                    

      -   1516624 bytes free E: ONBOARD FLASH

      which is a pain to parse. I'd like a Boolean return instead. Is there a command (SGD, ZPL, etc.) that will do that?