Link to home
Start Free TrialLog in
Avatar of T Hoecherl
T HoecherlFlag for United States of America

asked on

Call an IPL program from vb.net and pass in a file location parmeter

I need to use vb.net to create a text file and then call an IPL program to print the file.  I know how to create the text file, but I don't know how to call the IPL program nor how to tell it where the file is that is to be printed.  Here are the first few lines of IPL code, which were written for me by another programmer:

<STX><ESC>C<ETX>
<STX><ESC>P<ETX>
<STX>E5;F5;<ETX>
<STX>H0;o10,700;f1;c66;d0,64;h32;w32;H1;o100,700;f1;c66;d0,64;h32;w32;<ETX>
<STX>R<ETX>

<STX><ESC>E5<CAN><ETX>
<STX>Glass Labels<CR>PROD_170110_006<CR><ETX>
<STX><ETB><ETX>

<STX><ESC>C<ETX>
<STX><ESC>P<ETX>
<STX>E5;F5;<ETX>
<STX>
H0;o0,800;f1;c66;d0,64;h16;w16;
H1;o32,800;f1;c66;d0,64;h16;w16;
H2;o64,800;f1;c66;d0,64;h16;w16;
H3;o96,800;f1;c66;d0,64;h16;w16;
H4;o128,800;f1;c66;d0,64;h16;w16;
L5;o160,800;f1;l800;w2;
H6;o170,800;f1;c66;d0,32;h16;w16;
H7;o202,800;f1;c66;d0,32;h16;w16;
H8;o234,800;f1;c66;d0,32;h16;w16;
L9;o162,150;f0;l128;w2;
H10;o168,140;f1;c66;d0,64;h16;w16;
H11;o208,140;f1;c66;d0,64;h16;w16;
H12;o240,140;f1;c66;d0,64;h16;w16;
L13;o290,800;f1;l800;w2;
H14;o300,800;f1;c66;d0,64;h16;w16;
H15;o332,800;f1;c66;d0,64;h16;w16;
B16;o300,475;f1;c0,0;h64;w2;i0;d0,64
<ETX>
<STX>R<ETX>
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of T Hoecherl

ASKER

I stated the problem incorrectly.  IPL is not really a program - it is a language (Intermec Printing Language), a sample of which I included in my original posting.  And I don't really need to pass in a file.  What I actually need to do is write a row at a time from a table (which I know how to do) and then send each row to the printer using IPL (which I don't know how to do).  Does this sound familiar to any of you out there?