I have had the same problem converting from a DOS based label printing program to a delphi program and tackled it this way
procedure PrintLabel;
var
sOutPutTo : TextFile;
sLabelData : String;
begin
AssignFile(sOutPutTo, 'LPT1');
ReWrite(sOutPutTo);
WriteLn(sOutPutTo, sLabelData)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.