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
12
votes
3 answers

How do I print a PCL file in C#?

I have a PCL file that I generated using "print to file". What's the best way to programmatically print this file in C#? (Given of course that the printer I am printing to supports PCL.) I know that I can print by invoking from a prompt: copy…
vicsz
  • 9,552
  • 16
  • 69
  • 101
10
votes
2 answers

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

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…
Lefty
  • 103
  • 1
  • 1
  • 4
9
votes
1 answer

How to send pcl files to printer on windows 7?

I have one an application that generates ".pcl" files. Once generated they are saved on a folder on my Windows 7. How do I send these files to the printer (either network printer or USB connected printer) for printing?
AniJ
  • 205
  • 2
  • 4
  • 9
8
votes
3 answers

Converting PCL to PDF

I am looking to create (as a proof-of-concept) an OCaml (preferably) program that converts PCL code to PDF format. I am not sure where to start. Is there a standardized algorithm for doing so? Is there any other advice available for accomplishing…
Mat Kelly
  • 2,327
  • 7
  • 29
  • 51
6
votes
2 answers

3D Plane fitting algorithms

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…
Kiiiieeeeuuuw
  • 113
  • 1
  • 1
  • 10
6
votes
2 answers

Zebra ZPL Commands to resize barcode to sit within a label

I am using Zebra GT800 label printer with a label role size with 2.5' * 1.75'. I'm struggling to get it resize to the label within, using ZPL commands. I tried with several values in bold text which I read in the user guide of ZPL, but no…
6
votes
2 answers

Prevent Ghostscript from rasterizing text?

I'm trying to convert PDFs to PCL (using ghostscript, but I'd love to hear alternative suggestions), and every driver (ghostscript device), including all of the built-ins and gutenprint generate PCL files many times larger than the input PDF. (This…
Marcin
  • 48,559
  • 18
  • 128
  • 201
6
votes
3 answers

Ghostscript rotate pages

I use Ghostscript to convert PDF documents to PCL for printing. Recently I have the additional requirement that all pages must be rotated to Portrait before printing. I have found a way to do so using Ghostscript with following command and…
Zig158
  • 371
  • 2
  • 9
5
votes
3 answers

Generate PCL from PDF in Java

What is the best way to generate a PCL output file from an existing PDF file in java?
suricata
5
votes
2 answers

When using nuget packages is there a way to avoid netstandard assemblies in favor of PCL?

I have a desktop application and a simple class library that targets the .Net framework 4.6.2. Recently I noticed that when I update my nuget packages in VS 2017 (15.6.3), one of them started pulling in the some newer netstandard2.0 assemblies. I'm…
5
votes
1 answer

Access printer through Wifi from android device

I am developing a Billing Application in android. My hardware requirements are : Android tab , WiFi device , Printer. My application Ui have input controls. After filled inputs ,values move to SQLite database by clicking submit button. when i click…
selva_pollachi
  • 4,147
  • 4
  • 29
  • 42
4
votes
5 answers

How to Create PCL file from MS word

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).
Harendra
4
votes
3 answers

tpcl(TEC Printer Command Language) [ESC]PC align left

I want to send a label to my tec printer using php and LPR. Everything is working fine, except the alignment of some parts. My code/label as is: {D0478,0600,0400,0640|} {C|} {PC01;0040,0135,05,05,J,00,B=Item number: xxxxxx|} …
4
votes
2 answers

How can I get HttpOnly cookies in Windows Phone 8?

I am working in a Windows Phone 8 PCL project. I am using a 3rd party REST API and I need to use a few HttpOnly cookies originated by the API. It seems like getting/accessing the HttpOnly cookies from HttpClientHandler's CookieContainer is not…
4
votes
4 answers

PDF to PCL conversion

In my Java application, I have PDF files that I eventually need to convert to PCL and send to a RightFax server. I'll also need to embed codes in the PCL files that RightFax will read to know where to send the fax. What's the best approach towards…
Khandelwal
  • 661
  • 2
  • 14
  • 24
1
2 3
13 14