Mike,
I had an very similar issue. Whenever the PDF file became 1k it meant
the PDF file name was created and stored in a sub directory but the
actual PDF file contents did not get created or was corrupted. There was
always some command in the pipes that was not correct or errors in the
report. Use 'Option PDF' to create the PDF. Then use a PDF viewer to
open the file to save, erase, or print it.
Tom Frederick
On 9/18/2010 6:59 PM, mike epstein sony viao office wrote:
Mike
I am printing to a folder 'pdfdocs' located in sub folder of my application
just as I always have, I do have acrobat 9, I am not sure if it is full or
not. I must re-state that the file will print to printer and screen . The
problem occurs when I check the 'print to file' option and give the document
a filename.
the filename that is printed is 1kb and if an attempt is made to open the
file . an error message appears that states
'There was an error this file is already open or in use by another
application'. There are no files open.
There was also some mix up about the version of rbase extreme used, In fact
I did go to the update to make sure that I am using the current version and
build. I believe it is R:BASE eXtreme 9.0 (64), U.S. Version,
Build: 9.0.3.10910. Please correct me if I am mistaken.
Also I was wondering what is the meaning of<G>
I do appreciate all of the polite replies of those who have been sincere in
helping me with this problem
Mike epstein
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Mike Byerley
Sent: Saturday, September 18, 2010 2:35 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: printing report to pdf
Mike,
I use your code but with a different report obviously, but it prints
perfectly.
I have acrobat 9 (full).
What version of acrobat is installed on the computer you are using?
Also, the filesize is suspiciously small at 1k.
Are you printing to a directory where you have write permission?
----- Original Message -----
From: "mike epstein sony viao office"<[email protected]>
To: "RBASE-L Mailing List"<[email protected]>
Sent: Saturday, September 18, 2010 3:03 PM
Subject: [RBASE-L] - Re: printing report to pdf
Razzak
While in Report Designer, are you able to [Preview] the report?
preview works in designer
Are you able to PRINT the same report with OPTION SCREEN?
yes
Are you able to PRINT the same report with OPTION PRINTER?
yes
What is the exact syntax you are using, including the OPTION for
|FILENAME"?
The command is
PRINT BID2FBTXT +
WHERE bidnum = .vbidnum OPTION SCREEN +
|WINDOW_STATE MAXIMIZED +
|ZOOM_TYPE PERCENTAGE +
|ZOOMPERCENT 100 +
|THEMENAME R:BASE ROCKS!
RETURN
From the screen I use the 'print to file option and give it a
'filename.pdf
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of A. Razzak
Memon
Sent: Saturday, September 18, 2010 11:21 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: printing report to pdf
At 11:37 AM 9/18/2010, mike epstein sony viao office wrote:
I am experiencing a problem when trying to print a report to a
pdf file. When the pdf prints the file is only 1 kb and when I
attempt to open the file an error message appears that states
'There was an error this file is already open or in use by anther
application'. There are no files open. I have used this feature
many times I am using R:BASE eXtreme 9.0 (64), U.S. Version,
Build: 9.0.3.10910.
Mike,
A few questions ...
While in Report Designer, are you able to [Preview] the report?
Are you able to PRINT the same report with OPTION SCREEN?
Are you able to PRINT the same report with OPTION PRINTER?
What is the exact syntax you are using, including the OPTION for
"|FILENAME"?
Answering these simple questions may also provide you with some
blue's clues ...
Very Best R:egards,
Razzak.
P.S. I also recommend to use the updated builds of R:BASE eXtreme.
http://www.rupdates.com