473,417 Members | 1,394 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,417 software developers and data experts.

Print to a file?

Ron
Hi All,

Is it possible to have Access print a report, identical to one that would
print to a printer, only print to a "standard" text file? I can't find it
in help and when I try to just print to a file (in the printer selection
screen of the print routines) it gives me a file named what I wanted, but is
just garbage. Can't read it.

TIA
ron
Sep 12 '06 #1
7 2596
"Ron" <ro********************@verizon.netwrote in
news:d_HNg.11755$OI1.5681@trnddc05:
Hi All,

Is it possible to have Access print a report, identical to one
that would print to a printer, only print to a "standard" text
file? I can't find it in help and when I try to just print to
a file (in the printer selection screen of the print routines)
it gives me a file named what I wanted, but is just garbage.
Can't read it.

TIA
ron
No you can't "Print" to a file because the file will contain all
the printer formatting codes.

You can, however "Save As" text the contents of the report.

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Sep 13 '06 #2
Ron wrote:
Hi All,

Is it possible to have Access print a report, identical to one that would
print to a printer, only print to a "standard" text file? I can't find it
in help and when I try to just print to a file (in the printer selection
screen of the print routines) it gives me a file named what I wanted, but is
just garbage. Can't read it.

TIA
ron

Hi Ron,

Will this do the trick? It's not "standard text", but it is identical to
what the printer would see. It simply creates a PDF of anything you care
to print, from any application:

http://sourceforge.net/projects/pdfcreator/

P.s. I love that thing...
--
Smartin
Sep 13 '06 #3
Ron

"Bob Quintal" <rq******@sPAmpatico.cawrote in message
news:Xn**********************@66.150.105.47...
"Ron" <ro********************@verizon.netwrote in
news:d_HNg.11755$OI1.5681@trnddc05:
>Hi All,

Is it possible to have Access print a report, identical to one
that would print to a printer, only print to a "standard" text
file? I can't find it in help and when I try to just print to
a file (in the printer selection screen of the print routines)
it gives me a file named what I wanted, but is just garbage.
Can't read it.

TIA
ron
No you can't "Print" to a file because the file will contain all
the printer formatting codes.

You can, however "Save As" text the contents of the report.

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com
Hi Bob...thanks for the response.

Possibly I don't understand. I've tried "save as". What I get after I run
the report (to preview) and click on File/Save As is I get the file name for
the report, which of course I can change, but then I can't get down to "as",
which is at Report. If I change the name, and click save, I get another
copy of the format for the report--the one I designed. Not the data I need
in the text file. Am I missing something?

ron
Sep 13 '06 #4
Ron

"Smartin" <sm********@yahoo.comwrote in message
news:25******************************@giganews.com ...
Ron wrote:
>Hi All,

Is it possible to have Access print a report, identical to one that would
print to a printer, only print to a "standard" text file? I can't find
it in help and when I try to just print to a file (in the printer
selection screen of the print routines) it gives me a file named what I
wanted, but is just garbage. Can't read it.

TIA
ron

Hi Ron,

Will this do the trick? It's not "standard text", but it is identical to
what the printer would see. It simply creates a PDF of anything you care
to print, from any application:

http://sourceforge.net/projects/pdfcreator/

P.s. I love that thing...
--
Smartin
Thanks for the response, Smartin.

Unfortunately, I do need just a text file, not a PDF. I'll look at this for
another purpose but for the one I'm butting up against now, I need just a
straight text file that looks identical to the report I've laid out.
Unfortunately, it's needed to print a pre-printed form but I've got a
company that can transfer a text file I send (that looks like that report)
to something else that's needed.

ron
Sep 13 '06 #5

"Ron" <ro********************@verizon.netwrote in message
news:d_HNg.11755$OI1.5681@trnddc05...
Hi All,

Is it possible to have Access print a report, identical to one that would
print to a printer, only print to a "standard" text file? I can't find it
in help and when I try to just print to a file (in the printer selection
screen of the print routines) it gives me a file named what I wanted, but
is
just garbage. Can't read it.

TIA
ron

2 things to try, Not tested. Both will need text friendly report formatting.

1) Export the print preview to Word (Will remove lines, graphics ect) then
save the Word doc as text (Will remove tabs).

2) Install the Generic Text print driver in from Windows. Format your report
for text. Check "Output to file" in the printer dialog box.
Sep 13 '06 #6
"Ron" <ro********************@verizon.netwrote in
news:wqVNg.9006$xC3.913@trnddc06:
>
"Bob Quintal" <rq******@sPAmpatico.cawrote in message
news:Xn**********************@66.150.105.47...
>"Ron" <ro********************@verizon.netwrote in
news:d_HNg.11755$OI1.5681@trnddc05:
>>Hi All,

Is it possible to have Access print a report, identical to
one that would print to a printer, only print to a
"standard" text file? I can't find it in help and when I
try to just print to a file (in the printer selection screen
of the print routines) it gives me a file named what I
wanted, but is just garbage. Can't read it.

TIA
ron
No you can't "Print" to a file because the file will contain
all the printer formatting codes.

You can, however "Save As" text the contents of the report.

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Hi Bob...thanks for the response.

Possibly I don't understand. I've tried "save as". What I
get after I run the report (to preview) and click on File/Save
As is I get the file name for the report, which of course I
can change, but then I can't get down to "as", which is at
Report. If I change the name, and click save, I get another
copy of the format for the report--the one I designed. Not
the data I need in the text file. Am I missing something?

ron
New versions of Access have Export.... instead of Save As....
--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Sep 13 '06 #7
Ron

"paii, Ron" <pa**@packairinc.comwrote in message
news:S7******************************@athenet.net. ..
>
"Ron" <ro********************@verizon.netwrote in message
news:d_HNg.11755$OI1.5681@trnddc05...
>Hi All,

Is it possible to have Access print a report, identical to one that would
print to a printer, only print to a "standard" text file? I can't find
it
in help and when I try to just print to a file (in the printer selection
screen of the print routines) it gives me a file named what I wanted, but
is
>just garbage. Can't read it.

TIA
ron


2 things to try, Not tested. Both will need text friendly report
formatting.

1) Export the print preview to Word (Will remove lines, graphics ect) then
save the Word doc as text (Will remove tabs).

2) Install the Generic Text print driver in from Windows. Format your
report
for text. Check "Output to file" in the printer dialog box.

The Generic Text print driver suggestion above did the trick. Still a bit
off but I think it'll do the trick. The differences in how it prints to a
printer and a file using this driver seem to be associated with previous
data on the same line of print (it prints some of the following fields on a
line, every time, one character to the left). Dunno why that would be, but
there it is. I'll see if the receiver of the file can get around that
problem as no sort of adjustment I make to the data and/or positioning will
change where the following fields are placed. No adjustment except take the
previous stuff on a line completely out, which I can't allow.

Thanks for the tip!
ron
Sep 19 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Manfred Schwab | last post by:
Recording messages and print statements in a textfile during program execution. Is there a similar command to redirect errormessages or print statements into a standart asciifile during...
1
by: hamil | last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview control, the PageSetup control, and the Print dialog control. The code attached is a concatination of two examples taken out...
3
by: Max58kl | last post by:
Trying to access data and print it to the screen using Perl Builders I/O Window -------------------------------------------------------------------------------- Hi I am using a program called...
3
by: itdaddy | last post by:
hey perl gurus! i am new to this forum cause i need help. I have done many scripts. but i want to use perl to do this: What I want to do is this. I have a QRP file that I can convert to a txt...
2
by: alivip | last post by:
when I wont to inser (anyting I print) to the textbox it will not inser it just print then hanging # a look at the Tkinter Text widget # use ctrl+c to copy, ctrl+x to cut selected text, #...
12
by: Studiotyphoon | last post by:
Hi, I have report which I need to print 3 times, but would like to have the following headings Customer Copy - Print 1 Accounts Copy - Print 2 File Copy -Print 3 I created a macro to...
5
by: prakashturkar | last post by:
Hi, I am Prakash.... I have tried to print an MS Word file using the basic print utilities provided in JAVA.But while asking for printing through my own code i am getting proble for example..."The...
2
by: dmorand | last post by:
When I try to print a 'print version' of my page it looks fine in IE 7, but when I print in IE 6 the margins are all screwed up. The page itself looks the same in both browsers, it's just when I...
11
by: JWest46088 | last post by:
I'm having difficulty trying to figure out how to print a text file from a hash table one line at a time. I have the text file read into the hash table and can print the text file all at once, but I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.