|
From: Per W. <pw...@ia...> - 2004-12-02 14:26:41
|
No need to send the formatted output to a file and then use system(). You can send it directly to the prn device instead. Faster, simpler and without need for buffering. /Per W On Thu, 2 Dec 2004, Alfredo Cole wrote: > El Mi=E9 01 Dic 2004 18:42, Terry Orgill escribi=F3: > > Sending program output to a printer. Such as an invoice or ap check. > > > > I use two ways: > > 1. Send formatted output to a file, and then use the system command to se= nd it > to a printer. This works for printing to a form using dot matrix printers= =2E > 2. I use wxWidgets, and wxReportWriter (http://www.daily.de/RepWrt/) to p= rint > nice looking reports. This is used to print to ink jets or laser printers= =2E > > HTH. Regards. > > -- > Alfredo J. Cole > Grupo ACyC > www.acyc.com - www.clshonduras.com - SolCom - www.acycdomains.com > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |