I am developing a smart scale system which detects the object(fruits), measures its weight and calculates the price. I am writing these details to a text file. I want to take the printout of these details either from the text file or directly(with out making the text file) with HP laserjet 1015 printer.
No products are associated with this question.
system('copy YourFileNameHere.txt lpt1:')
This will probably not work directly if the printer is a networked printer rather a local printer.