[PHP] Printing ASCII on Linux Server

2002-09-02 Thread Mingshuo Lin
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

Re: [PHP] Printing ASCII on Linux Server

2002-09-02 Thread Chris Hewitt
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,