直接从dos命令行打印pdf文件 [英] Printing pdf file directly from dos command line

查看:1429
本文介绍了直接从dos命令行打印pdf文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从Windows XP中的dos打印pdf文件.

I am trying to print a pdf file from dos, in windows xp.

C:\>print c:\dos.pdf /D:"\\jayaprada-pc\HP LaserJet 1018"

C:\dos.pdf is currently being printed

说正在打印文档.但是我的打印机没有打印出来.

Its saying doc is being is printed. but no print is coming my printer.

它在打印机后台处理程序窗口中显示文档.

Its showing the document in printer spooler window.

从Adobe Reader正常打印时,打印效果很好.

When giving print normally from adobe reader , print is coming fine.

我的配置出了什么问题.

What is wrong with my config.

实际上,我想从命令行打印pdf文档,因此它不会弹出打印机属性.

Actually i want to print a pdf document from command line , so it wont pop up printer properties.

建议我使用其他可从Windows命令行打印的替代工具或第三方工具.

Suggest me any other alternative or third party tool that can be used print from command line in windows.

推荐答案

使用此:

AcroRd32.exe /t <file.pdf> <printer_name> <printer_driver> <printer_port>

例如:

"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe" /t "D:\File.pdf" "Brother MFC-7820N USB Printer" "Brother MFC-7820N USB Printer" "IP_192.168.10.110"

注意:
要查找打印机信息,请右键单击您的打印机并选择属性.
在上面显示的情况下,是打印机名称和驱动程序.

Note:
To find the printer information, right click your printer and choose properties.
In my case shown above, the printer name and driver.

这篇关于直接从dos命令行打印pdf文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆