All Forums
 Microsoft Windows CE
 CE Drivers
 Printers and Windows CE
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  

akidder

1519 Posts

Posted - 22 Apr 2003 :  16:38:33  Show Profile  Email Poster
Q: Our application needs a printer. What can you tell us about Windows CE and printing?

CE supports printing, but many of the "extras" we've become accustomed to in the PC Windows world aren't available in CE.

Here are some things to think about when using printers and Windows CE:

Note that this post was made with CE 3.0 in mind; see topic 761 for some notes about printers and CE .NET
Drivers and Data Transport

You'll need two things to use a printer with CE:
  1. Printer Driver
    • CE includes printer drivers for generic PCL printing.

    • Other types of printers require HPC2000 drivers from the manufacturer

    • You can also get custom drivers from Westek or Fieldsoftware.com.

    • For thermal and line printers, you may find it easier to write directly to the printers, as the commands are simple.

  2. Data Transport
    • Network printing: CE supports printing to PCL printers over a TCP/IP network
    • Serial: While we support PCL printers, not many printers use serial connections

    • IR(infrared): Possible, but we haven't ever used this method

    • USB: Supported under CE.NET. Several CE 3.0 customers have done this, but we do not have the printer drivers they used.

More Details

Here are further details about printing under Windows CE 3.0
  • Printers must support True Type fonts; CE printing doesn't support raster fonts.
  • The HPC/Pro SDK doesn't include a Print dialog box. If you need it, you must create your own dialog to select the printer and manage print jobs. You can still submit jobs programmatically without a dialog.

  • CE doesn't support print queue management.

  • If you simply need to read and write character data to the printer port, you can use the Windows ReadPrinter and WritePrinter APIs

  • (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaskdr/html/askgui05082001.asp)
  • You can test your printer using the printing functions in Internet Explorer. We've used a network printer and addressed it with the format \\server_name\printer_name. I understand that there are options for printers on COM1 and IR, as well, and that CE.NET supports USB printers.


Further Reading
If you think you've already taken too much time thinking about printers and CE, consider the CE SDK from Field Software. The cost of a hundred licenses probably costs less than a day of your time.


Edited by akidder 29-Apr-2004: Add link to CE.NET printer topic.
  Topic  
 Forum Locked  Topic Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000