PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Printing in the Compact Framework

Reply

Printing in the Compact Framework

 
Thread Tools Rate Thread
Old 29-11-2006, 06:37 PM   #1
Samuel Shulman
Guest
 
Posts: n/a
Default Printing in the Compact Framework



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
Old 29-11-2006, 06:59 PM   #2
Guest
 
Posts: n/a
Default Re: Printing in the Compact Framework

> 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
Old 29-11-2006, 07:03 PM   #3
Samuel Shulman
Guest
 
Posts: n/a
Default Re: Printing in the Compact Framework

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



  Reply With Quote
Old 29-11-2006, 08:00 PM   #4
Guest
 
Posts: n/a
Default Re: Printing in the Compact Framework

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

>
>



  Reply With Quote
Old 30-11-2006, 08:24 AM   #5
Buthrakaur
Guest
 
Posts: n/a
Default Re: Printing in the Compact Framework

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


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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