How to print external document ?

CK CK 3788 
Created at
Updated at  
415 0 0

Without complex programming, you can print document by ShellExecute function.

 

use ShellAPI;

.
.
.

ShellExecute(Handle, 'print', PChar('c: est est.doc'), nil, nil, SW_SHOW);
Tags GetPort Print ShellExecute Facebook X
Comments 0
Similar posts
  1. How to launch the external application in Delphi ?
    1,069
  2. Changing the Title of a Print Dialog in Delphi
    1,093
  3. I want to select directory(folder) not file. How can I do that ?
    617
  4. How to install an INF file using Delphi ?
    462
  5. How to run shell command by MFC ?
    436
  6. Adding Custom Paper Sizes To Named Printers
    647
  7. Print HTML In C# With Or Without The Web Browser Control And The Print Dialog
    972
  8. A Customizable Printing Text Class
    432
  9. Simplified .NET Printing In C#
    692
  10. How To Print Text In C#
    455
  11. Printing A Page
    379
  12. Get A Print Dialog Box By Clicking A Button
    818
  13. How To Show The Print Dialog And Print Text Files
    1,295
  14. How To Open Url In Default Webbrowser
    458
  15. Delphi Program can command level execution program with hidden mode
    699
  16. Run command with Administrator permission in Delphi on Microsoft Windows
    762
  17. Run PowerShell Command as Administrator in Delphi
    655
  1. Run command with Administrator permission in Delphi on Microsoft Windows
    762
  2. Delphi code to send data to web server based on POST method
    1,029
  3. Good Delphi components
    923
  4. How to download/grap web pages or XML document at internet website in Delphi XE?
    870
  5. Delphi Program can command level execution program with hidden mode
    699
  6. How To Turn On/Off Monitor with Delphi
    846
  7. How to get application version number in Delphi
    1,549
  8. The Delphi function to get My Videos folder
    2,311
  9. Get Application Data Path on Delphi
    837
  10. I want to select directory(folder) not file. How can I do that ?
    617
  11. Changing the Title of a Print Dialog in Delphi
    1,093
  12. Auto Logon Programming in Delphi
    1,026
  13. Thread Application Implementation in TThread
    663
  14. Is there directory selection VCL component in Delphi ?
    517
  15. How to launch the external application in Delphi ?
    1,069
  16. Delphi API to get windows temporary directory
    575
  17. Delphi API to get the current working directory
    1,248
  18. How to resize PNG file in Delphi ?
    1,212
  19. Get the length of arrays and a string
    1,730
  20. Delphi Pointer Types
    21,801
  21. How to read/wrtie INI file in Delphi ?
    3,098
  22. How to get file created time, modified time, and last accessed time ?
    3,320
  23. Delphi string conversion functions - AnsiToUTF-8, UTF8Encode, ...
    643
  24. When subject is crashing in TIdSMTP VCL
    616
  25. How to send text/html based email in UTF-8 with TIdSMTP, TIdMessage VCL
    1,077
  26. How to encode subject content when sending mail with TIdMessage ?
    1,072
  27. Base64 Encoding/Decoding function for Delphi
    1,153
  28. How to send email by TIdSMTP VCL ?
    1,018
  29. How to return exit code such as exit() function in C/C++ ?
    662
  30. How to get parameter string ?
    1,238
Recently updated
  1. Why 100% SEO Guarantees Better User Engagement and How to Achieve It in Your Service
    40
  2. Why SPF and DKIM Are Essential for Linux Email Servers?
    34
  3. How do I create animated background for Google Meet?
    20,613
  4. MaxMind GeoLite2 vs. DB-IP Lite vs. ip-api.com: Choosing the Right Free IP Geolocation Solution
    245
  5. Meet Valkey: Why Redis Changed Its License, Why Valkey is Better, and How to Use It as a Drop-in Replacement
    94
  6. How Rogue Web Scrapers Are Stealing My Content and Destroying My Server
    157
  7. Array of arguments passed to script in PHP
    90
  8. Invalid Auction Storms in Ad Tech
    98
  9. Building MRC-Compliant Instrumentation in Ad Tech: Implementation Steps and Key Challenges
    202
  10. The Two Clocks of Ad Server Architecture
    70
  11. Frequency Cap Architecture Overview
    515
  12. Collecting Proof-of-Play from 100,000 Screens
    146
  13. Vector Search in Relational Databases (RDBs): Trends & Usage Environments
    287
  14. What is RedisVL?
    109
  15. Designing a Skill Registry Architecture: Minimize Token Usage and Maximize AI Performance
    230
  16. TPU & GPU Cluster Management Tools
    244
  17. The Concept of Scaffolding in AI Agents
    233
  18. Beyond Static Pipelines: Architecting LLM Multi-Agent Systems for Autonomous Workflow Orchestration
    583
  19. AI-DLC vs. AI-SDLC: Model-Centric vs. System-Centric AI Development
    259
  20. Fine-Tuning Open-Weight LLMs: Training, Licensing, and Deploying Custom Models with Ollama
    339
  21. Inside the Next-Generation Streaming Architecture: Ultra-Low Latency, SGAI, and AI Codecs
    202
  22. Machine Learning: Training vs. Ranking
    221
  23. The Continuous Learning Machine: Designing a Loop That Actually Turns
    222
  24. The Next-Gen Low-Latency Standards: LL-HLS & MoQ
    195
  25. Designing a Data Curation System Around a Vector Database
    220
  26. Extracting Context from Live Video: The Architecture Got Simpler When We Stopped Building Features
    256
  27. The New Ad Stack Behind Live Sports Streaming: Inside SGAI, EABN, and the Standards Race to Fix Live Monetization
    656
  28. Designing MLOps Architectures to Handle Seasonal Data Drift in EV Fleet Models
    195
  29. From 15 to 40+ FPS: Accelerating PyTorch Object Detection on Automotive ECUs
    217
  30. Understanding Data Lineage
    260