?
Solved

Printing to a novell queue

Posted on 1998-10-05
2
Medium Priority
?
220 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
[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 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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

718 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