Re: Printing ASCII on Linux Server
| From: | Chris Hewitt | Date: | Mon, 02 Sep 2002 17:27:19 +0000 |
| Subject: | Re: Printing ASCII on Linux Server | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114948@lists.php.net to get a copy of this message | ||
Mingshuo Lin wrote:
I am trying to printout some ASCII Text (using LPR, script see below) to a IBM Proprinter compatible dot-matrix printer, on a server running Linux. Printing works fine, however 2 problems: 1. linefeed ("\n") doesn't work 2. escape sequences to print BOLD, ITALIC, UNDERLINE, NARROW don't work Does printing work properly when printing from a file (made up from your code here), not from php? If not then its a print setup problem not a php problem. I'd check out your printing setup and if its a print setup problem then check for any bugs/upgrades.HTH Chris