PDA

View Full Version : How to print to HP laserjet 1100 series using PIC without PC?



iugmoh
- 26th January 2008, 10:58
I need information or experience for how to print to hp laserjet 1100 series automatically from PIC microcontrollers without needing to PC computer, please if one have any idea about this field to reply me

for example I need to print the specific number for example 123 in large size in center of paper from PIC microcontroller for the simplest step

iugmoh
- 26th January 2008, 11:13
The interfacing will be through parallel port

Luciano
- 26th January 2008, 11:34
Hi,

Yes, the LaserJet 1100 is compatible with DOS.
The printer uses the HP PCL5e language.
The printer has 26 Intellifont scalable typefaces built in. (Printer fonts).

PCL 5 Printer Language Technical Reference Manual:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf

PCL 5 Printer Language Technical Quick Reference Guide:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13205/bpl13205.pdf

* * *

Write first a DOS program on a 100% DOS PC and then port the code to the PIC.

Best regards,

Luciano

iugmoh
- 26th January 2008, 12:00
Thanks a lot , It's agood idea and good information , I will try to read the manual and interfacing from Dos to printer then apply to Microcontroller

with my best regards

iugmoh
- 26th January 2008, 16:36
Anyone have an idea how to print anything to printer from PC using direct access language PCL5 with any programming language

Luciano
- 26th January 2008, 16:54
Hi,

On the first page of the PCL 5 Printer Language Technical Reference Manual
there is a link to the part 2 of the document. The link does not work in the PDF file.
Below you can find the link to the part 2 of the manual.

Search "LPRINT" in the part 2 of the manual and you will find samples in BASIC and C.
The samples are about HPGL but this will give you an idea how to send the commands to
the printer.

Best regards,

Luciano


PCL 5 Printer Language Technical Reference Manual

Part 1:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13210/bpl13210.pdf

Part 2:
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13211/bpl13211.pdf

EDIT: See also these links:
http://h10025.www1.hp.com/ewfrf/wc/document?docname=bud09160&lc=en&cc=uk&dlc=en&product=58738&rule=37103#N7571
http://www.dragon-it.co.uk/links/hp_pcl_codes.htm

HP Color LaserJet and LaserJet Series Printers
- History of Printer Command Language (PCL)
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpl04568