Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Printer to Command error
Message
From
27/03/2005 09:47:56
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Set Printer to Command error
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00999329
Message ID:
00999329
Views:
66
SET PRINTER TO NAME

From the VFP9 Help file:

TO [DEFAULT | NAME WindowsPrinterName]


Sends printer output to the default Windows printer or to a specific Windows printer.
Note:
Windows printer names are stored in the Win.ini file.


This last line is a load of crap.

I have checked my Win.ini both on my local computer and at work (XP OS) as well as on WIN2003 Server (Terminal Services) and there is NO mention of the printer name in the WIN.INI

GETPRINTER() gets the list from the registry but win.ini?

Also if the printer info is not stored in the report, how then does one get the report to print duplex when the printer supports that mode without force setting the printer?

I have saved a report without the printer settings and all that is saved is:
ORIENTATION=1
PAPERSIZE=9
COLOR=2

Where is the duplex info if I need to print this way?

And with the setting on:

DRIVER=winspool
DEVICE=Ricoh RX25443
OUTPUT=USB001
ORIENTATION=1
PAPERSIZE=9
COPIES=1
DEFAULTSOURCE=1
PRINTQUALITY=600
COLOR=2
DUPLEX=2
COLLATE=1

However now info is stored in TAG and TAG2 fields as well.

If I remove this and keep the settings in EXPR will those settings work?
Next
Reply
Map
View

Click here to load this message in the networking platform