Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/spring-mvc/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
File io Windows 8,打印到PostScript打印机到文件_File Io_Printing_Ghostscript - Fatal编程技术网

File io Windows 8,打印到PostScript打印机到文件

File io Windows 8,打印到PostScript打印机到文件,file-io,printing,ghostscript,File Io,Printing,Ghostscript,我错过了一些愚蠢的简单的事情吗 我有一台新的Windows8机器。。。64位。 从我旧机器上的一个应用程序,我生成报告输出到一个通用PostScript打印机,该打印机配置为发送到文件,而不是LPT、COM、TCP/IP 尝试应用程序时,无法生成提供的文本文件的输出 所以,我把我的申请从等式中去掉。我只需进入控制面板,选择这台打印机,并告诉Windows打印机对话框进行测试打印。它会出现一个对话框来输入文件名,我把它放进一个我有完全权限的文件夹。。。它失败了。。。我甚至尝试作为管理员删除任何可能

我错过了一些愚蠢的简单的事情吗

我有一台新的Windows8机器。。。64位。 从我旧机器上的一个应用程序,我生成报告输出到一个通用PostScript打印机,该打印机配置为发送到文件,而不是LPT、COM、TCP/IP

尝试应用程序时,无法生成提供的文本文件的输出

所以,我把我的申请从等式中去掉。我只需进入控制面板,选择这台打印机,并告诉Windows打印机对话框进行测试打印。它会出现一个对话框来输入文件名,我把它放进一个我有完全权限的文件夹。。。它失败了。。。我甚至尝试作为管理员删除任何可能的权限问题,但仍然失败

我遗漏了什么东西,本来应该很简单,甚至MS dialog/test打印都不起作用


更新。。。在挖掘和挣扎的过程中,我向微软开出了一张支持票。他们已经确认,这个特定的过程是一个bug,并将在准备好后与其他补丁一起发布补丁

另一个更新

显然,我从戴尔买的那台机器只有Windows8基本版。通过多次来回的支持呼叫,在尝试使用某些打印机驱动程序(如Microsoft PS Color printer)进行后期脚本输出时,这是一个特定的问题,这些驱动程序是安装了Windows的新机器提供的默认驱动程序

我们的工作很忙

对于grins,我最终访问了HP的网站HP打印机有多普遍:,下载了2500 LaserJet的打印机驱动程序,并安装了该版本的PostScript打印机。安装后,并尝试输出,我可以生成一个文本文件的输出没有问题。。。即使默认设置为LPT1:并且被重定向到postscript内容的输出文本文件


因此,最终,通过使用另一家供应商的打印机驱动程序进行postscript打印,问题得到了解决。我很乐意使用。

您是否使用通用postscript Windows驱动程序安装PS打印机?@JScoobyCed,更详细的修改问题在我看来非常像JScoobyCed暗示的那样,您使用了错误的打印机驱动程序。“通用XPS类驱动程序”生成XPS文件,您需要PostScript。安装打印机时,在左栏选择“Microsoft”,在右栏选择“Microsoft PS Class Driver”。当我打印一个测试页时,它似乎工作正常。@KenS,实际上,MS/PS是我尝试的第一台打印机,它也失败了。。。当时我尝试切换到基于XPS/文件的输出,得到了完全相同的结果。。。零字节文件。您正在运行Win8-64位吗?是Windows 8 64位版本
To clarify what I DID do..
Control Panel - get to devices / printers
Add Printer -- clicked on the "printer not found"
Radio for "Add a local printer or network printer..." -- next
Use an existing port -- FILE: (Print to File)   -- next
Manufacturer - Generic  -- Printers - Generic XPS Class Driver (A) -- next
(used the driver already installed since I tried previously) -- next
Printer name: -- left alone by default of "Generic Color XPS Class Driver (A) -- next
Do not share this printer -- next
Print a test page -- dialog defaults to "Libraries\Documents\", I entered myTest.prn -- Save
It APPEARS to generate the file... however, it only creates the file as a zero-byte size