Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Generating and printing a random unique ID (newbie here)

Generating and printing a random unique ID (newbie here)

Generating and printing a random unique ID (newbie here)


Can someone point me in the right direction?

At our manufacturing plant we have a vendor installing a printer on one of our machines that basically only prints a time stamp onto our product.  They tell us that their device can print a unique ID if we use PCL to generate it, but they apparently don't know anything about how to set this up.  I do see features in their software that appears to support PCL, but I don't know enough about PCL to know where exactly to start.

We need to generate unique ID's for each print.  They must be random numbers/characters, much like a software key.  

Can PCL generate such an ID?  Or would I have to use another progamming language to generate the ID and then pass it, or save it, to a .pcl file and then somehow point their software to the file, or send the file to their printer?

I'm noramlly a Visual Basic programmer, so I'm sure I can write a function to generate the custom ID if needed, but I'm really not sure what to do from there.

Any help is greatly appreciated, thanks.



RE: Generating and printing a random unique ID (newbie here)

Can you give an example of what is sent to the printer?

RE: Generating and printing a random unique ID (newbie here)


I don't know, but it looks that our requirements for this project have changed and that we were able to find a printer which can automate all of this.  So no worries, thanks.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close