Hi cricket!
After I create the file, I direct it to the printer with SET DEVICE TO PRINTER, no problem. But the only way I could print is creating a file and then printing it with DOS commnad.
IF I place @ or ??? with set device to printer, nothing happends. But nothing happens because I use...
Hi Rob444!
Thanks for your attention...
I tried what you´ve said but the printer only starts printing if I send a DOS command like print or type. Nothing happends if I only write @ say or ???.
Any other idea?
1- Write a small DOS program to setup the printer...
But the variables of the report are written in the FILE too...
2- run a program before your Foxpro report....
And where I would write the variables (data)?
3 - the same...
The problem is this, the data are togheter with the printer...
I have a RABBIT printer that has its own language.
I have to send the parameters and data to the printer in its own format.
For exemple:
set printer to LPT1
set device to FILE
@ 0,0 say chr(02) + "L" + chr(13)
@ 0,0 say chr(02) + "KI70" + chr(13)
@ 0,0 say "H12"
@ 0,0 say "CODE" + variable
and...
Could you help me, please?
I´ve created a database with a memo field.
But in Fox Pro, is it a radio button, checkbox, popup?
What kind of field is it in FP?
Solution found....
You should insert something into text/image column before copy text/image into it. I mean, this value should not be null. You should write (for example):
INSERT INTO [dbo].[images] VALUES ('1', 0x0, null)
instead of:
INSERT INTO [dbo].[images] VALUES ('1', null, null)...
I created a table named teste in Northwind database.
id Char(10)
photo image
textcopy /S sqlserver /U nome /P pass /D northwind /T teste /C photo /W where id = '1' /F c:\file.bmp \I \Z
It returns:
Error:Text or image pointer and timestamp retrieval failed.
I´m using the command line "textcopy" to store images in a table. But the textcopy returns:
Text or image pointer and timestamp retrieval failed.
What is wrong?
Could it be the foxuser.dbf or foxhelp.dbf?
The application does not even shows the menu options...and I´m not using any dbf.
The message "Record not available" is in the same line as the INS and NUM.
It happened 2 times this month and the application is running since 1999.
I could not find an answer for this question in FAQ.
My applications uses:
REPORT FORM report.frx NOCONSOLE TO PRINT
and if the printer is USB, it returns "Printer not ready".
Is there a solution?
Vivi
Yes, it´s FP 2.5b.
The only thing I did was to create a screen picture field and select a picture from a file. But like this, the picture does not change. It is always the same file. I wanted the picture to change as I changed the products.
Thanks,
Vivi
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.