Click here to Skip to main content
15,888,802 members
Home / Discussions / C#
   

C#

 
GeneralSMTP Help Pin
mina_aziz16-Feb-04 7:00
mina_aziz16-Feb-04 7:00 
GeneralRe: SMTP Help Pin
Heath Stewart16-Feb-04 9:31
protectorHeath Stewart16-Feb-04 9:31 
GeneralASP.NET and slider controls Pin
julian_l16-Feb-04 6:54
julian_l16-Feb-04 6:54 
GeneralRe: ASP.NET and slider controls Pin
Heath Stewart16-Feb-04 9:22
protectorHeath Stewart16-Feb-04 9:22 
GeneralPrintDocument1.PrinterSettings.CanDuplex Pin
amadeonMk16-Feb-04 5:13
amadeonMk16-Feb-04 5:13 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
Heath Stewart16-Feb-04 6:54
protectorHeath Stewart16-Feb-04 6:54 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
amadeonMk16-Feb-04 21:10
amadeonMk16-Feb-04 21:10 
GeneralRe: PrintDocument1.PrinterSettings.CanDuplex Pin
Heath Stewart17-Feb-04 2:54
protectorHeath Stewart17-Feb-04 2:54 
And how do you propose to do that? You'll still need something that knows how to print and/or convert PDF files. If your printer supports PostScript, you can print to a file but you'll still need a program to read and print the PDF. That's even if your printer supports PostScript (most HP's do, but they prefer PCL for some stupid reason). And to my knowledge, the printing subsystem that .NET encapsulates (at least in the base class libraries) doesn't support spooling RAW documents (since you'd be sending the PostScript, you don't want the driver to convert it to PostScript). You'd need to find a completely different printing library that can spool RAW (and since most printing libraries are to help you accomplish printing graphics and text, I doubt you're going to find one). You'll be forced to P/Invoke calls on the print server. But that still doesn't solve your problem since you still need something that can read and print PDF files.

If this isn't an automated program, just use printWithDialog on the Acrobat OCX. If this is an automated program, take a look at the Acrobat solutions on Adobe[^]'s web site. They do have a product that can monitor directories and convert to PDF (Distiller, part of the Acrobat application). IIRC, there's also one that can monitor a directory and print the files using options you specify.

If the Acrobat OCX doesn't work for you, there are others, some even written in managed code, such as TallPDF (or something like that - they advertise on CodeProject and supposedly are pretty good).

 

Microsoft MVP, Visual C#
My Articles
GeneralText smoothing in a single application Pin
jremignanti16-Feb-04 4:19
jremignanti16-Feb-04 4:19 
GeneralRe: Text smoothing in a single application Pin
Heath Stewart16-Feb-04 6:43
protectorHeath Stewart16-Feb-04 6:43 
GeneralRe: Text smoothing in a single application Pin
jremignanti16-Feb-04 7:19
jremignanti16-Feb-04 7:19 
GeneralRe: Text smoothing in a single application Pin
Heath Stewart16-Feb-04 8:52
protectorHeath Stewart16-Feb-04 8:52 
GeneralUsing breakpoints with DirectDraw 9.0 Pin
Jean Bédard16-Feb-04 3:57
Jean Bédard16-Feb-04 3:57 
GeneralRe: Using breakpoints with DirectDraw 9.0 Pin
Mazdak16-Feb-04 4:27
Mazdak16-Feb-04 4:27 
GeneralRe: Using breakpoints with DirectDraw 9.0 Pin
Heath Stewart16-Feb-04 6:32
protectorHeath Stewart16-Feb-04 6:32 
GeneralRe: Using breakpoints with DirectDraw 9.0 Pin
leppie16-Feb-04 6:41
leppie16-Feb-04 6:41 
GeneralLoading a DLL Dynamically Pin
draco_iii16-Feb-04 3:37
draco_iii16-Feb-04 3:37 
GeneralRe: Loading a DLL Dynamically Pin
partyganger16-Feb-04 3:41
partyganger16-Feb-04 3:41 
GeneralSingle quotes in query Pin
Reinier van de Wetering16-Feb-04 1:33
Reinier van de Wetering16-Feb-04 1:33 
GeneralRe: Single quotes in query Pin
Mazdak16-Feb-04 3:01
Mazdak16-Feb-04 3:01 
GeneralRe: Single quotes in query Pin
Verdant12316-Feb-04 11:16
Verdant12316-Feb-04 11:16 
GeneralPrintPreviewDialog Pin
brain2cpu16-Feb-04 1:10
professionalbrain2cpu16-Feb-04 1:10 
GeneralRe: PrintPreviewDialog Pin
Reinier van de Wetering16-Feb-04 1:41
Reinier van de Wetering16-Feb-04 1:41 
GeneralRe: PrintPreviewDialog Pin
Heath Stewart16-Feb-04 6:28
protectorHeath Stewart16-Feb-04 6:28 
GeneralRe: PrintPreviewDialog Pin
brain2cpu17-Feb-04 0:34
professionalbrain2cpu17-Feb-04 0:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.