-
Feb 7th, 2025, 02:23 PM
#1
Thread Starter
Hyperactive Member
Dummy Printer
I need a dummy printer.
I need to debug my VB6 app that prints.
Where can I find a dummy printer or something that will look like a printer (8x11) that will respond like a printer,
Viewing the dummy printer page is optional for me.
And NO, the PDF that shows up in the printer dialog is no good as it interrupts things asking for a filename so that is out.
Also I do not need to have to delete a bunch of files PDF after my app run.
My app selects the printer (dialog not needed) and prints 8x11 page.
If I can get the PDF printer to auto name and skip the filename dialog that might be a solution, but a poor one as that means I have to maintain that code in my app.
The PDF printer reacts differently when printing to it from the IDE run vs in the compiled .EXE.
-
Feb 7th, 2025, 02:38 PM
#2
Re: Dummy Printer
Do you want to access this printer on the internet or is it somewhere in your LAN? Do you plan to block access to it at some point?
cheers,
</wqw>
-
Feb 7th, 2025, 02:48 PM
#3
Re: Dummy Printer
@LorinM You can set up a Null Printer in Windows. You can find some instructions on the Internet on how to create this Null Printer.
-
Feb 7th, 2025, 04:20 PM
#4
Thread Starter
Hyperactive Member
Re: Dummy Printer
I do not want to access any physical printer.
I just need an option in the printer dialog or access through Printers that i can print to and possible get an image poping up. PDF available will not work.
Other suggestions please.
Or how to make a VB6 access Printer just automatically print to an EMF file. That's ideal.
-
Feb 7th, 2025, 04:22 PM
#5
Thread Starter
Hyperactive Member
Re: Dummy Printer
If I have a picturebox, with images and text how to print to an emf file ?
-
Feb 7th, 2025, 04:26 PM
#6
Thread Starter
Hyperactive Member
Re: Dummy Printer
Needs to work on Windows 7 Pro at a minimum.
-
Feb 7th, 2025, 04:38 PM
#7
Thread Starter
Hyperactive Member
Re: Dummy Printer
Give me a little help on this idea.
When i try to print I see if I have selected some printer (one that is installed and dead or a duplicate dead or never used for this app) and detect it with printer.devicename then if detected, set the code to a savepicture routine or some VB6 code to popup another picturebox with the picture from the original picturebox. the "dummy printer picturebox" can be reused over and over during development. Adds code but what else can i do ?
A little code help please.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|