Trust ID PBCEX logo 300x102

Putting prind time/date on card

4 years 1 month ago
Mark Vinkx
Senior Boarder
Senior Boarder
Posts: 52
More
Topic Author
Putting prind time/date on card #6225
Hi

I would like the time the card is printed on the card.
We work with dispatcher/printservers setup so there can be a big difference between time of submitting the job and when it is actualy printed. I need the actual print time

I tried the following function but this puts the time the printserver was started on the card

import datetime

def nu():
return str(datetime.datetime.now())
4 years 1 month ago
Craig Bechelli
Administrator
Administrator
Posts: 624
More
Putting prind time/date on card #6227
Hi Mark,
Have you tried just setting this as a Print date/time on the design ?
The print server should handle the print job and the date/time should be retrieved when the actual print server starts to process each job.

If you get a different result let me know and I will set it up and test it.

Regards,
Craig

Craig Bechelli
CardExchange Solutions Support Team

"If you define the problem correctly, you almost have the solution." (Steve Jobs)
4 years 1 month ago
Mark Vinkx
Senior Boarder
Senior Boarder
Posts: 52
More
Topic Author
Putting prind time/date on card #6229
Hi craig

Using the build in "Print date" works like a charm. I did not know it was there that was why I tried to make it myself .

Mark
4 years 1 month ago
Craig Bechelli
Administrator
Administrator
Posts: 624
More
Putting prind time/date on card #6231
No problem, glad it is all working :)

Craig Bechelli
CardExchange Solutions Support Team

"If you define the problem correctly, you almost have the solution." (Steve Jobs)
×

Notice

The forum is in read only mode.