Information générale
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
Custom Forms on Multiple Printers under XP
Versions des environnements
I've got a report that is driving me crazy. It uses a custom form. Two XP machines print to a Lexmark 2480 (one local and one via the network), and two XP machines and two W2k machines print to a Lexmark 2490 which is attached to one of the XP machines. I had everything working fine until the machine with the 2480 crashed its hard drive and the OS was replaced with XP 2002.
I have the custom form defined on all the machines, but apparently it doesn't have the same form number on all the machines. If I build the app on the local XP machine with the 2480, it runs fine there, but it defaults to the standard Letter form on the machines printing to the 2490. If I build the app on a w2k machine with the 2490 as a network printer, it defaults to the standard Letter form on the 2480 machines. Neither option is desirable.
The custom form doesn't even have the same form number on two different printers on the same machine. I have a w2k machine where I have defined a 2480 as a local printer to a file, and a network 2490. If I set the custom form as the default on each printer, and do prtinfo(2), I get two different numbers. I guess that is because in the case of the 2480, it is using a local form, and in the case of the 2490, it's using the form off the netwokred machine.
After searching through the threads here, it appears that the only way to resolve this is to enumerate the forms on a machine, and find one that matches the form width and length that I need, then to set that number in the PageSize option in the Expr field of the FRX. Does that also mean that the frx can't be included in the project, and a copy has to be on each machine, or can I make a temporary copy of the frx in the project on each machine when I need it?
Or, if I clear the Tag, Tag2 and Expr fields, will the default printer attributes carry through, including the form selected?
Thanks for any help.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement