Printer slug in extcommands

How exactly working slugs in extcommands? Can you provide example of syntax?

Comments

  • From 0.85 manual:

    	     Commands are normally visible in the global menu. If you want one to appear only in
    	     in the printer menu, add the attribute "slugname" to command. You see the slugname
    	     when you select a printer as part of the path.
    
    so change <command> to <command slug="yourslug"> and leave the rest the same. Then it appears in printer context for that slug only.
Sign In or Register to comment.