Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Special paper size
Message
De
07/07/2004 12:23:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00915016
Message ID:
00921454
Vues:
18
To everyones interested,

I've been working on this problem for a while. I never got an perfet, total, solution but I have part of the answer.

First, it seems that configuring special paper size on 2003 server is a little tricky, I left that to the network tech. guys, one trick I learned is when sharing the printer, give full access to everybody, otherwise your in trouble with special paper.

Once the paper size is well define, we created a named printer which uses that paper by default (setup must be done in 3 places !!!) then you can start using the printer.

In my application, when the "special paper (ex: INVOICE)" printer is the windows' default printer everything works fine, at the printer prompt the printer INVOICE is there with all it's special setting including the paper size.

When the windows default printer is something else, then VFP does not recognize the special setting. Here's what I'm doing:

SET PRINTER TO &lcPrinterName.
REPORT ...... PROMPT

As a result, at the prompt, the printer name is INVOICE as it should but the paper size is not the default paper size for the INVOICE printer. In other words, even if VFP6 accept the change of default printer, it does not retreive the special setting for that printer.

I also tried to force the paper size in the report itself (expr, Tag1, Tag2) but finally ended up clearing those fields altogether.


Something we did tried yet is using a printer server and define the printer as local printer for each workstation. Don't know if this would work.

Also, evantually, I will try it with either VFP8 or VFP9. PRoblems is I still have clients using windows 98 workstation and I hate to have two versions to maintain....

Any comments are appreciated. I hope this can help somebody else.
Diane Robitaille eng.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform