Discussion:
Fiscal Printer S.O.
(too old to reply)
paolo patierno
2008-12-23 09:15:00 UTC
Permalink
Hi,
i'm new to POS for .Net and have to implement a service object for a fiscal
printer.
My question is : where i must put the printer COM port initialization (com,
baudRate, parity bit, handshaking, ...) ?

Thanks,
Paolo
Sean Liming (MVP)
2008-12-27 01:45:32 UTC
Permalink
Have you tried the .NET Serial Port class?

http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(VS.80).aspx
--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
Post by paolo patierno
Hi,
i'm new to POS for .Net and have to implement a service object for a fiscal
printer.
My question is : where i must put the printer COM port initialization (com,
baudRate, parity bit, handshaking, ...) ?
Thanks,
Paolo
paolo patierno
2008-12-31 18:29:00 UTC
Permalink
Hi,
I meant where I must put the information to read to initialize the
SerialPort class. In the standard JavaPOS there is a xml file with the
settings. In the standard Pos for .Net is there a xml file too ?

Thanks
Post by Sean Liming (MVP)
Have you tried the .NET Serial Port class?
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(VS.80).aspx
--
Regards,
Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
Post by paolo patierno
Hi,
i'm new to POS for .Net and have to implement a service object for a fiscal
printer.
My question is : where i must put the printer COM port initialization (com,
baudRate, parity bit, handshaking, ...) ?
Thanks,
Paolo
Sean Liming (MVP)
2009-01-03 01:29:28 UTC
Permalink
It is possible to setup in an XML file, but it really depends on the service
object and what it supports.
--
Regards,

Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
Post by paolo patierno
Hi,
I meant where I must put the information to read to initialize the
SerialPort class. In the standard JavaPOS there is a xml file with the
settings. In the standard Pos for .Net is there a xml file too ?
Thanks
Post by Sean Liming (MVP)
Have you tried the .NET Serial Port class?
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(VS.80).aspx
--
Regards,
Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
Post by paolo patierno
Hi,
i'm new to POS for .Net and have to implement a service object for a fiscal
printer.
My question is : where i must put the printer COM port initialization (com,
baudRate, parity bit, handshaking, ...) ?
Thanks,
Paolo
paolo patierno
2009-01-03 09:20:00 UTC
Permalink
Can you explain me better ?

Thanks.
Post by Sean Liming (MVP)
It is possible to setup in an XML file, but it really depends on the service
object and what it supports.
--
Regards,
Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
Post by paolo patierno
Hi,
I meant where I must put the information to read to initialize the
SerialPort class. In the standard JavaPOS there is a xml file with the
settings. In the standard Pos for .Net is there a xml file too ?
Thanks
Post by Sean Liming (MVP)
Have you tried the .NET Serial Port class?
http://msdn.microsoft.com/en-us/library/system.io.ports.serialport(VS.80).aspx
--
Regards,
Sean Liming
www.sjjmicro.com / www.seanliming.com
Author: Windows Embedded for Point of Service / POS for .NET Step-by-Step
http://www.sjjmicro.com/WEPOS.html
Post by paolo patierno
Hi,
i'm new to POS for .Net and have to implement a service object for a fiscal
printer.
My question is : where i must put the printer COM port initialization (com,
baudRate, parity bit, handshaking, ...) ?
Thanks,
Paolo
Loading...