Home > Archive > Getting Started with dBASE > November 2006 > hold printed matter









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author hold printed matter
dlit

2006-11-29, 7:13 pm

Some of my printed matter through reports launched by prg commands are got hold in the printer's buffer and are only released when quitting dbase.
Don t see why.
Any idea ?
Dom
Les Shewchuk

2006-11-29, 7:13 pm

Which version of dBase and what commands are you using.

If you are using the old printer commands.

Set Printer On
? "Some Stuff"
Set Printer Off

You have to "Close Printer" when your done to finish the job.

Les Shewchuk

"dlit" <dlitl@wanadoo.fr> wrote in message
news:DNsp8E9EHHA.1768@news-server...
> Some of my printed matter through reports launched by prg commands are got
> hold in the printer's buffer and are only released when quitting dbase.
> Don t see why.
> Any idea ?
> Dom



Ken Mayer [dBVIPS]

2006-11-29, 7:13 pm

dlit wrote:
> Some of my printed matter through reports launched by prg commands are got hold in the printer's buffer and are only released when quitting dbase.
> Don t see why.
> Any idea ?


In addition to Les' useful comments, as a way of explanation -- You're
now working with the Windows environment, and it does things differently
than DOS. You're going to have to adjust your way of thinking a bit.

The printer drivers, for example, eat control codes (ones used in DOS to
set text to bold, italic, etc.). They also have a "buffer". In order for
your report if you are using older ?/?? type syntax to go to the
printer and start printing once done, you will need, as Les points out,
to close the printer buffer.

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
bigMike

2006-11-29, 7:13 pm

And if none of those suggestions work, send a "CRLF" at the end of your
transmission. That used to work waaaaaaaaay back when.

bigMike


"dlit" <dlitl@wanadoo.fr> wrote in message
news:DNsp8E9EHHA.1768@news-server...
> Some of my printed matter through reports launched by prg commands are got
> hold in the printer's buffer and are only released when quitting dbase.
> Don t see why.
> Any idea ?
> Dom



dlit

2006-11-30, 7:15 pm

Thanks for replies. My printing goes through modified prg using reports and close printer command.
This happens only some times. And in such cases, when going to the printers window and getting the status of the current printer, I see the series of pending documents cannot clear their stream out until getting out of dbase.
Dom


Ken Mayer [dBVIPS]

2006-11-30, 7:15 pm

dlit wrote:
> Thanks for replies. My printing goes through modified prg using reports and close printer command.
> This happens only some times. And in such cases, when going to the printers window and getting the status of the current printer, I see the series of pending documents cannot clear their stream out until getting out of dbase.


Try issuing:

close printer

And see if that helps.

Ken

--
/(Opinions expressed are purely my own, not those of dataBased
Intelligence, Inc.)/

*Ken Mayer* [dBVIPS]
/Golden Stag Productions/
dBASE at goldenstag dot net
http://www.goldenstag.net/dbase/dBASEBook.htm
http://www.goldenstag.net/GSP
http://www.goldenstag.net/dbase
Rick Gearardo

2006-11-30, 7:15 pm

Also try "eject"

Rick

"dlit" <dlitl@wanadoo.fr> wrote in message
news:4rreQJIFHHA.1976@news-server...
> Thanks for replies. My printing goes through modified prg using reports
> and close printer command.
> This happens only some times. And in such cases, when going to the
> printers window and getting the status of the current printer, I see the
> series of pending documents cannot clear their stream out until getting
> out of dbase.
> Dom
>
>



Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com