cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

PIXMA MP560 - code an app to print formatted text/graphics

jons123
Apprentice

I have an MP560. I want to write my own standalone php/Java  program that writes to my printer to create formatted labels on a sheet.  What is the API to build the print data, eg Escape sequences or other codes?

4 REPLIES 4

kvbarkley
VIP
VIP

I don't know that there is one. Does Java/php have an RTF printer?

In windows .Net it is PrintDocument.

jons123
Apprentice

There is a protocol as every application that prints uses it.  One work-round is to create a pdf file with TCPDF and send this to the printer via CUPS with 'lp filename.pdf'  That worked pretty well. CUPS does not recognise RTF so printed a test file's 'source' rather than rendered text 

Ron
Moderator
Moderator

Hi Jons123!  Thanks for letting us know what Canon product you've got. The PIXMA MP560 is an older model which we have retired. While that means that Canon USA no longer offers direct support for it, your friends here in the Canon Community are welcome to offer suggestions!

You can also speak with a Canon Upgrade Program specialist to help you score a modern replacement that would meet your current needs at a discount. You can reach them weekdays and Saturdays at 1-866-443-8002.

Hope this helps!

jons123
Apprentice

I'd hope that Canon would be able to answer this very easily. Whether the model is 'retired' or not from a sales perspective, they should be able to say what printer protocol and language it uses and refer to an online document. My solution is a work-around.

Announcements