T Hoecherl
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,7 00;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;h1 6;w16;
H2;o64,800;f1;c66;d0,64;h1 6;w16;
H3;o96,800;f1;c66;d0,64;h1 6;w16;
H4;o128,800;f1;c66;d0,64;h 16;w16;
L5;o160,800;f1;l800;w2;
H6;o170,800;f1;c66;d0,32;h 16;w16;
H7;o202,800;f1;c66;d0,32;h 16;w16;
H8;o234,800;f1;c66;d0,32;h 16;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;w 2;i0;d0,64
<ETX>
<STX>R<ETX>
<STX><ESC>C<ETX>
<STX><ESC>P<ETX>
<STX>E5;F5;<ETX>
<STX>H0;o10,700;f1;c66;d0,
<STX>R<ETX>
<STX><ESC>E5<CAN><ETX>
<STX>Glass Labels<CR>PROD_170110_006<
<STX><ETB><ETX>
<STX><ESC>C<ETX>
<STX><ESC>P<ETX>
<STX>E5;F5;<ETX>
<STX>
H0;o0,800;f1;c66;d0,64;h16
H1;o32,800;f1;c66;d0,64;h1
H2;o64,800;f1;c66;d0,64;h1
H3;o96,800;f1;c66;d0,64;h1
H4;o128,800;f1;c66;d0,64;h
L5;o160,800;f1;l800;w2;
H6;o170,800;f1;c66;d0,32;h
H7;o202,800;f1;c66;d0,32;h
H8;o234,800;f1;c66;d0,32;h
L9;o162,150;f0;l128;w2;
H10;o168,140;f1;c66;d0,64;
H11;o208,140;f1;c66;d0,64;
H12;o240,140;f1;c66;d0,64;
L13;o290,800;f1;l800;w2;
H14;o300,800;f1;c66;d0,64;
H15;o332,800;f1;c66;d0,64;
B16;o300,475;f1;c0,0;h64;w
<ETX>
<STX>R<ETX>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER