🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.comp.borland-delphi
2 messages
2 total messages Started by Peter J. Dobrovka Sun, 28 Nov 2004 21:09
printing problem
#1187
Author: Peter J. Dobrovka
Date: Sun, 28 Nov 2004 21:09
53 lines
3143 bytes
Hi there!

A new attempt to solve an old problem which doesn't seem to exist
anywhere else
on the world - just like all problems I have.

Given is a local network with a printer. Maybe a network printer,
maybe a
computer that has a printer accessible for the other peers - it does
not matter.

The application I have written prints documents. They have images and
text as
well, but the content is of no importance.

The phenomenon is this: On 50% of all computers the printing does not
start
until the program is terminated. You can see the print job in the
spooler, but
the moment when it disappears and the printer is beginning to work
never comes.

The application is written in Delphi 5. Maybe this is of any
importance, I did
not test.

It is obviously of NO meaning what hardware is used and what version
of Windows
is installed. The problem is sticking to certain computers but the
reason seems
to be completely random.

Other applications like Word etc. do not show this problem. So the
problem ist
somewhere in the program. But this program does nothing special. And
no, I did
NOT forget EndDoc at the end of the printing code!

It seems to be that there is some command sent when the application is
terminated which forces the print job to complete, and some systems
need this
command. But what command could it be?

So my question: Did anybody ever encounter this strange problem? I
need help
very badly. I would be already glad if someone could tell me another
person or
website where to find a solution.

Peter

PS: sorry for excessive crossposting but I am becoming somewhat
desperate ...
Re: printing problem
#1188
Author: Ryan
Date: Mon, 29 Nov 2004 15:49
60 lines
3277 bytes
Any chance of a code sample to give an idea of what it is you are doing ?

Ta

Ryan

Peter J. Dobrovka <dobrovka@3dtt.de> wrote in message news:<68fkq05kia1hlch1peunr0djft9di6bq1q@4ax.com>...
> Hi there!
> 
> A new attempt to solve an old problem which doesn't seem to exist
> anywhere else
> on the world - just like all problems I have.
> 
> Given is a local network with a printer. Maybe a network printer,
> maybe a
> computer that has a printer accessible for the other peers - it does
> not matter.
> 
> The application I have written prints documents. They have images and
> text as
> well, but the content is of no importance.
> 
> The phenomenon is this: On 50% of all computers the printing does not
> start
> until the program is terminated. You can see the print job in the
> spooler, but
> the moment when it disappears and the printer is beginning to work
> never comes.
> 
> The application is written in Delphi 5. Maybe this is of any
> importance, I did
> not test.
> 
> It is obviously of NO meaning what hardware is used and what version
> of Windows
> is installed. The problem is sticking to certain computers but the
> reason seems
> to be completely random.
> 
> Other applications like Word etc. do not show this problem. So the
> problem ist
> somewhere in the program. But this program does nothing special. And
> no, I did
> NOT forget EndDoc at the end of the printing code!
> 
> It seems to be that there is some command sent when the application is
> terminated which forces the print job to complete, and some systems
> need this
> command. But what command could it be?
> 
> So my question: Did anybody ever encounter this strange problem? I
> need help
> very badly. I would be already glad if someone could tell me another
> person or
> website where to find a solution.
> 
> Peter
> 
> PS: sorry for excessive crossposting but I am becoming somewhat
> desperate ...
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads