« first day (126 days earlier)   

6:09 AM
Moring @RudiVisser @Alex
 
Is it possible to adjust programmatically in printing some data into a roll paper from a web in such a way that when data get stop on next line it should cut ,for example if 10 line of data then next line should cut ,if line 5 has data on next line should cut.Is this function is done with operating system and printer diver?
 
 
2 hours later…
7:40 AM
@RAJMOHAN I think it should be possible, but I just don't know how
 
8:00 AM
Morning All
@RAJMOHAN On a roll? It's probably the driver / app printing it - I doubt your browser has much control over dedicated printers
 
8:12 AM
@RudiVisser hi
So in billing how they do it ?
Is it possible from javascript that?
 
9:09 AM
I'm not sure Javascript can control printers
 
9:34 AM
sounds quite weird to be honest if Javascript is able to control a printer
 
 
1 hour later…
10:43 AM
Morning
Hi Rudi - was supposed to let you know how I did upgrading all my production servers to use .net core 2.0. Well since we last talked my partners dropped additional six clients on me and for the past two months I had no life. I still haven't had a chance to update to the 2.0 but will most likely try this weekend.
I have a - what i am hoping to be - simple routing problem though, using areas. Hoping you or someone here will be able to shine some light on it
0
Q: Routing error in Areas, .net core 1.1 only on POST

PawelKosiI have recently started to use Areas in my .net core web app to organise hundreds of files in the project. It all worked well, until now. I have a controller in its own area, with these decorators namespace MyApp.Controllers { [Area("Doc")] [Route("doc")] public class DailyOperating...

 
Holy crap that's a long question sec
Also welcome to the no life club :D
 
Hi all
 
Heyo Alex
 
Hi Rudi
 
11:05 AM
Hi Alex
 
Hey PawelKosi
 
Yeah, I just wanted to put as much info as possible rly. Otherwise I would get asked for this stuff anyway
 
Haven't done Core yet
 
[Route("[action]/{page:int?}")]
Your route doesn't allow {id} to be specified, it wants page, isn't it as simple as that?
 
I was against it first, now I am sort of in love ;)
 
11:07 AM
You shouldn't be! You're on 1.1 which is Hell
:P
 
:D
I will upgrade, honestly
I have meeting later on today when i will be like 'Look I need a week to do it properly'
at which point everyone will look at me and laugh
but hey i will try to do it over the weekend
 
Weekends are the most productive times
 
tbh I was playing with areas - so I left the routing on methods as it were in the SO post I used, I'll try your suggestion
Tried it [Route("[action]/{id?}")] but the same issue - just get 404. I don't fully grasp routing tbh
I just checked something on a whim in chrome dev tools <form> tag has the method="post" but all request methods when you hit submit are 'GET' if you check the network tab
Rudi, you were right! I feel so stupid now
I had to change the routing for both GET and POST - duh!!!!!!!!
oh f hell, ill go and sit in the 'stupid corner' for a moment to gather my thoughts
 
11:27 AM
👍
 
11:43 AM
Uncaught TypeError: $(...).dialog is not a function
at index.js:8
yeah js...
 
Have you referenced jQuery UI?
 
12:01 PM
is there a jQuery UI with version 3.3.1?
Am using jQuery 3.3.1 and jQuery UI 1.8.24
I fixed the reference, how I see more errors
 
Dunno, never used jQuery UI
 
I try to use it for popups
 
12:20 PM
I thought you were using Bootstrap?
 
I see what I am doing wrong
 
12:39 PM
about everything :p
owh wow, got something working
 
1:19 PM
Good job
 

« first day (126 days earlier)