Printer Activities

Supported by Publisher

Silver Certified

Custom Activity

2 reviews

4.8k

Printer Activities

Supported by Publisher

Silver Certified

Custom Activity

2 reviews

4.8k


Summary

Set of activities to handle printing using UiPath

Overview

This set of activities gives your Robot ability to print documents, command the printer and obtain printer queue details.

Clear Printer Queue
Activity clears all jobs from queue assigned to printer, if printer name not provided, activity will be performed for default printer.

Get Data From Queue
Activity gets data from queue assigned to specific printer, if printer not precised default one is used. Data is returned as <DataTable>.

Get Default Printer
This activity returns name of default system printer as string. So for output you have to use <string> variable/
List Printers
This activity returns list of <string>s with names of all system printers (also not-real ones like print to pdf or print to OneNote). For output you have to use list of strings (System.Collections.Generic.List<System.String>):
Pause Printer
Stops provided printer name (or for default system printer if name not provided). It doesn’t stop jobs in the queue, it stops whole printer as a hardware.
It has the same effect if user open queue for printer, choose menu Printer -> Pause Printing
Print File
This activity gives your Robot ability to print any file for which you have assigned in system default application which can print this file.
Printing bases on default applications for extension. So, i.e: you will not be able to print *.doc file without MS Word application installed. Please note: each application will be opened for a few seconds, but will be also closed automatically!
Tested for:
1. .pdf (Adobe Acrobat Reader DC 2020.013.20064.12623 & Foxit PhantomPDF Business 10.1.0.37527),
2. .doc, .docx, .xls, .xlsx, .ppt, .pptx (Microsoft Office 2010 & Microsoft Office 2016),
3. .txt (NotePad),
4. .jpg, .png, .gif, .bmp (MS Paint).
Printer Status
Takes as input printer name (which can be obtained using List Printers activity) or uses default system printer.
As an output it returns a dictionary of (string, Boolean). String is a status name and Boolean is false of true for specific status. Your printer has to report specific status i.e. printer door is open to system, otherwise it will not be returned by this activity.

Resume Printer
If printer has status ‘Paused’, it resumes print to work.

Set Default Printer
This activity can be used to change/set default system printer. You should use printer name (which can be obtained using “List Printers” activity. Name – Input – should be provided as <string>.

Benefits


Published: 2020-12-02T12:29:15+00:00 | Updated: 2020-12-18T00:00:08+00:00


License

By clicking download you agree to the following license.


Code Language

Visual Basic


Tags

print
printer

Compatibility

Build and tested on UiPath 2020.10.2, Windows 10. PDF priniting tested with last Adobe Reader 20.013.20064.12623 + with Foxit PhantomPDF


Dependencies

For *.pdf printing: https://get.adobe.com/pl/reader/ installed and set as default app for .pdf or other app which can handle .pdf printing For MS Office documents printing: MS Office installed and apps set as default for corresponding extensions (*.doc, *.docx => MS Word, *.xls, *.xlsx => MS Excel, *.ppt, *.pptx => MS PowerPoint) For *.txt printing MS Notepad



Support

Email: contact@rpaby.pw

SLA terms: Mon-Fri 9 AM to 6 PM CET; Response time: 1-2 business days (24-48 hours); Resolution time: 14 days

Similar Listings