1 Replies - 3705 Views - Last Post: 01 March 2010 - 05:00 AM Rate Topic: -----

#1 Guest_ismailc*


Reputation:

C# cmd copy txt file to label printer to print 2D datamatrix - instea

Posted 01 March 2010 - 01:44 AM

Good day, I need help.

I have in C# a print 2D btn, when button clicks it creates a text file with the code to print the datamatrix font
the text file consists of:
<STX><ESC>C0<ETX>
<STX><ESC>k<ETX>
<STX><SI>L472<ETX>
<STX><SI>S40<ETX>

And once file has been created print the file by using the cmd: copy 2D.txt \\machineIP\printer

I would like to print without using the text file, as the Network is extremely slow & don't want to create & delete file over the network for many labels print.

Now i have not used the cmdshel in c# i'm only creating the file & manually go to cmd in testing phase.

Can I set the text that must go in the text file in a Var & then send the var to printer.
instead of txt file copy var directly to printer in cmd

Please help & provide code - no clue on how to do

Is This A Good Question/Topic? 0

Replies To: C# cmd copy txt file to label printer to print 2D datamatrix - instea

#2 Adkins   User is offline

  • D.I.C Addict
  • member icon

Reputation: 66
  • View blog
  • Posts: 560
  • Joined: 27-October 09

Re: C# cmd copy txt file to label printer to print 2D datamatrix - instea

Posted 01 March 2010 - 05:00 AM

Sorry but we can not give you the entire code to solve your problem. We are here to assist in solving problems with code you have written, with any error messages you are getting or what isn't working the way that you expect it to, we would be more than happy to help you with those problems. If there is a topic that you don't understand we would be more than happy to help you with that as well. Make sure to post any code with in code tags like below.

:code:

Be sure to visit our tutorial and snippet areas or read the FAQS at the top of the forums. Also, take a moment to read the rules about posting topics.

Thank you for helping us to help you solve your problem.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1