Solved

Printing to a novell queue

Posted on 1998-10-05
2
182 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

772 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

11 Experts available now in Live!

Get 1:1 Help Now