create a printer label from a live page with info and qrcode

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: create a printer label from a live page with info and qr

Post by seandisanti » Thu May 01, 2014 11:30 pm

It's actually fairly trivial, I'm sure that you can get it. Step one would be to make a view, basically just a stylized view of the page that you'd want printed. That way you can make sure that the page to be printed is going to be fitted and formatted the way you like. Then I'd use jquery to actually display the label and bring up default printer dialog. here are some jquery printing options: http://www.jquery4u.com/plugins/10-jque ... e-options/

seandisanti
php-forum Fan User
php-forum Fan User
Posts: 973
Joined: Mon Oct 01, 2012 12:32 pm

Re: create a printer label from a live page with info and qr

Post by seandisanti » Fri May 02, 2014 8:40 am

No problem, and don't forget you can always come back here with code if it's not doing what you expect it to.

Post Reply

Who is online

Users browsing this forum: Flake, Google [Bot] and 3 guests