shiningworld_4u Posted June 9, 2010 Share Posted June 9, 2010 Hi! am again here with a new problem. We have developed a web based SCM. The web application generates the BarCode of products. Now our client have TSC-TTP-244 Thermal Barcode Printer to print the barcode generated by our system. but the page setting is not going right for the printer. when we click on generate and print barcode button the system should have to send a print request to that printer of page size 2" x 2" and only contains barcode image. not have to send complete page. How could we can do this. the page size used is 2" x 2" Quote Link to comment https://forums.phpfreaks.com/topic/204274-printing-bar-code/ Share on other sites More sharing options...
JonnoTheDev Posted June 9, 2010 Share Posted June 9, 2010 I would use FPDF to print the barcode to a generated PDF of a custom 2" x 2" size. From there you can print. http://www.fpdf.org/ The constructor allows you to set the page dimensions. Look at the FPDF method in the manual. Quote Link to comment https://forums.phpfreaks.com/topic/204274-printing-bar-code/#findComment-1069886 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.