Solved

Printer banner page

Posted on 1998-02-17
6
220 Views
Last Modified: 2010-04-10
How do I turn off the printer banner page PROGRAMMATICALLY in a Windows 95 app using a printer on a Novell network?
0
Comment
Question by:gscott1
  • 3
  • 2
6 Comments
 
LVL 22

Expert Comment

by:nietod
ID: 1182398
I believe...

you go to my computers and open up printers
then right click on the printer and select poperties
then on the general tab set "seperator" to "none".

I'm not 100% sure that is right.  Try it
0
 
LVL 32

Expert Comment

by:jhance
ID: 1182399
nietod,

This might not do it as it's not only possible, but likely that the banner is being generated by the Novell server and not from Win95.  

gscott1,

If nietod's suggestion doesn't work, and you are NOT the administrator of the Novell system, you should have a talk with that person and see if it's possible to accomodate.  If you are the administrator, you should know the answer to this question already.
0
 

Author Comment

by:gscott1
ID: 1182400
Edited text of question
0
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 22

Expert Comment

by:nietod
ID: 1182401
Programatically, why didn't you say so?
I don't know...
0
 
LVL 22

Expert Comment

by:nietod
ID: 1182402
jhance,
    Windows 95 does a good job of controlling Novell.  You can turn banners on or off from a workstation.  (You can set up and share hard disks, modems, scanners, and printers.  None of which is possible under novell 3--without windows.) I just wasn't sure If the setting I found ("seperation") was the right thing.
0
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 1182403
If you want to do it programmatically, then you need to alter the registry value called "Separator File" under the key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Print\Printers\<NAME_OF_YOUR_PRINTER>

You need to use the RegSetValueEx() Win32 API call to set this.  If you know the name of the printer ahead of time, you can just go right to the right key.  If not, then you need to enumerate all of the keys under:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Print\Printers

using RegEnumKeyEx() to find the one you need.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

815 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

8 Experts available now in Live!

Get 1:1 Help Now