×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Totally New

Totally New

Totally New

(OP)
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!

RE: Totally New

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:

http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=bpl04568

Be aware that some of the manuals (in PDF format) are multi-megabyte downloads.

RE: Totally New

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



Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close