Solved

Print to Novell queue

Posted on 1997-09-08
4
253 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

758 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

21 Experts available now in Live!

Get 1:1 Help Now