PDA

Click to See Complete Forum and Search --> : Stupid Printer


QWERTY
Nov 12th, 1999, 02:10 PM
Does anyone know why my printer doesn't print anything until I close my program (right after I click on the X button to close my program printer prints everything!!)???
I'm using simple Printer.Print thing with various number of copies but it shouldn't matter. I'm stuck in my attempts. If you know the answer please help!!!!!

Thanks

------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.

BJ
Nov 12th, 1999, 05:04 PM
You have to use the printer.enddoc command to send it to the printer. I'm pretty sure this is the command that sends it to your printer, but I think I had that problem even when I used the enddoc command one time.

BJ

QWERTY
Nov 13th, 1999, 11:50 AM
Works for me. Thanks

------------------
Visual Basic Programmer (at least I want to be one)
------------------
PolComSoft
You will hear a lot about it.

CyPhEr
Nov 16th, 1999, 09:56 AM
That doesn't Work for me. It gives me some kind of an error. Can someone send me an example of how to use it? I have VB6.

Serge
Nov 16th, 1999, 06:07 PM
Sure thing:


Printer.Print "Hello, this is a sample text"
Printer.EndDoc



Regards,

------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
ICQ#: 51055819 (http://www.icq.com/51055819)