F
F
FedOTs2015-02-18 08:56:16
ASP.NET
FedOTs, 2015-02-18 08:56:16

Good afternoon, can I print a cash register receipt through the asp.net application? Is it possible and how to do it?

Good afternoon, can I print a cash register receipt through the asp.net application? Is it possible and how to do it?
When developing an application in VS2013, the question arose, is it possible to print a check on the client side?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2015-02-18
@NeiroNx

It all depends on how the work with KKM is carried out on the client; if a COM port is used, then an additional application on the client side will definitely be needed, since security policies will not allow the browser to work with ports. If KKM works via TCP/IP, then it must be immediately connected to the server - in this case, the client does not participate in the process.

D
Daniil Sugonyaev, 2017-10-24
@rafamont

You gave a broken link, and it's not clear at all what you want. So that when scrolling through the menu, it was nailed to the top of the page?
If yes, then here is the JQ code for you

var elem = $(' тут ставишь классом объект после пролистывания которого будет прибиваться меню ').offset().top;
    
    window.onscroll = function() {
        var margin = $(window).scrollTop();
        
        if(margin > elem) {
            $(' тут ставишь класс самого меню ').addClass('follow');
        }
        else {
            $(' тут ставишь класс самого меню ').removeClass('follow');
        }
    }

By styles:
body {
position: relative;
}
.follow {
position: fixed;
background: white;
width: 100%;
top: 0;
left: 0;
z-index: 10000;
  }

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question