Coder's Guild Mailing List

Re: your mail

Posted by Peter Palfrader aka Weasel on 1999-08-21

On Sat, Aug 21, 1999 at 05:06:46PM +0200, Mariano Godnic wrote:
> Hi, i'm from Argentina, and new in the task of programming.
> I had recently bought a programming book (delphi 4) and i have learned a lot
> since that. I need to make programs to print labels, or barcodes. I have a
> Laserjet8100 printer(HP) and I know that the printer has a special language
> PCL. Writing a program in delphi i wanted to know how i can print with this
> languange, just writing it in delphi? Apart from that i wanted to know where
> can i get the commands of the language. Do i need a book?Thanx for your
> time.

I don't know wheter printing barcodes is different, but to print just
plain graphics, you can use the printer object in delphi. Use the
printer dialog to select the printer and then make your lines, circles 
and arcs etc. to printer.canvas

HTH

-- 
Weasel                    http://www.cosy.sbg.ac.at/~ppalfrad/
PGP encrypted messages prefered.   See my site for my PGP key.
   The software said Windows95 or better, so I got Linux...