|
Home > Archive > Getting Started with dBASE > March 2006 > printing to file (txt) in dbase III
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 |
printing to file (txt) in dbase III
|
|
| Vlad Holecek 2006-03-05, 8:27 pm |
| I am moving my Dbase3 program from stanalone XP computer, where all is well, to a network system. It seemed to work until I tried to print something simple as a 2 page listing. On the network it always prints about page and a half, ejects the page and pri
nts the rest on a new page. IT person advised me to print from dbase to a file and then using a shareware program redirect this to the printer. I don't know how to print to a file. Any ideas?
| |
| Rick Gearardo 2006-03-05, 8:27 pm |
| If memory serves:
set printer to myFile.txt
"Vlad Holecek" <vholecek@bessinc.net> wrote in message
news:H7dGLgOPGHA.2016@news-server...
>I am moving my Dbase3 program from stanalone XP computer, where all is
>well, to a network system. It seemed to work until I tried to print
>something simple as a 2 page listing. On the network it always prints about
>page and a half, ejects the page and prints the rest on a new page. IT
>person advised me to print from dbase to a file and then using a shareware
>program redirect this to the printer. I don't know how to print to a file.
>Any ideas?
| |
|
| my dbase III Plus software "no speak" this language-> SET PRINTER TO
Rick Gearardo Wrote:
> If memory serves:
>
> set printer to myFile.txt
>
> "Vlad Holecek" <vholecek@bessinc.net> wrote in message
> news:H7dGLgOPGHA.2016@news-server...
>
>
| |
| Marilyn Price 2006-03-13, 7:23 am |
| In article <H7dGLgOPGHA.2016@news-server>, vholecek@bessinc.net says...
> I am moving my Dbase3 program from stanalone XP computer, where all
> is well, to a network system. It seemed to work until I tried to print
> something simple as a 2 page listing. On the network it always prints
> about page and a half, ejects the page and prints the rest on a new
> page. IT person advised me to print from dbase to a file and then
> using a shareware program redirect this to the printer. I don't know
> how to print to a file. Any ideas?
dBase III doesn't know how to set the printer to a file. However, the
following technique has worked for me in the past:
set alternate to myfile.txt
set alternate on
? 'do the printing'
set alternate off
set alternate to
That said, I've also not had problems printing in dBase III, even on a
network, as long as, before starting dBase, the network printer has been
captured as an lpt port. Your IT person may know how to do that (most
don't know anything about DOS commands these days <g> ).
Actually, rereading your question, it sounds like the page length on the
network printer is different than the page length of the local printer.
See if you can change the default page length on the network printer.
--
Marilyn Price
M. P. Data
|
|
|
|
|