PC Review


Reply
Thread Tools Rate Thread

Printing .pdf files in-process

 
 
=?Utf-8?B?RGFubnkgdmFuIEthc3RlZWw=?=
Guest
Posts: n/a
 
      5th Jan 2005
Hi all,

I'm in need of a component that allows for printing a .pdf file, while
assuming the identity of a windows account of choice. This is absolutely
necessary, as the account is used to direct the print job to a specific
mailbox on the printer.

Basically, I'd like to create a thread, have it assume a specific windows
identity (which may be a different one for each print job), and invoke a
method on an in-process component that prints a .pdf file to a printer of my
choice. The job should then arrive in the account's mailbox in the printer,
and I can go back to dreaming of cute fuzzy animals in peace once again.

The thread creation and impersonation of identity have all been a relative
breeze, but printing turns out to be a tough nut to crack, unless I'm missing
something glaringly obvious.

As you may have already guessed, this is meant to be used in a server
environment, so don't even THINK of suggesting I open a GUI and perform a
SendKey to trigger the print! )

Does anyone know how I can direct a file to the printer spooler, or how to
get a .pdf file to print in general, WITHOUT any user interaction?

Thanks in advance,

Danny van Kasteel
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with media files, office files and all image files najam87 Windows XP Help 0 21st Oct 2005 06:05 AM
Files, files and more huge files =?Utf-8?B?SmFzb24=?= Windows XP MovieMaker 8 28th Nov 2004 06:54 PM
Help! Can't Run .EXE, .REG etc. files--all files appear as LNK files Rich Windows XP General 2 4th Sep 2004 05:44 PM
Index.dat Suite - View & Delete Index.dat Files, Temp Internet Files (TIF), Cookies, History, Temp Files BillR Freeware 39 1st Nov 2003 10:40 PM
CD files being copied as Jukebox Files, Not Windows Media Files rHONDA Windows XP Music 1 10th Oct 2003 07:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:53 AM.