Textmode IDE with USB Printer? lazarus / 61-Beginners ---------------------------------------------------------------------- Elap · 2016-05-11 14:33 I've just bought a dot matrix printer with a USB port.  I am using the console version of Free Pascal. 1) How can I get the IDE's File/Print option to work? 2) How can I direct a program's WRITEs to the printer? Any help will be much appreciated. ---------------------------------------------------------------------- Leledumbo · 2016-05-11 15:11 Quote from: Elap on May 11, 2016, 04:33:17 pm2) How can I direct a program's WRITEs to the printer? http://www.freepascal.org/docs-html/rtl/printer/index.html ---------------------------------------------------------------------- Elap · 2016-05-11 16:52 This only refers to LST which uses a parallel port.  My printer is USB... ---------------------------------------------------------------------- Leledumbo · 2016-05-11 17:43 Quote from: Elap on May 11, 2016, 06:52:05 pmThis only refers to LST which uses a parallel port.  My printer is USB... Map it to LPT then call InitPrinter with its LPT name. ---------------------------------------------------------------------- Elap · 2016-05-11 20:44 Thank you, Leledumbo, that works.