Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can't print a Screen Dump with FP2.6DOS / Windows95/Novell

Status
Not open for further replies.

klc

Programmer
Nov 7, 2000
5
US
Using Foxpro2.6/DOS in Windows95/Novell. I can send a screen dump to the printer Que with Shift/PrintScrn. However, it just sets in the printer Que "spooling" until I exit completely out of FoxPro2.6/DOS, and then it prints immediately. I have a "free ware" program called PrintNow but it does not do anything with a DOS program. Any ideals? Thanks.
 
While I haven't tried this, I've found most spooled print queue problems in FPD running under Windows can be solved by issuing a "SET PRINTER TO" statement (sometimes you need to do it twice - not sure why but it's never seems to hurt). You could try adding a Menu item or Hot-Key (OKL) to perform this functionality for you, and see if it helps.

Rick
 
There is a Novell solution to this kind of thing. The problem is that with DOS apps, netware has to guess what represents a completed print job, because DOS doesn't tell it. The behaviour you are seeing is Novell's "safe" option: you can be pretty sure a print job is finished when the application exits, but not before.
Novell provide a flag for dealing with this. How you use it depends on how you capture the printer ports:

You have got Dos programs to print either by having issued a
Code:
Capture L=1 Q=QueueName
, usually in the login script, or through the Windows Gui, by right clicking on Network Neighbourhood, bringing up the "Capture Printer Port" Dialog.

To deal with the problem you have, try the Timeout clauses in the capture command.
Code:
Capture L=1 Q=QueueName Ti=5

Timeout is in seconds, and has to be a bit longer than the longest pause in printing during a job. If necessary, increase timeout until it works.

In the Windows Gui, the timeout is set under the "Settings" button on the Capture Printer Port dialog

Setting a timeout should solve your problem.
 
Thanks for the information. I tried all of them but here is what worked.

Right-click on the Shortcut. Chose Properties/ScreenTab. Select the radio button "Window" and then the DOS program will open inside of Windows and allow all of the windows functions. Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top