Solved

Print to Novell queue

Posted on 1997-09-08
4
254 Views
Last Modified: 2013-12-03
In a 16-bit program (Borland C) I need to print to a Novell printer queue. The program runs on a Windows NT 4.0 workstation, LPT1: is connected to the right Novell queue, but when trying to print to LPT1: (!!!using the Windows communication API functions (OpenComm, etc.) !!!) this results in an error when calling BuildCommDCB().
(How) can I print to a (Novell) print queue from within my 16-bit Windows application ?
0
Comment
Question by:parlando
  • 2
  • 2
4 Comments
 

Author Comment

by:parlando
ID: 1406127
Adjusted points to 250
0
 
LVL 3

Accepted Solution

by:
vinniew earned 250 total points
ID: 1406128
The Windows API functions are too low level to let the NetWare redirector work.  You may as well create a text file and do a WinExec to "print".

V

0
 

Author Comment

by:parlando
ID: 1406129
I already was afraid that the answer might be something like that, but since you're the only person that has answered the question, and it's always good to see your thoughts confirmed,
your reaction shall be rewarded.

Marc
0
 
LVL 3

Expert Comment

by:vinniew
ID: 1406130
I used to know the NetWare SDK reasonably well.  You could always make things more complex and try to use the NetWare 16-bit DLL's and WNet... MS API calls to find, attach, and command a NetWare printer object.

Then again, why stop there?  Why not write your own printer driver using NCP calls?  That only takes 3000 man-hours :)

Really, though, the simple solution is usually the best.  This isn't going to be commercial software anyway, right?

V
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
With most software applications trying to cater to multiple user needs nowadays, the focus is to make them as configurable as possible. For e.g., when creating Silverlight applications which will connect to WCF services, the service end point usuall…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

930 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