Solved

Printing to a novell queue

Posted on 1998-10-05
2
195 Views
Last Modified: 2010-04-30
When i print (at home) directly to my printer everuthing works fine.
When at work i print to a newtware print queue (a captured lpt1) i get no print at all.
My program hangs after sending the first bytes to the printer.

I am using the 'normal' printer.print syntax
0
Comment
Question by:amannien
2 Comments
 
LVL 12

Accepted Solution

by:
mark2150 earned 100 total points
ID: 1438222
Your normal print.print syntax is not the problem. A DOS based CAPTURE has no effect on win95. You need to assign windows print devices to the printers and not try via DOS. VB renders the page to an internal "meta printer" and then ships it off to the windows based device. So windows needs to point to a print queue for everything to work.

M

0
 

Author Comment

by:amannien
ID: 1438223
The problem was not the capture.

I solved the problem by sendeing an printer.page before the printer.enddoc.

Now it works fine.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

776 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