RE: printer path
From: Irfan Mumtaz (spamMe_at_spam.net)
Date: 03/02/05
- Next message: Irfan Mumtaz: "RE: printer path"
- Previous message: Irfan Mumtaz: "RE: printer path"
- In reply to: Crouchie1998: "RE: printer path"
- Next in thread: Irfan Mumtaz: "RE: printer path"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 2 Mar 2005 08:03:18 -0800
thanks for the reply, the source code was useful atleast to start with. I did
run the source code, however it is not able to SET the default printer
although it GETs the default printer.
what i need is set to change the printer settings for my program ONLY and
that too these settings should persist when i run the program next time.
i dont know if ur registry code will help, but do send me please.
thanks agian
irfan
"Crouchie1998" wrote:
> After replying to your post I done a quick search & came up with this:
>
> http://www.Planet-Source-Code.com/vb/scripts/ShowCode.asp?txtCodeId=1336&lngWId=10
>
> It lists the printers on the local machine & allows you to set the default
> printer easily.
>
> Instead of getting & saving the path, maybe this would be more beneficial to
> you. If not, post back & I will code you the registry part.
>
> "Irfan Mumtaz" wrote:
>
> > I dont have the printer path in VB.net, i also have it in vb6, but i need to
> > see how to convert it .
> >
> > Secondly, could u please explain a bit further on saving the printer path in
> > the registry. A bit of code will be really helpful.
> >
> > Irfan
> >
> >
> > "Crouchie1998" wrote:
> >
> > > Save the printer path in the registry
> > >
> > > Do you have the code to set printer path in VB.NET? I have it in VB 6 only.
- Next message: Irfan Mumtaz: "RE: printer path"
- Previous message: Irfan Mumtaz: "RE: printer path"
- In reply to: Crouchie1998: "RE: printer path"
- Next in thread: Irfan Mumtaz: "RE: printer path"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|