How to send escape sequence to printer

dopena

New Member
Any body knows how to setup a HP laser printer 8150 so that it prints properly any French character? We are running a Progress
9.1b on a HPUX 11i box some how the printer doesn't work well.
Interim solution is to embed the ^[(0N at the top of the file and it works. THis ecsape code is to activate the printer to ISO8859-1 code page.
 
Hi ,

The best way is to use 'put control' statement. It does not effect
current line, page counters, and positions on the page.

Regards,
Gabor
 

dopena

New Member
Yes it can be embedded to the first line in the file thru application,or by editing the file and insert the Esc. code
but I am looking for a better solution by embedding the Esc code to the prinpter interface in Unix, this way users should be able to print French char. either from application or from Unix command line using lp command. I just don't know to make it work this way. I contribution will be much appreciated. Thanks
 

bendaluz2

Member
have a look at

/etc/lp/printers/&ltprint-queue&gt/configuration

This should point to the configuration files used for the printer, and contains various control codes added to the printed files for various print options. You should be able to add to this file to do what you want

Hope it helps
 
Top