Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
C# cmd copy txt file to label printer to print 2D datamatrix - instead of txt file copy var directly to printer in cmd
ic ic
Mar 1 2010 3:42 AM
6k
Reply
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
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how can i match two fingerprint?
query optimization rules for sql server