|
Home > Archive > FoxPro Setup > April 2005 > Network printer with VFP6
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 |
Network printer with VFP6
|
|
| Wild Bill 2005-04-07, 8:05 pm |
| Hi, I' m sorry for my english, I'm Italian.
I have a problem with a Network printer installed with TCP/IP protocol. All
the applications installed (Word, Wordpad, Photoshop etc.) print correctly,
both for the network printer and the other normal printers in the network.
My VFP6 written application, instead, prints on another printer when the
user prints to the network printer, and to the correct printer when the user
prints to another one. The problem comes only on the PC from where the
driver of the network printer where installed.
What I can do?
Thank You all.
| |
| Mike Pratt 2005-04-07, 8:05 pm |
| Would SET PRINTER TO NAME GETPRINTER() work for you?
Regards,
Mike
On Thu, 17 Feb 2005 09:37:12 +0100, "Wild Bill" <maurizio@cedisoft.it>
wrote:
>Hi, I' m sorry for my english, I'm Italian.
>I have a problem with a Network printer installed with TCP/IP protocol. All
>the applications installed (Word, Wordpad, Photoshop etc.) print correctly,
>both for the network printer and the other normal printers in the network.
>My VFP6 written application, instead, prints on another printer when the
>user prints to the network printer, and to the correct printer when the user
>prints to another one. The problem comes only on the PC from where the
>driver of the network printer where installed.
>What I can do?
>Thank You all.
>
| |
| Wild Bill 2005-04-07, 8:05 pm |
| It could work, but in the entire program there are at least 100 reports,
launched with
"REPORT FORM zzzz NOCONSOLE [PREVIEW] TO PRINTER PROMPT"
It will be a very hard job, and further the user must select the printer
even for a print preview. Even if it works, I can't do that for a single
user that have the problem with that particular printer.
Thanks, Maurizio.
"Mike Pratt" <mspratt@losethis.xmission.com> ha scritto nel messaggio
news:4214c54c.2545430@207.46.248.16...
> Would SET PRINTER TO NAME GETPRINTER() work for you?
>
> Regards,
>
> Mike
>
> On Thu, 17 Feb 2005 09:37:12 +0100, "Wild Bill" <maurizio@cedisoft.it>
> wrote:
>
All[color=darkred]
correctly,[color=dar
kred]
network.[color=darkred]
user[color=darkred]
>
| |
| Fred Taylor 2005-04-07, 8:05 pm |
| You may need to clear the existing printer environment out of each REPORT
form. In the first record of each .FRX, you would need to clear the TAG,
TAG2 and EXPR fields.
--
Fred
Microsoft Visual FoxPro MVP
"Wild Bill" <maurizio@cedisoft.it> wrote in message
news:O$2%23v8QFFHA.3664@TK2MSFTNGP15.phx.gbl...
> It could work, but in the entire program there are at least 100 reports,
> launched with
>
> "REPORT FORM zzzz NOCONSOLE [PREVIEW] TO PRINTER PROMPT"
>
> It will be a very hard job, and further the user must select the printer
> even for a print preview. Even if it works, I can't do that for a single
> user that have the problem with that particular printer.
>
> Thanks, Maurizio.
>
>
>
>
> "Mike Pratt" <mspratt@losethis.xmission.com> ha scritto nel messaggio
> news:4214c54c.2545430@207.46.248.16...
> All
> correctly,
> network.
> user
>
>
| |
|
| "Fred Taylor" <ftaylor@mvps.org!REMOVE> wrote in
news:OQiATkVFFHA.1932@TK2MSFTNGP14.phx.gbl:
> You may need to clear the existing printer environment out of each
> REPORT form. In the first record of each .FRX, you would need to
> clear the TAG, TAG2 and EXPR fields.
>
I had a simular problem and it all was solved by, in the developing
environment, selecting a printer (in report writer - page setup - printer)
that would NEVER exist in the runtime environment. Rename the printer to
something like "dummy printer" and use for all reports.
I think the solution is equal to the one mentioned by Fred above, chose the
one you think is best for you.
ToLö
|
|
|
|
|