« first day (829 days earlier)      last day (3320 days later) » 

10:25 AM
1
Q: Writing nice receipt in C# WPF for printing on thermal printer POS

MDDDCI am trying to implement print functionality on one of my project but I am not so good in this kind of work. I already have connected with my thermal printer and write/print same samples. Now I am trying to find some way to design my receipt to look like receipt from attached image. I have some...

 
 
6 hours later…
4:10 PM
@Feeds I have the perfect answer for this, but it would take too long to answer
 
 
1 hour later…
5:25 PM
Yeah, I saw the POS question. It looked pretty broad, even though the asker did a decent job posting
 
 
2 hours later…
6:55 PM
Holy crap this room is boring without me.
 
Apparently we've fixed everyone's problems :)
 
Or banned all the stupid people.
 
bloop
 
Guess that didn't happen. HEYO!
 
well if anyone is bored
they can configure my wcf service for me :D
 
7:06 PM
nah, have to remove identifying information from my test data. I probably should write code to do this for me.
 
Got to debug this pre-build event :(
 
7:26 PM
No Sean or Maverik?
 
 
1 hour later…
8:36 PM
Is this site trustworthy? nugetmusthaves.com
 
9:01 PM
I went through about 5 reviewer's profiles on visualstudiogallery.msdn.microsoft.com/…. All of them mentioned the library in an answer around the time they reviewed the software, and all of it was a bit similar. I suggest staying away from GemBox.
 
9:26 PM
Never heard of it
By the domain-name, I doubt there is any NuGet package you "have" to have in your project
 
yeah... I'm going to try to do this with MS code.
 
9:42 PM
hey @ReedCopsey, I have a library referenced in my 4.5 project which has a runtime version of v2.0.50727.
when I run my application, I get "General" message in output window
> C:\Users\myself\AppData\Local\Microsoft\VisualStudio\12.0\Designer\ShadowCache\wekpllsf.kla\xalauxjq.5a5\Unme.Common.dll
An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
do users need .net 2 in order to run the application if i leave it in my project
 
thats' typically only because it's trying to load some "remote" resource/assembly
where is this running?
 
0o0o0 could it be the .dll was downloaded in a project and was never "Unblocked"
 
yep ;)
that'll do it
 
so libs developed with .net 2 can run on .net 4.5?
 
yeah
 
9:47 PM
without 2.0 installed?
 
if you're app is 4.0+ it'll run in the 4.0 CLR
which works perfectly fine (almost always, though there is a very small list of incompatibilities)
 
ahhh
 
10:20 PM
@ReedCopsey do you have that link that explains where what designated folders are for.. like where you should save user data and what not
 
msdn.microsoft.com/en-us/library/… That doc actually shows most of them
 
10:31 PM
looks useful
 
10:54 PM
how long does it take to upgrade from win 8 to 8.1
 
never done it
 
IIRC, it took about an hour on my laptop
 
My internets slow, so it took longer
2 or 3 hours IIRC
 
> • Out-parameters must be allocated by the one called; they are freed by the caller using the standard COM task memory allocator.
Whats the statndard COM task memory allocator?
 
11:10 PM
basically, eliminate tehir reference
 
so in C#, would that just be set to null?
 
yes, unless you want to release the reference immediately
but otherwise, the GC collection will handle it
 
out parameter would be the COM object allocates the object, the caller (C# app) would then set it to null when done?
 
basically, in C#, yeah
unless you wnat to explicitly msdn.microsoft.com/en-us/library/…
 
well can't the called COM object return a simple String?
would that then make String a COM object as well?
 
11:47 PM
it'll come out as a com string
that the marshaller will turn into a .NET string and clean up right away
remember, at the core, COM is really more of a C++-friendly tech
so you almost have to think in those terms, then convert to C# later
 

« first day (829 days earlier)      last day (3320 days later) »