Questions tagged [printer-control-language]

This tag relates to questions pertaining to PCL. PCL or Printer Control Language has been developed by Hewlett Packard and is now the de-facto standard for printer languages (laser and ink). Note: For questions about the Portable Class Library, use the tag [portable-class-library] instead, and the tag [point-cloud-library] for questions about the Point Cloud Library.

PCL has several versions. The most used versions are PCL3 (for ink devices) PCL5 and PCL6 for Laser devices. PCL has a binary file format and consists of command/data sets. The commands comprise of page, text, vector and raster commands.

Refer to http://en.wikipedia.org/wiki/Printer_Command_Language for more details.

Note:

209 questions
1
vote
1 answer

How to printing duplex sections with Word 2007

I have a Word 2007 document with many sections. Each section enables / disables duplex using a PCL5 escape code in the header on page 1 of the section. PCL5 printers are getting rarer, especially high volume / capacity ones. Is there an equivalent…
1
vote
2 answers

Convert PDF to PCL using Ghostscript 9.15

Requirement is to convert PDF to PCL with a macro embedded (currently testing this on Windows, however I will need to use this runtime in the application and print it from UNIX). The macro will be used later in another document to embed this cropped…
MoG
  • 404
  • 6
  • 16
1
vote
1 answer

PCL Font Selection

Can somebody give more detail on how the PCL font selection actually works? As I'm confused by reading the HP reference manuals. There is a Primary FontSelectTable and a Secondary FontSelectTable. e.g.: I make changes to the Primary…
juFo
  • 17,849
  • 10
  • 105
  • 142
1
vote
3 answers

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

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,…
1
vote
1 answer

Why would the Zebra QLn220's media.sense_mode var not be set to gap with this code?

I need to set a couple of vars on the Zebra QLn220 belt printer to get it work as we need it to with our app. The first command below (keepPrinterOn) now works: const string quote = "\""; string keepPrinterOn = string.Format("! U1 setvar…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
1
vote
0 answers

PJL commands added to a PCL file breaks barcodes when output to a printer. Possible encoding issue

I am using Redmon Port Redirector to save a PCL stream to file. I then, using C#, add some PJL commands to the file and save it back to disk. Then using LPR send the document to the printer. What happens is that all text prints fine but any barcodes…
Matt Overall
  • 199
  • 1
  • 3
  • 12
1
vote
3 answers

C# PCL rendering into TIFF (or other image format)

I'm looking for the best solution -- and perhaps the cheapest also -- to take PCL5e and PCL6 compliant code and render it into a TIFF image. Reliably. Does anyone have any experience with the PCLTool SDK from PageTech…
Nathan Loding
  • 3,185
  • 2
  • 37
  • 43
1
vote
1 answer

How to distinguish between PCL data and usual Text?

Currently I try to distinguish between PCL and Text data, does someone know how to distinguish them properly? I have read that there are several PCL standards (PCL1 - PCL6), would this affect the detection?
Erdinc Ay
  • 3,224
  • 4
  • 27
  • 42
1
vote
2 answers

Custom Driver For Thermal printer in windows

I am try to develop the driver for my printer,which is working on com port. it is a thermal printer most focus on receipt printing.but i don't have any driver for this printer so now i using windows "GENERIC \TEXT ONLY PRINTER" drivers.it working…
Mr.Cool
  • 1,525
  • 10
  • 32
  • 51
1
vote
0 answers

Django-multiuploader: failed to upload pcd format

I am new to django, and I using the django-multiuploader 0.2.40 for my project. what I want is to upload .pcd file-format(PCL-lib), but when I using this plugin-app, I will get [IOError: cannot identify image file] so I added some description to…
Porter Chen
  • 9
  • 2
  • 5
1
vote
1 answer

How to get Aysnc/Await support on MVVMCross with Profile 104?

I use VS2012 and everything is from stable channel only. Also MVVMCross is up to date. I thought Xamarin already released official support for async/await in PCL? But I still can't add System.Threading.Tasks in the Core PCL project. I read that…
1
vote
1 answer

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

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…
Alavaros
  • 1,665
  • 7
  • 32
  • 52
1
vote
1 answer

Is there a specific drawing order in PCL?

I am trying to write a PCL document, which has several drawing objects (lines, rectangles, texts...) I found that if I draw the rectangles before anything else, they appear in the right position and size. However, if I draw them among the rest of…
ilvidel
  • 322
  • 1
  • 4
  • 13
1
vote
1 answer

Problems converting spool files generated by Canon iR-ADV C5235/5240 PCL6 printer driver

In our software we need to be able to convert SPL files which printer drivers write to the C:\Windows\System32\spool\PRINTERS folder to PDF files. For SPL files in PCL format we perform this conversion using pcltool.exe from VeryPDF, which mostly…
Tim
  • 375
  • 1
  • 4
  • 18
1
vote
0 answers

Conversion of Enhanced Meta File (EMF) to Printer Command Language(PCL5) using C#

In WMF Aldus header there is a property named "Inch" to get “Number of metafile units per inch”. Since similar property is missing in EMF, Could you please let me know how can I calculate the equivalent of the above one in EMF? My requirement is…