• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
TRIGGERcmd
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Command with parameters

General Discussion
2
2
115
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M
    marti.ruiz
    last edited by Mar 28, 2024, 11:09 AM

    Hello everyone!
    is it possible to do something like this?
    5aa4edc1-2299-45c6-bfbb-fa096d282f53-image.png

    with this command I can print a label directly to a zebra printer.
    but i would like to be able to send files with different names.

    Thank you!

    R 1 Reply Last reply Mar 28, 2024, 8:54 PM Reply Quote 0
    • R
      Russ @marti.ruiz
      last edited by Russ Mar 28, 2024, 8:55 PM Mar 28, 2024, 8:54 PM

      @marti-ruiz, the parameters you send with your trigger always get tacked on to the end of your command, so you should put that same command in a .bat file if you want the parameter where the %1 is.

      Your TRIGGERcmd command would run your .bat script like this:

      b4ae43ca-f277-436a-b9b3-143288f9c973-image.png

      Your label.bat script contents:

      type "C:\BC\%1" > \\mycomputer.local\ZEBRA
      

      Russell VanderMey

      1 Reply Last reply Reply Quote 1
      2 out of 2
      • First post
        2/2
        Last post