Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to referenc functions in other code file Pin
Heath Stewart16-Feb-04 9:43
protectorHeath Stewart16-Feb-04 9:43 
GeneralRe: How to referenc functions in other code file Pin
klufy16-Feb-04 10:50
klufy16-Feb-04 10:50 
GeneralRe: How to referenc functions in other code file Pin
obelisk2916-Feb-04 11:23
obelisk2916-Feb-04 11:23 
GeneralRe: How to referenc functions in other code file Pin
klufy16-Feb-04 11:28
klufy16-Feb-04 11:28 
GeneralRe: How to referenc functions in other code file Pin
Heath Stewart17-Feb-04 2:58
protectorHeath Stewart17-Feb-04 2:58 
Generalcreating an app to track user input Pin
kym34516-Feb-04 8:06
kym34516-Feb-04 8:06 
GeneralRe: creating an app to track user input Pin
CWIZO16-Feb-04 8:17
CWIZO16-Feb-04 8:17 
GeneralRe: creating an app to track user input Pin
apferreira16-Feb-04 13:18
apferreira16-Feb-04 13:18 
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 

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.