PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Printing in the Compact Framework
Forums
Newsgroups
Microsoft DotNet
Microsoft Dot NET Compact Framework
Printing in the Compact Framework
![]() |
Printing in the Compact Framework |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Hi all I have the following basic questions: 1. Can I print using the PrintDocument or any thing similar 2. How can a typical device (Pocket PC) be connected to a printer, it is required to be connected to a PC? Thank you, Samuel |
|
|
|
#2 |
|
Guest
Posts: n/a
|
> 1. Can I print using the PrintDocument or any thing similar
No, the PrintDocument doesn't exist > > 2. How can a typical device (Pocket PC) be connected to a printer, it is > required to be connected to a PC? Typically they are bluetooth or serial, so you'd use the SerialPort stuff fot communication. Look at PrinterCE or PrintBoy. -- Chris Tacke OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com -- |
|
|
|
#3 |
|
Guest
Posts: n/a
|
Is coding for printing directly from the device more diffcult thhan .NET
printing? "<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message news:%23uul7h%23EHHA.3768@TK2MSFTNGP02.phx.gbl... >> 1. Can I print using the PrintDocument or any thing similar > > No, the PrintDocument doesn't exist > >> >> 2. How can a typical device (Pocket PC) be connected to a printer, it is >> required to be connected to a PC? > > Typically they are bluetooth or serial, so you'd use the SerialPort stuff > fot communication. Look at PrinterCE or PrintBoy. > > > -- > Chris Tacke > OpenNETCF Consulting > Managed Code in the Embedded World > www.opennetcf.com > -- > > > |
|
|
|
#4 |
|
Guest
Posts: n/a
|
Yes, because the printing classes just dont exist. That's because most
devices have no way to connect to a printer other than serial or bluetooth. -- Chris Tacke OpenNETCF Consulting Managed Code in the Embedded World www.opennetcf.com -- "Samuel Shulman" <samuel.shulman@ntlworld.com> wrote in message news:u586Bk%23EHHA.1248@TK2MSFTNGP02.phx.gbl... > Is coding for printing directly from the device more diffcult thhan .NET > printing? > > > > "<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message > news:%23uul7h%23EHHA.3768@TK2MSFTNGP02.phx.gbl... >>> 1. Can I print using the PrintDocument or any thing similar >> >> No, the PrintDocument doesn't exist >> >>> >>> 2. How can a typical device (Pocket PC) be connected to a printer, it is >>> required to be connected to a PC? >> >> Typically they are bluetooth or serial, so you'd use the SerialPort stuff >> fot communication. Look at PrinterCE or PrintBoy. >> >> >> -- >> Chris Tacke >> OpenNETCF Consulting >> Managed Code in the Embedded World >> www.opennetcf.com >> -- >> >> >> > > |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Hi,
yes, printing from CF is much more difficult, because there's no printing support on PPC/WM at all. The connection between printer and your device is quite simple - you can handle just SerialPort and infrared connection. There are few issues in IrDA communication with printer from CF application. I had to build a eVC++ dll to be able to communicate with the printer using proper protocol (IRLPT). Some printers accept the default protocol (don't remember now how is it exactly called) which can be used from CF directly, but others support just the IRLPT which is not possible to use directly from CF. The other problem is that you have to implement the printer language logic (this means some special control character sequences which control the font and other printer settings) if you don't want to print just using the default font and settings. The language depends on the printer type you wish to support - nearly each printer producer (hp, canon, zebra, seiko) uses it's own print language... I have developed a simple printing library for our application which supports hp, zebra and seiko printers and BT/serial and IR connections. It's quite simple to implement it, but it takes a lot of time to test it ![]() Samuel Shulman napsal: > Is coding for printing directly from the device more diffcult thhan .NET > printing? > > > > "<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote in message > news:%23uul7h%23EHHA.3768@TK2MSFTNGP02.phx.gbl... > >> 1. Can I print using the PrintDocument or any thing similar > > > > No, the PrintDocument doesn't exist > > > >> > >> 2. How can a typical device (Pocket PC) be connected to a printer, it is > >> required to be connected to a PC? > > > > Typically they are bluetooth or serial, so you'd use the SerialPort stuff > > fot communication. Look at PrinterCE or PrintBoy. > > > > > > -- > > Chris Tacke > > OpenNETCF Consulting > > Managed Code in the Embedded World > > www.opennetcf.com > > -- > > > > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 


