printer-control-language

How to Create PCL file from MS word

六眼飞鱼酱① 提交于 2019-12-18 12:01:04
问题 How to create new PCL file similar to existing MS doc. I have MS doc template and replacing it with actual data. I need to achieve same for PCL format (Create PCL file as template and replacing it with actual value from database and send it to fax). 回答1: install a new printer when asked for a port, create a new port of type "Local Port" as name of the port, enter some file name, e.g. c:\temp\print.pcl select some PCL-compatible printer, e.g. HP LaserJet 4, or whatever your fax is comptaible

Output PCL from Word document using Python

对着背影说爱祢 提交于 2019-12-12 02:50:13
问题 I'm building a web application which will include functionality that takes MS Word (and possibly input from a web-based rich text editor) documents, substitutes values into the formfield placeholders in those documents, and generates a PCL document as output. I'm developing in python and django on windows, but this whole solution will need to be deployed to a web host (yet to be chosen), which in practice means that the solution will need to run on linux. I'm open to linux-only solutions if

Convert all files in a folder from PDF to PCL with Ghostscript

↘锁芯ラ 提交于 2019-12-11 07:45:47
问题 I'm trying to use Ghostscript to convert my files in PDF to PCL. I'm able to convert one file with this command: gswin64c -dBATCH -dNOPAUSE -dSAFER -sDEVICE=pxlcolor -sOutputFile=[PCLPath].pcl [PDFPath].pdf It works fine, I think, if you see anything wrong or not needed please say me. The question is to convert all files in a folder, I don't know how to change the command line to do that, or what I have to do, maybe a script file?? Other question is if there is someway to accelerate the

Is there a way to determine in .Net (or WMI) if a print driver will print to PCL or PostScript format when printing to a file?

我只是一个虾纸丫 提交于 2019-12-11 04:14:26
问题 Is there a way to determine in .Net (or WMI) if a print driver will print to PCL or PostScript or XPS format when printing to a file? 回答1: If your target OS is Windows, one more way is to do some logic on the driver and the print queue. You can use WMI/.NET APIs to get the driver DLL name. If it is unidrv.dll then the driver is a PCL driver and if it is pscript.dll then it is a PS driver. Of course, this is for drivers based on the MS Unidrv/PScript driver framework but you will find that a

Convert pcl to image

大城市里の小女人 提交于 2019-12-06 16:21:53
I'm communicating with a logic analyzer (HP 1660A) over RS232. I issue a command which tells the analyzer to print screen its display and send it over to the controller (my pc) through serial communication. I'm saving the result (which is usually abut 25kB) to my computer and I would like to view it as a TIFF or other format. The problem is that the response from the analyzer comes in PCL format, therefore suitable to be sent to a printer and printed directly, but not to be opened as an image. I have tried a few PCL to image converters to do the job, I found one which does it properly, however

3D Plane fitting algorithms

一个人想着一个人 提交于 2019-12-03 07:20:38
问题 So I'm working on a project where me and a buddy of mine scanned a room using the KINECTv2 and made a 3D model out of it. The goal is to make it possible to add 3d models of different kinds of furniture in real time. To that goal I'm trying out different plane-fitting algorithms in order to find wich one would work the fastest. Does anybody have any suggestions? So far I've only researched the usage of the basic RANSAC algorithm included in PCL. 回答1: Two common approaches for plane fitting

3D Plane fitting algorithms

孤街浪徒 提交于 2019-12-02 19:50:32
So I'm working on a project where me and a buddy of mine scanned a room using the KINECTv2 and made a 3D model out of it. The goal is to make it possible to add 3d models of different kinds of furniture in real time. To that goal I'm trying out different plane-fitting algorithms in order to find wich one would work the fastest. Does anybody have any suggestions? So far I've only researched the usage of the basic RANSAC algorithm included in PCL. Two common approaches for plane fitting are RANSAC and Hough. Here's one performance comparison: https://www.researchgate.net/publication/259519997

What Zebra QLn220 settings do I need to set (and to what value[s]) to get a setting to “stick”?

允我心安 提交于 2019-12-02 07:16:12
问题 I am trying to programatically configure a Zebra QLn220 printer to set its "media.sense_mode" to either "bar" or "gap" (depending on what the user selects). The reliability of these commands working, though, seems very low (sometimes it works, sometimes it doesn't). To test the various possible commands, I used the Zebra Setup Utilities, with the PC plugged into the printer, of course. I sent this command from the util: ! U1 setvar "media.sense_mode" "gap" It worked; I know this, because

Reference to type 'Assembly' claims it is defined in 'System.Runtime', but it could not be found

≡放荡痞女 提交于 2019-11-30 19:00:43
Since updating to VS2017 15.7.1 my Xamarin PCL project is showing the error below in the UWP App.xaml.cs file. Error CS7069 Reference to type 'Assembly' claims it is defined in 'System.Runtime', but it could not be found The offending line is copied below. IntelliSense works on the line. Xamarin.Forms.Forms.Init(e); There are also now a lot of conflict warning messages, for example; Warning Found conflicts between different versions of "System.Net.Http" that could not be resolved. The target .NET framework is 4.5, all NuGet libraries are up to date. So far I've tried adding System.Runtime as a

How can I show an pdf file in xamarin pcl uwp that is outside my instal folder?

泄露秘密 提交于 2019-11-30 09:05:14
问题 Hy, I'm working in a Xamarin PCL project with the platforms Android and UWP . As a feature the user should be able to open an pdf file. For this I'm using Mozilla pdf.js . I have followed this link to get it done on Android and UWP . https://developer.xamarin.com/recipes/cross-platform/xamarin-forms/controls/display-pdf/ Only for UWP I can't get it to function. Here is my custom renderer for UWP [assembly: ExportRenderer(typeof(PdfView), typeof(PDF.UWP.Renderers.PdfViewRenderer))] namespace