I used to assignfile to LPT1 in delphi ( assignfile(F,'LPT1').
Since the new printer using usb cable, I have to change my program for it. Unfortunely I can not do it by giving the command assignfile(F,'usb001').
Is there any can help me?
Copyright © 2024 Q2A.ES - All rights reserved.
Answers & Comments
Verified answer
I use like this
1) I share the printer
2) In the code, I write:
AssignFile(F, '\\computername\printername');
Sorry my bad English.
Delphi Assignfile