| | |
question from newbie
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
Look, "Epson Ex-1000" is the default printer for windows in all versions. It is the printer which anybody can use even if they don't physically have any printer installed to see the print preview. Now if you wish to change this printer setting to something else you've to first tell windows to what printer you want to switch on. You can write code to extract all printer names which are currently installed in a combo box. After that you select a printer and change to it. In this case you don't need to display the printer dialog box.
•
•
Join Date: Aug 2006
Posts: 20
Reputation:
Solved Threads: 1
All your PRinters are listed in the printers collection.
The VB6.0 code would be
Sub Select_A_PRinter()
Set Printer = Printers("Your Printer Name")
End Sub
The VB6.0 code would be
Sub Select_A_PRinter()
Set Printer = Printers("Your Printer Name")
End Sub
•
•
•
•
Which country are you referring to ? We don't get this as default in any version of windows, except maybe Windows 3.0
Please fill me in.
Denis
Belonging to some other country than you are won't change windows default printer from "Epson Ex-1000" to something else. It is the universal settings from Microosft which a few people know. You can only use this printer setting to make the print preview option functional while working in some text editors,word processors like notepad,wordpad,Ms-Word,etc. but cannot print anything. Windows doesnot automatically detect and install this printer. To install this printer setting you have to install all associated files from the installation disk of the version of windows which you've installed. To install this printer you can follow these steps :-
Insert the windows installation disk->goto control panel->printer->add new printer->select appropriate port->then from the printer selection screen click Epson from manufactures list and then select Epson Ex-1000 from printers list. After this clicking OK will install all necessary files for this printer onto your computer. Now if you goto print preview option of any text editor such as notepad you can see that option is working. I assume that you should know without installing a printer you cannot use the print preview option within any text editors. This printer setting is recommended for users who donot physically have any printer installed with their machine.
Hope this will clear your idea.
Regards
Shouvik
![]() |
Similar Threads
- Timer question: Scoreboard (VB.NET)
- Windows won't start...can i save my files?? (Windows NT / 2000 / XP)
- Yellow flashing question mark/ "X".....GRRRRRRR (Viruses, Spyware and other Nasties)
- a simple question{dynamically create object} (C++)
- Newbie Question - How to generate a link (PHP)
- Router Security Question... (Networking Hardware Configuration)
- SQL search query (PHP)
- MERGED: Deleting duplicates in an array (plz help me out!!!!!!!) (C)
- error checking help (C)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: How Can i use Photo field in DataReport
- Next Thread: Help-->SQL Statement in vb6 for getting total of Field
Views: 1264 | Replies: 7
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





