Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxing multiple reports
Message
From
21/11/2001 10:40:23
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00583891
Message ID:
00584494
Views:
38
>Actually, it's not in a number of circumstances; DIRPRTCLASS was written to
>get around problems related to certain types of print queue errors, and to
>execute in an asynchronous fashion (if you look back in the FAQ and WinAPI
>sections, you'll find I did the writeup on CopyFile() as well.) DIRPRTCLASS
>actually creates a spool queue entry rather than copying the content of a file
>to a port or UNC, which can create problems in certain spooler situations like
>some versions of the NetWare client introduce, or if you want to address a
>printer that isn't identified by either a DOS port name or UNC, but instead by
>a Windows Printer name. It's not a pure isomorph of RAWPRINT.VCX, either,
>which uses some of the same API calls, but has a different interface
>philosophy.
>IAC, both CopyFile() and DIRPRTCLASS use writes to the target printer that
>avoid the interposing of the GDI in the process; one works at the port level
>and the other at the spooler level.

Ok, I understand that there are differences. But essentially, when none of the mentioned problems arise, FileCopy() suffices in my situation, I guess. Or is sending to the spooler rather than to the port part of the solution in my situation?

>You could use the MS-supplied Fax Printer driver used by MS Fax to format
>output prepared for output to a file and then take the files and queue them to
>the Docuprinter - this is the approach I take here at home to concatenate
>files into a single fax document for output through my Canon MultiPASS L6000
>to fax rather than print.

I've got that picture in my head, that the currently selected printer driver determines the set of printer control codes that will be included in the file. E.g. when the printer uses PS3 then Postscript printer control codes will be used, when the printer uses PCL then PCL codes will be used, etc. (I always take care that no printer definition is present in Tag/Tag2.) Is this 'picture in my head' correct?
If so, what set of control codes will be used in the file when that printer driver is MS Fax? Or is there a universal set of 'fax' control codes that's used both by MS Fax and the fax-enabled printer?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Reply
Map
View

Click here to load this message in the networking platform