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 find the typeface of a TrueType font for PCL5 file generation?

I am trying to embed truetype font Treubuchet MS in a PCL5 generating program. But I've stumbled on a problem. To embed and use the the font I should know its typeface, when selecting it for use in the *.pcl file. But I can't find a reference, where…
1
vote
0 answers

How to send PCL5 commands to Brother HL-1111 printer via USB?

I am trying to interface USB Printer (Brother HL-1111 series printer) using Vincullum -II Host Controller IC . I am able to enumerate the printer via USB port of controller but when I send PCL5 commands or any text to Printer , it is not able to…
1
vote
0 answers

PDF417 image to Pcl conversion in java code without any software installation

I have prn file and my requirement is to dynamically generate PDF 417 2D barcode for that prn and pass it to HP Laser printer. I don't find any java API to generate 2D barcode(PDF417)to PCL directly. so I have converted 2D barcode to Image file…
Arthik
  • 11
  • 4
1
vote
1 answer

How can I cleanly resolve conflicts for System.* assemblies between PCLs and UWP App

My Visual Studio 2015 (Update 3) solutions compiled with Windows SDK 10586 consists of some PCLs as well as some UWP apps. PCL => LagoVista.Common.Blinds references System.Runtime, Version=4.0.0.0 PCL => LagoVista.Common …
Kevin
  • 9,309
  • 12
  • 44
  • 51
1
vote
1 answer

PCL point Cloud Error in point_types.h

I am trying to get PCL 1.6.0 to work with Visual Studio 2013. I used the pre-compiled libraries available here: precompiledlibraries I used the Windows MSVC 2010 (64bit) version. After getting everything linked and loaded, i tried to run a sample…
1
vote
1 answer

Xamarin PCLStorage package: What is the root folder this PCLStorage reference to

I saw this package on Xamarin page. To access the file system I can use PCLStorage.FileStream.Current.localStorage to get the current root storage of the device but which folder it referring to on device: Is it the application private folder or…
LittleFunny
  • 8,155
  • 15
  • 87
  • 198
1
vote
1 answer

List of images to point cloud in OpenCV

Could anybody suggest an automatic way to convert from a list of images (without Kinect) to a point cloud in opencv?
user2011909
  • 149
  • 1
  • 13
1
vote
1 answer

Is there a simple way to find out if a boost::adjacency_list is empty?

I'm using a LCCP from the Point Cloud Library, but I'm quite that I'm doing something wrong. I think I narrowed the Error down and it has something to do with the SuperVoxelAdjacencyList sv_adjacency_list; lccp.getSVAdjacencyList…
Sven
  • 81
  • 1
  • 13
1
vote
1 answer

How to prevent plane fitting of plane on xz and yz axes?

I have this code: SACSegmentation seg; seg.setAxis(Vector3f(0, 0, 1)); seg.setEpsAngle(0.5 * M_PI / 180.0); seg.setModelType(SACMODEL_PLANE); seg.setMethodType(SAC_RANSAC); seg.setDistanceThreshold(0.2); // then set the input cloud and…
Sean
  • 380
  • 1
  • 11
1
vote
0 answers

Reading parallel port data meant for printer

I have a 20 year old device that prints data through a 1994 HP Deskjet 550c printer using a parallel port. Now the printer is broken and so there's no way to view the device output. I was thinking of hooking the parallel port from the device to a…
1
vote
1 answer

PRINT PDF using PCL AND PJL in PHP

we have some ricoh printers in our offices and we want to print from php using a simple socket but some documents are pre printed and are located in tray 2 the default sheets are in tray 1 . i want to be able to select a tray of that printer using a…
user1002761
  • 29
  • 2
  • 6
1
vote
0 answers

How to get all files/folders in a folder in Portable Class Library (PCL)

I have searched everywhere for a code sample but for the life of me I cannot find a working solution to get all files/folders in a particular folder in an Indexer library I am coding as a Portable Class Library. I was linked to What need I do to get…
McoreD
  • 313
  • 2
  • 12
1
vote
1 answer

Printing a PCL file in Windows Server 2012 R2 using C#

Is there something specific about Windows Server 2012 R2 that stops a PCL file from being printed using the method below? I used a code I found online to generate a dll file from the url below (you might to scroll a little down to see the answer…
1
vote
1 answer

Using Printer Control Language (PCL) to Increase Left Margin

We have a very old program that we print from where you are unable to change the left print margin in the program. I need to get it printing further from the left edge, ideally about 1 inch for binding. No issue with text going over the right edge…
1
vote
1 answer

Printer Control Language - Printing image x y coordinates

I am trying to print an image using LPR in the Windows command line and I am unable to get the x y coordinates to change. I have read the HP documentation and it looks like *p#X *p#Y is the syntax. I try this with text and it works fine, but as soon…
gcoleman0828
  • 1,541
  • 3
  • 30
  • 49