Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>Hi
>>
>>
>>i create a file from "REPO FORM PRICE_LIST TO FILE F_PL"
>>
>>
>>That file "F_PL" will send to my client to print it by himself.
>>
>>i had try to use "COPY F_PL PRN" in dos mode to print it out by my standalone PC, it work in fine.
>>
>>But my client's PC was run on LAN, access the command "COPY F_L PRN" will appear below message on screen
>>
>>"Write fault error writing device PRN"
>>Abrot, Retry, Ign...
>>
>>I had try to change it to "LPT1", but same result.
>>
>>And i had try to move the "F_PL" icon into the LAN printer,
>>The system will view the file by "Notepad" then print it out.
>>But full of printer control code will print too..
>The file F_PL contains all the printer code for the printer used when developing the report - code that tells the printer fonts, fontsize, bold/italic, etc. Printing will ONLY work if you send it to the same type of printer (as Vlad said), and the printer codes will show up if you open the file with a text editor. Sometimes the DOS TYPE command will work better than the COPY command.
>
>Barbara
>
You may also try to print to the logical port of the network, e.g.
copy F_PL \\printserver\myprinter (in DOS)
or RUN copy .......... (in FoxPro)
or COPY FILE F_PL TO \\printserver\myprinter (in FoxPro)
I don't know if it is possible to open the port with the fopen() function, and write to it using fwrite()
If you have NOVELL, you may try and use a CAPTURE command.
Hope this helps...
Marc Van Riet
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement