Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with using ??? in Windows 2000 printing
Message
De
05/11/2001 19:15:12
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
À
05/11/2001 18:35:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00577704
Message ID:
00577720
Vues:
21
>I develop a class to print in "native mode" in matrix dot printers because i need fast printing of some "massive" reports. I use a table with the command configuration for several printers, so when i create the object, i specify wich printer is. This class its based mainly in the use of the ??? operator to send codes to the printer. The class works fine except: a) in the windows 2000 the printing don´t start because i don´t know how to end the job (something like ENDDOC), b) some problems in the print queue management when i print with the windows driver.
>
>Any one have any suggestions???

Resetting the default printer has always worked, and I don't believe it would be broken now. Try to issue "Set Printer To" without parameters. It would close the current printjob. Also, try to send a formfeed to the printer in the end.

Alternatively, you could send all the printcodes to a file, and then use the Rawprint class (available here in the downloads, http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation~2,54,Forum=5,28,1069) to print that file.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform