Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Totally New

Status
Not open for further replies.

80486

Technical User
Jun 2, 2005
1
DK
Hello

I'm trying to change the default pitch size on my hp laserjet 1100.

From HP support I get the following information:

Set Pitch Mode Compressed (16.5-16.7)
Ec&k2S (s)
027 038 107 050 083 (115)
1B 26 6B 32 53 (73)

I dont know anything about pcl programming so I´m totally stuck!
What I need is information about how to comunicate with the printer. Do I use the dos promt or the hyper terminal or what???
Thanks for all the help!
 
If you want to 'send' a print stream held in a file (myfile.prn) to the printer, then from a command-prompt (DOS) session:

(a) if it is parallel-port connected:

copy /b myfile.prn LPT1:

(b) if it is USB-connected:

I'm not sure - I think something may be possible with 'net use', provided you have a Windows printer set up for it; other contributers will probably be able to expand on this.

(c) if it is network-connected (unlikely for LJ1100 ?):

lpr -S printer-IP-address -P any myfile.prn

The command mentioned in your original post is almost obsolete now, and will only set a value for the current job anyway; it will not set a permanent default - for that you probably require a PJL statement, but the support of PJL does tend to vary somewhat between models.

The following link provides a brief history of the PCL language, and links to the PCL Technical Reference manual, and also to other PCL5 & PJL manuals:


Be aware that some of the manuals (in PDF format) are multi-megabyte downloads.
 
If you have say QBASIC on your computer you could go into
Qbasic and type the following to build the file with
the specifications you listed to set the primary and secondary font pitch. (which is what that sequence is defined as).
Step 1:
-------
OPEN "condense.prn" for output as #1
PRINT #1,CHR$(27);"&k2S";
CLOSE #1

Step 2:
-------
Then run it (Function key F5)

Step 3:
-------
then exit the qbasic editor.

Step 4:
then send the condensed.prn file to the printer as suggested above. (you could use myfile instead of condense)
----------------------------------------
If your printer is connected as prt1 or prt2 or prt3 then
you could even replace the "condense.prn" with
"prt1:" or "prt2:" or "prt3:" whichever is applicable and not have to send the file to the printer at all sense it would be sent by the program." This assumes it's not a windows only printer and will accept dos commands. Doing it
this way you can skip step 4



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top