Solved

Print to Novell queue

Posted on 1997-09-08
4
258 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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…

739 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