rastertotpcl
rastertotpcl copied to clipboard
Send BMP image with SG command in TPCL
I am currently developing a connector for a Toshiba printer. The plugin is written in Python and everything seems to work fine. However I can't send BMP images. In the toshiba manuals it is simply described that the SG command should be sent as follows:
{SG;x,y,width,height,2(BMP mode),graphic_data|}
Any graphic_data you send is taken as a command error. I've tried sending the image with and without a header, but it doesn't seem to work.
I did not find information about it, so I ask this question here. Thanks.
PS: sorry for my bad english
Hi GabiAndi,
ich have the same problem with the SG-Commend. Do you have a solution now ?
Thanks Rudi
Hello! I couldn't find a solution. In fact, in the company where I work we are printing labels without images. Trying to reverse engineer Toshiba's proprietary program that designs labels, I couldn't figure out how they treat the data.
Proyect link: https://gitlab.com/flexar-libre/toshiba-printer-bsa4t
Inkscape plugin: https://gitlab.com/flexar-libre/inkscape-extension-prn