LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   printer escape codes (http://www.linuxquestions.org/questions/programming-9/printer-escape-codes-761235/)

smeezekitty 10-11-2009 06:43 PM

printer escape codes
 
is there any codes thaht are universal between prints
if so what are they
if not what are the codes for a panasonic KX-P11?? series printer

jlinkels 10-11-2009 08:25 PM

Of course there are no universal printer escape codes, that is why WP 5.1 came with 4592 different printer drivers.

For some time the Epson printer codes were a more or less de facto industry standard. The more common might work for the Panasonic as well.
http://webpages.charter.net/dperr/links/esc_p83.htm

jlinkels

jlinkels 10-12-2009 08:15 PM

And the solution is...?

jlinkels

smeezekitty 10-12-2009 08:19 PM

your link
the printer responded properly to most of the commands

jlinkels 10-12-2009 08:32 PM

Cool, please press the blue "thumb up" icon in the lower right corner if you think my post was useful to you.

jlinkels

AnanthaP 10-13-2009 11:41 PM

While drivers are needed for corect printing in a windowing environment, at the lower level, they program sends codes (escape codes) to the printer.

In early dot matrix printers, there used to be 2 standards.
An EPSON standard and an <EscP> standard.

For example basic.chr(15) always set the printer into compressed mode and chr(18) reset it to he default power on seting. This worked for all dot printers (IBM, EPSON, TI etc).

Having said that, why bother to get an old (generic) set of commands when straight googling for KX-P11 auto completed as KX-P1150 and gave me the following two links - among others with a recommended driver "eps9hih" - which itself seems a generic driver.

http://www.linuxprinting.org/show_pr...sonic-KX-P1150

http://www.linuxprinting.org/show_dr...sonic-KX-P1150

End

smeezekitty 10-13-2009 11:52 PM

Quote:

Originally Posted by AnanthaP (Post 3718413)
While drivers are needed for corect printing in a windowing environment, at the lower level, they program sends codes (escape codes) to the printer.

In early dot matrix printers, there used to be 2 standards.
An EPSON standard and an <EscP> standard.

For example basic.chr(15) always set the printer into compressed mode and chr(18) reset it to he default power on seting. This worked for all dot printers (IBM, EPSON, TI etc).

Having said that, why bother to get an old (generic) set of commands when straight googling for KX-P11 auto completed as KX-P1150 and gave me the following two links - among others with a recommended driver "eps9hih" - which itself seems a generic driver.

http://www.linuxprinting.org/show_pr...sonic-KX-P1150

http://www.linuxprinting.org/show_dr...sonic-KX-P1150

End

i am not looking for a driver
i was looking for a way to drive it manually
thru /dev/lp0 *N*X or LPT1 on dos.


All times are GMT -5. The time now is 05:00 AM.