Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print Job Name
Message
 
 
To
23/07/2007 04:49:40
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01242692
Message ID:
01242702
Views:
9
>How to change the print job name?
>eg. at the printer queue, it show c:\erp\reports\report1.frx
>
>I like to show as : invoice
>
>
>
>thanks.

If you're using Windows XP (and up), get http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=B4CB2678-DAFB-4E30-B2DA-B8814FE2DA5A, there are scripts related with Print Jobs.

UPDATE. I checked the scripts and there is no sample of changing a print job name.

You should go with Christof's solution instead.

From http://msdn2.microsoft.com/en-us/library/ms965281.aspx#vfp9inactn_topic5

The base ReportListener class has several properties that control the way reports are processed. Here are a few common ones.
<snip>
PrintJobName: This property indicates the name used when the print job is output to the printer queue. It is also used in the title bar of the preview container.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform