Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending report to a printer other than default
Message
 
 
To
21/11/2001 14:43:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00584660
Message ID:
00584669
Views:
25
This message has been marked as a message which has helped to the initial question of the thread.
Try following:
1. Change page setup to the first (duplex) printer
2. Open .frx as a table and blank out TAG and TAG2 fields in the first record and remove following driver related lines from EXPR field
DRIVER=
DEVICE=
OUTPUT=
3. Try to print to the first (duplex) printer
SET PRINTER TO NAME printer1
? SET("PRINTER", 3)
REPORT FORM ...
4. Open report again and change DUPLEX=2/3 to DUPLEX=1 in EXPR field and try to print to the second printer
SET PRINTER TO NAME printer2
? SET("PRINTER", 3)
REPORT FORM ...
In application you should copy .frx to the temp file, make changes to this temp copy and use it to print report instead of changing original report.

>I have a report that requires i send it to a printer that can do 2 sided printing, i have 2 such printers (canon iR600 series) when one printer is busy with a big print job i want to allow the user to select the second Canon to print to...
>
>however... in order for me to guarantee that the 2 sided property is set all the time i have to go into the reports page setup and select the 1st printer then select the 2 sided property, then save the report...
>
>once i do that i can no longer redirect this report to the 2nd printer.. it always prints to the 1st printer...
>
>i have tried the following to no avail:
>
>1) set prin to name getprin()
>
>2) mprinter=getprin()
> set prin to '&mprinter' ..or.. set prin to (mprinter) ..or.. set prin to
> defa and then set prin to (mprinter)
>
>3) =sys(1037) ..to let the user select the available printer and set the 2
> sided option..
>
>4) replaced the EXPR field in the report with the 2nd printers info and then
> blow away whats in the TAG and TAG2 fields
>
>when i change the page setup to my default printer (hp 5000) then i can print to the 1st and 2nd Canon printers but it doesnt change or save the 2 sided printing feature, so it always prints one sided....arggghhhhh....
>
>i am running VFP 6.0 on a win98 client using a winNT network.... if i have missed anything obvious i would appreciate some input and direction, thanks!!!
>
>happy thanksgiving...
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform