Answer the question
In order to leave comments, you need to log in
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
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.
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');
}
}
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 questionAsk a Question
731 491 924 answers to any question