12-03-2024 08:20 AM - last edited on 12-07-2024 11:49 AM by SamanthaW
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?
12-03-2024 08:36 AM - edited 12-03-2024 08:36 AM
I don't know that there is one. Does Java/php have an RTF printer?
In windows .Net it is PrintDocument.
12-05-2024 11:52 AM
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
12-09-2024 11:49 AM
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!
12-11-2024 03:32 AM
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.
12/05/2024: New firmware updates are available.
EOS R5 Mark II - Version 1.0.2
09/26/2024: New firmware updates are available.
EOS R6 Mark II - Version 1.5.0
07/01/2024: New firmware updates are available.
04/16/2024: New firmware updates are available.
RF100-300mm F2.8 L IS USM - Version 1.0.6
RF400mm F2.8 L IS USM - Version 1.0.6
RF600mm F4 L IS USM - Version 1.0.6
RF800mm F5.6 L IS USM - Version 1.0.4
RF1200mm F8 L IS USM - Version 1.0.4
Canon U.S.A Inc. All Rights Reserved. Reproduction in whole or part without permission is prohibited.