Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with FoxyPreviewer and Printername
Message
De
28/01/2021 07:23:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
01677938
Message ID:
01677942
Vues:
62
>>Hi there,
>>
>>my customer/distributor has a lot of customers where he has defined printernames with additional info in quotation marks like:
>>OKI C610(PCL) 'Storno'.
>>This names cause an error.message by FoxyPreviewer saying that the printer can not be found. The VFP-Previewer accepts these names.
>>Can anyone help me with this problem? Changing the printernames is, according to my customer, not an option.
>>
>>Best regards
>>
>>Thomas
>
>>Have you tried assigning the name into a variable, and using that variable >instead of the printer name in FP?
>
>Yes, I have a var cprinter which gets the above mentioned strimg, assign it to the cPrintername-property and start the preview. The printer is shown in the printer-dialog of FP and when I choose to print, the error happens.

Just for curiosity, does it work if you skip FP? I mean, are you able to "connect" the printer to VFP9 so that you can for instance List Status to Print?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform