HighTechTalks DotNet Forums  

Printing in the Compact Framework

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Printing in the Compact Framework in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Samuel Shulman
 
Posts: n/a

Default Printing in the Compact Framework - 11-29-2006 , 01:37 PM







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



Reply With Quote
  #2  
Old   
 
Posts: n/a

Default Re: Printing in the Compact Framework - 11-29-2006 , 01:59 PM






Quote:
1. Can I print using the PrintDocument or any thing similar
No, the PrintDocument doesn't exist

Quote:
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
--





Reply With Quote
  #3  
Old   
Samuel Shulman
 
Posts: n/a

Default Re: Printing in the Compact Framework - 11-29-2006 , 02:03 PM



Is coding for printing directly from the device more diffcult thhan .NET
printing?



"<ctacke/>" <ctacke[@]opennetcf[dot]com> wrote

Quote:
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
--






Reply With Quote
  #4  
Old   
 
Posts: n/a

Default Re: Printing in the Compact Framework - 11-29-2006 , 03:00 PM



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 (AT) ntlworld (DOT) com> wrote

Quote:
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 (AT) TK2MSFTNGP02 (DOT) 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
--








Reply With Quote
  #5  
Old   
Buthrakaur
 
Posts: n/a

Default Re: Printing in the Compact Framework - 11-30-2006 , 03:24 AM



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:
Quote:
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 (AT) TK2MSFTNGP02 (DOT) 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
--





Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.