Re: FS q command
- From: DB-1 <db1@xxxxxxxxxxxxxxxxxxx>
- Date: Tue, 31 Jan 2006 15:29:46 +0200
DelphiNew wrote:
>
> I'm developing a Delphi application where I have to print
> tickets with a logo (bitmap), but I have to print it using ESC/p
> commands (I can't use StretchDIBits, StretchDraw...).
And why do you *have to* print bitmaps on that tedious way?
Remember that Delphi is a Windows tool, and the productive idea is to
use those ready made tools that Windows offers, instead of yourself
writing everything in the hard way.
If you select any POS (Point Of Sale) printer that has Windows drivers
and supports Windows graphics, you can print those tickets and bitmaps
using any standard Delphi reportin package. QuickReport is fine for
that.
> Exists any easier way to print bitmaps directly without using the
> printer drivers?
No, just use the printer drivers and all the existing code and
technology that lies behind that path.
One choice to print logos is to use a POS printer that has built in
graphics printing capabilities. For instance low cost Star 100 model
http://www.starmicronics.co.uk/products/printers/tsp100.html
You use the graphics software that comes with the printer, and download
your logos and pictures to the printer memory. They will stay there even
if the power is switched off. Logos will print before/after any printout
that your app sends to the printer.
Star printer driver itself guides the printer's paper cutter and also
opens the cash drawer automatically. You no more have to use or send any
ESC-sequences to the printer.
> Any example will be appreciate.
Take any of those QReport demo applications that are in your \DEMOS sub
directory, and try printing them on any Windows graphics capable POS
printer, and you'll soon get the simple idea.
DB-1
.
- Follow-Ups:
- Re: FS q command
- From: Dunny
- Re: FS q command
- References:
- FS q command
- From: DelphiNew
- FS q command
- Prev by Date: FS q command
- Next by Date: Re: Folding Editor
- Previous by thread: FS q command
- Next by thread: Re: FS q command
- Index(es):
Relevant Pages
|