Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>Alright, have written a procedure to print labels. So far so good. Now what I need is a way for the user to choose printer properties to control what paper feed tray is used so that he/she can manually feed labels into the printer.
>>
>>GETPRINTER() doesn't allow you to set printer properties only choose the printer object.
>>
>>I know that I can always give *everyone* a printer object that is set to manual feed by default, but that is an inconvenient solution. I'd prefer something within the program itself.
>>
>>I also know that you can set a specific Report/Label to use specific printer settings, but that breaks down if all the users do not have the same printer object with the same name.
>>
>>Any thoughts? Thanks.
>
>Did you try PROMPT clause?
Well, this works...somewhat clumsily.
It has several problems.
1. I can't figure out how to detect when the user hits the "Cancel" button on the prompt, so it prints the report even when the user hits cancel.
2. It produces a blank page before the report.
If this is all I have, I'll use it, but I don't really like it.
Précédent
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