Solved

How do I create a NULL printer that really doesn't print.

Posted on 2004-10-06
11
1,772 Views
Last Modified: 2008-02-01
I have a program that generates an ASCII copy of a printed output, but I don't want the hardcopy.  I could pause the printer and empty the queue occassionally, but I'd rather create a Null printer which I could print to without the queue filling up.  Does anyone know how to create a virual printer that doesn't kick out error messages and doesn't put ink on paper?

I have seen a wiring diagram for a 25pin adaptor that immitates a printer but just ditches the print job, I was wondering whether there is a sofwtare solution.  Using Windows 2000 / WinXP.

Thanks,
Graeme.
0
Comment
Question by:BleedinFingers
11 Comments
 
LVL 2

Expert Comment

by:visualcoat
ID: 12238278
0
 
LVL 8

Expert Comment

by:ilovemykeyki
ID: 12238670
What about adding a dummy printer??? Or what you called a dummy printer...but this one prints the document on a file?

Go to this link.

http://www.docunetworks.com/print_univ/printme.html

Regards.
0
 

Author Comment

by:BleedinFingers
ID: 12238811
Hi.

I liked your link ilovemykeyki, but its not what I need.  I don't want a graphic or any other file output from the printer as the program I'm printing from creates an ASCII output with appropriate filenaming.  I need Windows to think its finished printing without actually printing.  I don't want popup prompts or a build up in my print queue.

Any other ideas?
0
 
LVL 11

Expert Comment

by:turn123
ID: 12239456
BleedinFingers,

I currently do something similar with the pdf995 and PdfEdit995 http://www.pdf995.com/.

I have it set up to print the file to the one PDF file each time.  There are no prompts, warnings, or things building up in the print queue.  The last print job is saved as a PDF file on your system.  Is this something that would work for you?

Turn123
0
 
LVL 3

Expert Comment

by:RobMurota
ID: 12239627
Postscript level drivers will allow you to print to "file" as an option rather than to "printer" leaving the printer que empty as if it had printed to the printer. This leaves a .ps file somewhere of your choice.
0
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 

Author Comment

by:BleedinFingers
ID: 12240788
Hello again.  Interesting answers but not what I'm looking for, all the answers so far invlove the creation of a file instead of hardcopy.  I was wondering if Windows was able to copy with the concept of a printer that doesn't exist rather than queue the print jobs for ever until someone plugs some hardware in.

I tried making an adaptor as described here http://www.hut.fi/Misc/Electronics/circuits/nullprint.html but it didn't work, perhaps my soldering isn't too good...

Any more suggestions?

G.
0
 
LVL 1

Expert Comment

by:Andrewhsia
ID: 12242229
Why can't the print to file work for you. Select where to print to, and have a win at job delete the files in that folder every hour. No build up. If the other program will leave the name the same, then worst case you have one file to delete.
0
 
LVL 31

Accepted Solution

by:
moorhouselondon earned 500 total points
ID: 12242719
You nearly answered your own question!

There is a port called NUL:

In Printers create a new local port called NUL.  (Not sure whether this works for W2K or XP, I'm sitting at a W98 pc at the mo and it works for that).
0
 
LVL 24

Expert Comment

by:SunBow
ID: 12243693
I agree with moorhouselondon, you want null, use null

from early DOS it was named NUL
you could redirect as in
> NUL
Print MyFile >NUL
I think PRN would equate to it as well, but since windows days of more space, I haven't tried either.
You can try to print to file named nul (print config) but I think some OS may actually create the file due to some bug or "feature"

>to copy with the concept of a printer that doesn't exist
This, IMO is in SW as an LPT1, for which you may have port but need no printer, due to assignability, definitions either in the .ini or .reg entries.
0
 
LVL 24

Expert Comment

by:SunBow
ID: 12243710
> I tried making an adaptor as described

fun game, if you want simple null hw on the cheap, why not go like radio shack? get prebuilt cheap little plug, use time saved to go surf.
0
 

Author Comment

by:BleedinFingers
ID: 12246631
Excellent.  Thank you very much.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This video will demonstrate how to find the puppet warp tool from the edit menu and where to put the points to edit.
Viewers will learn how to use the Hootsuite Dashboard.

929 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

10 Experts available now in Live!

Get 1:1 Help Now