On Thu, 7 Jun 2001, Clive Lansink wrote:
>
>  > I need to write a Perl application that must produce some printed
>>  information which requires both portrait and landscape printing at the same
>>  time, with lines and boxes.  This is for a Windows 98 system.  I've been
>>  pondering on how best to do this and have the following questions:
>>
>>  [...]
>>
>>  *  What is the simplest way nowadays to program an application to have good
>>  printer control and to produce reports etc with a variety of fonts, lines
>  > and boxes etc.
>

I can't speak to doing this on a windows system, but on unix, I've 
done something similar by creating passing an arrray to enscript 
containing the escape codes and text that I want, and telling 
enscript to print to standard out, storing that in another array, 
which I then send to the printer later in the script.

I can send you my script for reference, if it will help, but I don't 
know if enscript is available for windows, and I have no idea how to 
do the same thing with PCL.

--Sandy
-- 
sandor w. sklar                
unix systems administrator     
stanford university itss-css

Reply via email to