Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is Citrix the problem?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00656400
Message ID:
00658838
Views:
13
>>I am currently developing an application on a NT/Citrix server. I am having a problem forcing certain reportd to ALWAYS print to certain printers by default. In other words, we have a card that prints to one of the network printers with the special card stock in it, but if the user's default printer is set to something else, it always goes to the default printer. Consequently, I've had to use 'report for ... to print prompt' every time, which the client hates.
>>I've had this problem before on a different Citrix network. Is there a way around this?
>>
>
>Try to remove all printer-specific information from your reports:
>
>1. Open the report as a table with "USE MyReport.frx"
>2. Go to the first record
>3. Delete the contents of the TAG and TAG2 fields.
>REPLACE Tag WITH "", Tag2 WITH ""
>4. Remove following driver related lines from EXPR field
>DRIVER=
>DEVICE=
>OUTPUT=

I think that this is the trick to get it to not print to a specific printer, but to the users default printer. It did remind me of how the printer is specified in a fox report though. It stores the printer name from the developers machine in the fields specified above. If the name does not match (even the same printer) on the client machine, it will just use the client default. It may be that Citrix renames the network printer to something like "HP... on ..." like it does for drives and local printers. That would cause the printer name to not match and the default printer to be invoked.
Bill Mittenzwey
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform