Add File into Printer Queue using uipath

Hi,

I’m trying to add a file to a specific printer queue to print the file. But unable to succeed in that. while executing it, job are being added in spool status and gone in faction of second.
Can anyone able to help me out?
I have upload my flow aswell

Thanks,
Ukesh Kumar DMain.xaml (13.5 KB) toPrintTheDownloadedAttachment.xaml (59.9 KB)

Fine
Kindly have a view on this once buddy



Cheers @ukeshd

Hi Palani,
Thanks for your response :slight_smile: .
I had check those topics, I have imported “system.drawing.printing” as well.
I’m expecting to do the action in UiPath itself instead of using any other tools like “SumatraPDF.exe” like that. I’m trying to print a file of irrespective types like (Image, PDF, Word or Text) based upon the input provided by enduser.
The code which I have uploaded is almost fulfilled my requirement. but the only pending action is to add the file in the specific printer queue! So I have created a new topic in Forum instead of related topics which you have mentioned.

Thanks,
Ukesh

Hello @ukeshd
Following links might help you regarding printer queue.


1 Like

Hi Pratikg,

Thanks for your kind support, My issue have been resolved by using Printer activities which you have mentioned.

Thanks,
Ukesh Kumar.D

2 Likes

Hi Pratikg,

Instead of using Printer activities, Is there any other possibilities to do the same action in VB.net? I have used “Addjob”, But while executing that, Job have been added to printer queue as in Spooling state, in fraction of second, that particular JOB is getting disable in the printer queue. It’s not successfully adding job to printer queue.

Thanks,
Ukesh