Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

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

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

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

Postby pbucciarelli » Thu May 01, 2014 11:06 am

hi there.

i'm kinda new here so be nice... 8)

i have a site that lets business' in the stone industry upload material information and make an online stock catalogue. i would like to have a the ability for the business (from their own dashboard with they have already) to make labels with the information that they have inputed ex: name, type, quantity and so on. and have a barcode and qrcode that links to the live page of that material. here is an example of a page. http://www.slabber.ca/slabber/view/stone/1483.

i just don't where to start. any help would be great.
pbucciarelli
New php-forum User
New php-forum User
 
Posts: 2
Joined: Thu May 01, 2014 10:10 am

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

Postby 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: 838
Joined: Mon Oct 01, 2012 12:32 pm

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

Postby pbucciarelli » Fri May 02, 2014 7:06 am

ok so i have in my head.

once i make the label page, i should be able to pull the info i need from mysql....

Thanks for info.
pbucciarelli
New php-forum User
New php-forum User
 
Posts: 2
Joined: Thu May 01, 2014 10:10 am

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

Postby 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.
seandisanti
php-forum Fan User
php-forum Fan User
 
Posts: 838
Joined: Mon Oct 01, 2012 12:32 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron