print on a printer server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: print on a printer server (/showthread.php?tid=36246) |
print on a printer server - El Forum - 11-26-2010 [eluser]Giga[/eluser] Hi, I am using codeigniter for develop a little management system. I'm fighting with this problem: When a customer clicks on submit, are extrapolated data from a DB then the server will print to a printer attached to it. I try on linux : Code: system or exec('lpr path_file/file -Pprinter'); On windows 7 with: Code: system or exec('print /D:printer path_file/file'); Help me!! |