Re: Simple Question about Bluetooth Printing

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



mldunham,

Your question really has a couple of parts to it. The first is how do
I set up to print over Bluetooth, the second, how do I print a textbox.

Do you have access to the Intermec Developers Kit? In there, you can
find the .NET LinePrinter component. It can help you in a couple of
ways. I will assume you have access to it for the rest of the answer.

First, you must go into the Bluetooth settings control panel and
discover your printer and set it as the default. Now when you set up
to print to a Bluetooth printer using Intermec's LinePrinter, it will
go to that printer.

To print the contents of the textbox to the printer, I can think of 2
ways of doing it. The first option would be to simply read the text
from the control, and use the LinePrinter Write commands to send the
text to the printer.

The second option would be to capture the control as a bitmap file and
use the LinePrinter's Bitmap function to print the control as a
graphics item on the printer. The problem with this is that it might
be dificult to capture the control as a bitmap. I have not done this
myself, but perhaps others can fill in the missing pieces here.

Hope this helps!

Ruben

.



Relevant Pages

  • Re: Convert color image to B&W
    ... > I create the new B&W file and set the ImageUrl property of the Image ... "Scott Schluer" wrote in message ... >>> converted BitMap, the resultant greyscale image). ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Printing a control
    ... am getting the image list of the control as well. ... and why use a bitmap? ... int x = ... ... ratio as the min of the ratio for full width and the ratio for full height. ...
    (microsoft.public.vc.mfc)
  • Re: About mouse controlling in c/c++
    ... audio or video players using Bluetooth. ... It will control any device ... Suitable audio or video players are: ...
    (Ubuntu)
  • Re: Transparent Icons
    ... When I subsequently copy it to an Image Control, ... Unfortunately one must provide the bitmap with a mask. ... Dim MonoMaskDC As Long, hMonoMask As Long ... Dim ResultDstDC As Long, hResultDst As Long ...
    (comp.lang.basic.visual.misc)
  • Re: Debugging Challenge - no source available
    ... transparent backgrounds - I previously noticed some bizarre behavior when I ... tried to set a control's background to a transparent bitmap (the transparent ... I've decided to derive my own control from the label control I'm ... >> In both cases, the debugger catches execution at the same point, just ...
    (microsoft.public.dotnet.general)