Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set print command in dbase iv 1

Status
Not open for further replies.

dstavers

Technical User
Jul 16, 2005
4
US
I want to set my printer to a network printer. The command is: "set printer to \\computer\printer = destination".
What are they asking for exactly. I got the \\computer\printer part but what is the "destination"?
thanks, David
 
SET PRINTER TO <destination> means "Where do you want to print to?"

SET PRINTER TO SCREEN - displays on screen

SET PRINTER TO myfile - prints to a file called myfile.prn

Hope this helps

**********************************
There is more than one way to skin a cat...but who wants a skinned cat?
 
My dBaseIV manual shows the SET PRINTER TO <device> command, not SET PRINTER TO <device> = <destination>. I believe Ormsk is saying use something like:

SET PRINTER TO \\computer\printer

where \\computer\printer IS the destination.

hth.
 
Thanks guys, but.. can you show me the exact syntac (sp?) for setting the printer to a network printer?

dBaseIV help says: "set printer to \\computer\printer = destination"

Just entering "SET PRINTER TO \\computer\printer" returns an error, it really wants something after the "=". (I, of course use the real computer and printer names)

David
 
Have to admit I'm not certain this still applies to modern operating systems,but:

SET PRINTER TO \\MyServer\MyPrinter=LPT1 && associate the network printer with a port or spooler
REPORT FORM MyReport TO PRINT && create a print job
SET PRINTER TO && Signals the queue this job complete

In my days with early Netware networks, I'm remembering I had to issue a !SPOOL command from netware to direct the print job.

hth
 
thread290-716308 How to use Windows' NET USE with dBase's SET PRINTER TO
 
Thanks 1oldfoxman. You solved the problem!
David
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top