>Here's a problem I get,
>
>?? chr(15) is for set printer to 17 cpi
>?? chr(18) is for set printer to 10 cpi
>
>Then is there any code for set printer to 12 cpi??
>
>
>Gan
Gan,
It changes from printer to printer but as the codes you give I assume it's IBM emulation. chr(18) is for 10 cpi and chr(15) for compress that makes it 15 cpi (or 17 depending on printer). For 12 cpi use chr(27)+":" and for 20 cpi, chr(27)+":"+chr(15) (12 cpi compressed).
Cetin