Solved

Printing to a novell queue

Posted on 1998-10-05
2
200 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…

820 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