Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Printing to a novell queue

Posted on 1998-10-05
2
Medium Priority
?
224 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 300 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…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

916 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