Receipt Printing with thermal Printing ASP.NET Core MVC - printing

I want to Print a Receipt using Thermal Printer on the ASP.NET CORE MVC POS Web Project. Currently, I am using Rotativa to render Receipts as Pdf but the problem is page size customization. Then to select the printer to print the receipt.

Related

How to transfer values from a table in Microsoft word into a Intranet webpage textbox

I'm relatively new to javascript. But is there a way to How to transfer values from a table in Microsoft word into a Intranet webpage Text box, preferably using something simple like notepad to code? Also, is it possible to make it such that the transfer goes on even after the webpage goes on to page 2 and page 3 etc?

using Barcode and barcode scanner to auto fill the web form

I am developing an e-commerce web site using asp.net MVC4, it need to fill the product form(eg. product name, price, etc) and save to database, and i know we can use a barcode scanner to do such stuff(scan the barcode, the form will be filled programmatically). What is the key word that i should google? Any example?
Steps could be:
call webcam in web browser
scan and decode barcode
analyze the result. probably you can make a data structure like
{"name":xx, "price":xx, etc}. extract data from result and fill them into product form.

Printing Infopath form 2010(.xml) in Sharepoint 2010

My question is related to printing an Infopath 2010 form in Sharepoint 2010.I designed an Infopath 2010 form in Infopath Designer 2010 and published it to a form library in Sharepoint 2010.The end user fill the form and store it in .xml format in the document library.Now I would like to print the form filled by the end user?
Any Ideas or suggestion about the above scenario?Please consider both browser based forms and normal forms
Thanking you in advance.
For normal forms, you have to create a print view. It will create a Word document that can be printed from user's workstations. Here is a link how to design a view for printing:
http://office.microsoft.com/en-us/infopath-help/design-a-view-that-is-optimized-for-printing-HA010151438.aspx
Unfortunately Word print views are not supported for web-based forms. Usually the only option is to create another InfoPath view and design it for "print": all controls as labels or read only; all sections are visible, etc.
[Update]
#Surendra J: Ok. There are two things to address separately.
First of all user should be able to request "Print" operation right from SharePoint view (and I don't mean "Browser->File->Print"....) This can be implemented by using a custom ECB action. Your custom action will be associated with Forms library or even specific ContentType. It will allow SharePoint users to choose "Print Form" right from SharePoint view. These links should help:
http://www.slideshare.net/gvarosky/introduction-to-developing-custom-actions-within-sharepoint
http://www.csharpest.net/?p=95
Second issue is to make print view from XML. As you can understand InfoPath XML has to be transformed to HTML or image. Preferably it should be done by InfoPath forms library. There is no easy way to navigate to given InfoPath view without mixing rules and URL parameters. I recommend you to take a look at this article:
http://social.msdn.microsoft.com/Forums/en-US/sharepoint2010general/thread/156983db-5a62-498f-a3b5-96ad7f57d15f
Disclaimer: I personally like PDF forms product from http://PdfSharepoint.com. It does not have print issues as all forms are dynamic PDFs and works with Adobe Reader. I believe it is a good alternative to InfoPath if printing is necessary.

ASP.NET MVC + REST SDK + Atom Feeds + Outlook 2007 formatting

I used the ASP.NET MVC REST SDK for building atom feedS for our exception logging dashboard and it worked perfect.
When creating the syndication content, I used CreateHTMLContent and added a PRE tag around my HTML content string. Now it shows in a nice formatted way on internet explorer. But when reading the feed through outlook 2007, I am losing the formatting totally. Do you have any idea how to format the feeds for outlook 2007.
Thanks,
I suggest that you start by going here and vote for what is currently the number one requested fix in Outlook!

owc replacement

I use OWC (Office Web Components) v10.0 to embed Excel grid in an asp.net page. Is there a replacement technology where excel grid can be embedded in the client side browser?
If you are using a Sharepoint Server, Microsoft offers something called Excel Services, which basically provides spreadsheet functionality in a browser, without requiring an actual component to be deployed (with the Excel work being done on the SPPS server. Info is here:
http://msdn.microsoft.com/en-us/library/ms546696.aspx
I know there is an OpenSource product called WikiCalc which is a client-side, spreadsheet component which works in the browser (from Dan Bricklin's company). Some info is here:
http://www.softwaregarden.com/products/wikicalc/index.html
There seems to be no .Net solution for client browser excel grid than OWC. Looks like SharePoint 2010 has Office Web Applications that allows Google Docs like spreadsheet functionality in browser. Would evaluate that.
looks like there is one.
http://www.infragistics.com/dotnet/netadvantage/silverlight/infragistics-excel.aspx

Resources