c# - how to print to Printronix Printer? -


does has printed printronix printer (serie t5000r) using .net (visual basic or c#) ?

we have file (txt) code generate label until know code it's pgl.

what've done use file.copy() send file lpt1 port (we use method zebra printers , works fine) printer print plain text instead of label it's format (barcode, titles, etc).

any idea?

here label code, thank in advance:

^config
sfcc;94
end

^config
left margin;5
end

^paper;length 80
^paper;width 60
^paper;portrait

^create;ds-label
font;face 92250
alpha
af2;100;dark;point;8;6;45;40
af4;100;dark;point;13;6;45;40
af60;100;dark;point;18;6;45;40
af61;100;point;22;6;30;30
stop

font;face 93779
alpha
point;5;6;10;0;some data 1:
point;10;6;10;0;some data 2:
point;15;6;10;0;delivery address:
point;20;6;10;0;nsc name:
point;24;6;10;0;code barcode:
point;34;6;10;0;code number:
af63;17;dark;point;37;6;46;23
point;39;6;10;0;pid:
af64;26;dark;point;41;6;28;14
point;43;6;10;0;label code:
af65;8;point;44;6;15;0
point;46;6;10;0;date:
af66;10;point;47;6;15;0
stop

barcode
c3/9;x1;h10;bf10;17;26;8
stop
end

^execute;ds-label
^af2;alvsborgsh. yyy-xxx
^af4;immingham port imports
^af60;the city
^af61;great britain
^bf10;11111111111111111
^af63;11111111111111111
^af64;aaaaaay1t1mma7290b11111111
^af65;0067pxxx
^af66;2008-10-15
^normal

^config reset end

i guess text intercepted somewhere on way , rendered page instead of sent directly printer port. found article - how send raw data printer using visual c# .net - may of help.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -