Solved

WordBasic/VB4  ->FilePrintSetup Problem

Posted on 1997-03-24
1
470 Views
Last Modified: 2012-08-14
I have the following...
Dim wordobj as Object
Set wordobj as CreateObject("Word.Basic")
wordobj.FileOpen "filename"
wordobj.FilePrintSetup Printer:="PS1"

No matter if I have a local printer or a network
printer, I get an error saying there is a printer
error?!?!

I am using Windows95, VB4, MicrosoftWord v7.0
Am help would be appreciated.
0
Comment
Question by:billhunt
1 Comment
 
LVL 2

Accepted Solution

by:
dirkmartin earned 50 total points
Comment Utility
I tried this on my machine, and I too get the printer error, unless I use my correct printer name.  Then all goes well.  It must not be PS1.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now