TIP: Click on subject to list as thread! ANSI
echo: visual_basic
to: All
from: `don D{at}home.Moc` don{at}hom
date: 2005-02-14 13:44:00
subject: Re: Simple Printing from VB 6

On Mon, 14 Feb 2005 10:21:51 GMT, al jones 
wrote:

>On Sun, 13 Feb 2005 23:58:48 -0500, Hal Rosser wrote:
>
>> "al jones"  wrote in message
>> news:qgcrk0f6joct.175kmj9zzfzv6.dlg{at}40tude.net...
>>> Does anyone have - or can you point me to - something that puts all the
>>> basic elements of printing to the printer together in one place.  (A
>>> working simple sample would be great!)
>>>
>>> I though I had it together from the docs and a few web samples, but I
>>> obviously either have them mis-arranged or missing.  I'm not
trying to do
>>> anything fancy, just some straight printing but I'm missing something.
>>
>> Look at the properties and methods of the printer object in msdn
>> printer.fontname = "arial"
>> printer.fontbold =  true
>> printer.currentx = 125
>> printer.currenty = 300
>> printer.print "Hello World"
>> printer.currentx = 100
>> printer.print "Bye World"
>
>Hal, what you just gave me is what I'm seeing - I spent all day yesterday
>taking the pieces and putting them together - but never got anything to
>print so I'm obviously missing something fairly basic.
>
>Leaving the print queue for my default printer (Brother MFC on USB)
>displayed, nothing I've managed to try ever puts anything in the print
>queue - nothing ever prints - that's why I asked for "something that puts
>all the basic elements of printing to the printer together in one place".
>If you have one, a pointer to a very simple example would be more than
>sufficient - I'm not dumb, just dense somethimes.

And don't forget to final step -> printer.EndDoc


Have a good day...

Don


--- UseNet To RIME Gateway {at} 2/14/05 1:39:26 PM ---
* Origin: MoonDog BBS, Brooklyn,NY, 718 692-2498, 1:278/230 (1:278/230)
SEEN-BY: 633/267 270 5030/786
@PATH: 278/230 10/345 106/1 2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.