Unix Technical Forum

Escape code files to laser printers

This is a discussion on Escape code files to laser printers within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hi, On our AIX 4.3, we have old programs that generate some ascii files containing escape codes, and those ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 10:50 PM
Nicolas Ecarnot
 
Posts: n/a
Default Escape code files to laser printers

Hi,

On our AIX 4.3, we have old programs that generate some ascii files
containing escape codes, and those files are sent to dot matrix printers
who recognize those codes and interpret them as bold, italic, page feed,
change of density, and so on...

We would like to know if it is possible to send those files to laser
printers?
If yes, is it necessary to convert the files, and in that case, in what
format ?

--
Nicolas Ecarnot
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 10:50 PM
Alberto 'JCN-9000' Varesio
 
Posts: n/a
Default Re: Escape code files to laser printers

Nicolas Ecarnot wrote:
> Hi,
>
> On our AIX 4.3, we have old programs that generate some ascii files
> containing escape codes, and those files are sent to dot matrix printers
> who recognize those codes and interpret them as bold, italic, page feed,
> change of density, and so on...
>
> We would like to know if it is possible to send those files to laser
> printers?
> If yes, is it necessary to convert the files, and in that case, in what
> format ?
>


Usually laser printers allow ASCII stream and do some sort of handling
of those escape sequences ( I've seen bold and italics done correctly )
but it greatly depend on manufacturer's choices.
Try with a little file with just few escapes and reuse sheets if they
are spitted out white
If conversion is needed then PostScript or PCL are the usual formats.
The enscript command does ASCII to Postscript.
Again check printer's docs.

The queing system itself should also be able to handle this sort of
conversion, since it uses these same tools.

--
Alberto 'JCN-9000' Varesio AKA BlueRider AIX pSeries System Admin
Datavision PLM - Tel: +390117710276 Biker on HONDA CB500 - LHG
http://www.datavisionplm.com Jeeper on Sport TJ - Wave
Please http://www.fsf.org/philosophy/no-word-attachments.html, thanks!
==
Legge della gravità selettiva
Un oggetto cadrà sempre in modo da produrre il maggior danno possibile.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:53 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com