× Discuss about Archiving, Close of Business, Delivery Setup, Security Management System, Global Processing etc…

PRINTER.ID Command field

  • miguelmacio13
  • miguelmacio13's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 1 hour ago #24630 by miguelmacio13
PRINTER.ID Command field was created by miguelmacio13
Hello everyone,I’m new to T24 and have been tasked with copying account statements generated in the &HOLD& folder to a directory of my choice. I’ve been advised to use the COMMAND field in the PRINTER.ID application’s HOLD record to achieve this.I tried the following command in the COMMAND field:
DOS /c "mkdir D:\NewFolder"
While this command works perfectly when run in CMD, it doesn’t seem to work within T24.For additional context, the REPORT.CONTROL record for ACCOUNT.STATEMENT is linked to the HOLD printer.I’m using R22 on Windows 11. If more details are needed, please let me know. Any advice or tips would be appreciated!Thank you in advance.

Please Log in or Create an account to join the conversation.

  • VK
  • VK's Avatar
  • Offline
  • Platinum Member
  • Platinum Member
  • Globus:G9-G13|TAFC:R05-R23|TAFJ:R19,R23,R24:test
More
18 hours 10 minutes ago - 17 hours 30 minutes ago #24631 by VK
Replied by VK on topic PRINTER.ID Command field
Hi
you're just creating a folder... No wonder it won't work if the folder already exists :)

should be something like:
COPY FROM &HOLD& TO D:\NewFolder &HOLD.CONTROL>@ID&

Another thing - if you use HOLD printer, you'll get a lot of unneeded printouts in your folder... Better create a new one and link it to ACCOUNT.STATEMENT.
 

Cheers
VK
Last edit: 17 hours 30 minutes ago by VK.

Please Log in or Create an account to join the conversation.

  • miguelmacio13
  • miguelmacio13's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
11 hours 44 minutes ago - 11 hours 43 minutes ago #24632 by miguelmacio13
Replied by miguelmacio13 on topic PRINTER.ID Command field
Hello!

I'm trying to get a simple command to work before trying to copy the file. That's why I'm just creating a folder. Of course I erased the folder after doing it on CMD, but it still not working on T24. 
Regards,
Miguel
Last edit: 11 hours 43 minutes ago by miguelmacio13.

Please Log in or Create an account to join the conversation.

Time to create page: 0.086 seconds