Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default PrintToFile param - what's the file format?

I tried using the PrintToFile parameter in the Worksheet.PrintOut method and I get files, but I can't seem to open them. Is this a weird printer format, or should I be seeing a workbook file here

Thanks

James
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 811
Default PrintToFile param - what's the file format?

"jstrater" wrote in message
...
I tried using the PrintToFile parameter in the Worksheet.PrintOut method

and I get files, but I can't seem to open them. Is this a weird printer
format, or should I be seeing a workbook file here?

Hi James,

When you print to file you get a file that is formatted in whatever
codes your printer understands. It's not meant to be human-readable. It's
generally used when you don't have a direct connection to a specific
printer. You can load the printer driver for that printer, print to file,
then stick the file on a floppy disk, take it to a machine that's connected
to that printer and send the file to the printer from the command line.

--
Rob Bovey, MCSE, MCSD, Excel MVP
Application Professionals
http://www.appspro.com/

* Please post all replies to this newsgroup *
* I delete all unsolicited e-mail responses *



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default PrintToFile param - what's the file format?

That's kind of what I figured, though I was hoping it would be something human viewable, for debugging purposes. Thanks for the info

--
James
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default PrintToFile param - what's the file format?

If you install the Generic Text printer and print to that, then you'll be able
to see the results in your favorite text editor.



jstrater wrote:

That's kind of what I figured, though I was hoping it would be something human viewable, for debugging purposes. Thanks for the info.

---
James


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
file format or file extension is not valid...error message Ballun Excel Discussion (Misc queries) 0 May 7th 09 09:06 PM
Format .txt file contents to numeric format will not work - help! Tacrier Excel Discussion (Misc queries) 3 October 7th 08 10:00 PM
Pivot Table Data Adding contents of two pivot tables and param que Roundy Excel Discussion (Misc queries) 0 July 2nd 07 10:20 PM
open a spreadsheet with param ITDUDE27 Excel Discussion (Misc queries) 1 April 19th 06 07:55 AM
CorruptLoad param of Workbooks.Open Microsoft Excel Programming 6 April 17th 04 10:50 PM


All times are GMT +1. The time now is 10:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"