[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sending esc sequences to a printer.

> I have a Panasonic (Epson emulation) Dot-Matrix printer, and the only
> way to change the default pitch (i.e. 10 cpi, 12 cpi..) is through DOS
> software.  The owner's manual lists all the escape sequences, but how do I
> send them to the printer?

echo -e "\e....\e...." >/dev/lp0
could work.

Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
Linux - the last service pack you'll ever need.

Reply to: