Label-Printer
Label-Printer copied to clipboard
printing images
how to print text with images (eg barcode)?
Currently it's not possible to print images. I will add this functionality in the near future.
Any progress on this? I'd love to be able to use this as well.
@bennettstone some progress, but I don't have a lot of time to work on it.
@RamyTalal first love this library. any update on image processing??
@KitKanWong Thanks! No update yet, I've been to busy to work on this library.
@RamyTalal excellent library, thanks! Are you still working on the image feature? Also, is there a way to add borders and black background?
@ubay25 Not at the moment, I haven't had time to work on it. About the background, I have no idea.
I've been playing around with a very basic barcode command.
$printer->addCommand(new Command\Text("Model Name"));
$printer->addCommand(new Command\LineFeed());
$printer->addCommand(new Command\Barcode('12345'));
Which produces this when printed,
I've only tested code39 barcodes so far, but I'd like to eventually be able to print QR codes.
@ntaylor-86 thanks for this looks really good! Do you have the barcode command file?
@ubay25 I have made a barcode-test branch on my fork on this package, with the Barcode command added.
@ntaylor-86 Nice!
👀
$printer->addCommand(new Command\Text("Hello World!"));
$printer->addCommand(new Command\LineFeed());
$printer->addCommand(new Command\QrCode('RamyTalal'));
@ntaylor-86 This is amazing, thanks! I can't wait to try it out :) Any chance you can add horizontal line or text box in the future?
@ntaylor-86 can you please let me know where to find the source for the QRcode command?
@ubay25, commit added: QrCode command added
I'm struggling with changing the size of the QR Code printed?
Hi everyone, thank you to all for the help with this awesome library!!
It's possible print images with the ESC/P commands? I would like print images with this library!
Hi everyone, thank you to all for the help with this awesome library!!
It's possible print images with the ESC/P commands? I would like print images with this library!
The last time I checked, ESC/P was very limited. I'm not sure if that's still the case.