HtmlEditor :  Phorum 5 The fastest message board... ever.

This is the discussion forum for the HtmlEditor. See also the HtmlEditor home page, where you can download the control, and the Documentation Wiki, a collaborative project for documenting the control.

Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
How to print to directly to a not default printer
Posted by: Iwan (---.sogeti.nl)
Date: Friday, 25-Jul-2003, 08:58:12

Hi all,

Is there a possibillity to print a document to a printer that differs from the default one?
I don't want to show the printer dialog, but I want to give the control a string with the printername!!

thanks in advance,

Iwan


Re: How to print to directly to a not default printer
Posted by: Tim (---.server.ntli.net)
Date: Saturday, 26-Jul-2003, 08:33:38

I don't think print templates let you do this. However I suppose you could hack it by changing the default printer first then changing it back afterwards. Alternatively, take a look here:

[www.htmlprinting.com]

They have an enhanced behavior that lets you specify the printer.

Tim

Re: How to print to directly to a not default printer
Posted by: Iwan (---.sogeti.nl)
Date: Tuesday, 09-Sep-2003, 08:50:07

Tim,

I try to hack the printersettings, but with no result. Has someone a clue, how to change the default printer before printing the html document??

t i a

Iwan

still looking for a way to print a html document directly to a printer.

Re: How to print to directly to a not default printer
Posted by: Tim (---.server.ntli.net)
Date: Tuesday, 09-Sep-2003, 09:16:45

Did you look at this knowledgebase article: 236777

It's meant to give the registry entries that change the default printer for IE.

Thus, in your code you could change it, print, then change it back. Not ideal but...

Tim

How to print to directly to a not default printer
Posted by: Romit (203.200.38.---)
Date: Saturday, 07-Aug-2004, 13:32:02

Hi
this is a visual basic problem
my problem is that i am able to set a printer 2 as default when Printer 1 was default , but my web browser control in vb all the print out goes to the previous default printer - printer 1
can some one help me in this one?


regards
Romit




Your Name: 
Your Email: 
Subject: 
Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically.
GjCJF
This is a moderated forum. Your message will remain hidden until it has been approved by a moderator or administrator
This forum powered by Phorum.