Solved

HP LJ1200 Setting FORMLINES

Posted on 2001-07-25
4
258 Views
Last Modified: 2013-12-15
In the past I used a string of ASCII to change formlines on LJ1100 from default of 60 to 66:  27 38 108 54 54 80
Now trying same on LJ1200 and it just prints the characters on paper, which leads me to believe that the escape character is different.  Would appreciate characters needed or a better method.  Thanks.
0
Comment
Question by:sjulian
  • 2
  • 2
4 Comments
 
LVL 12

Expert Comment

by:DRRYAN3
ID: 6324959
You cannot send straight ASCII codes to the printer, they must be converted into the actual characters represented by the ASCII numeric code.  Most DOS applications provide a way to do this by entering the printer escape codes.

What software are you trying to use?
0
 

Author Comment

by:sjulian
ID: 6326761
I used a Visual Basic exe to send the string to the printer.  Code below:

Private Sub cmdOk_Click()
'RADIO BUTTONS ALLOW USER TO SELECT WHAT VALUE TO SET FORMLINES
If opt66.Value = True Then
  Printer.Print Chr$(27); Chr$(38); Chr$(108); Chr$(54);  Chr$(54); Chr$(80)
Else
  If opt60.Value = True Then
    Printer.Print Chr$(27); Chr$(38); Chr$(108); Chr$(54); Chr$(48); Chr$(80)
  End If
End If
Printer.EndDoc
Close
End
End Sub

Private Sub Form_Load()
    CommonDialog1.ShowPrinter
End Sub

0
 
LVL 12

Accepted Solution

by:
DRRYAN3 earned 125 total points
ID: 6327318
I think that the Windows printer driver is your problem.  You will have to set the style you want using the Windows printer API calls.
0
 

Author Comment

by:sjulian
ID: 6327402
I got an answer from HP, but it was wrong.  All that has to be done is to start the HP Configuration Utility, and change the form lines setting.  Simple Huh?
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

How to solve seemingly unsolvable printer issues. Users sometimes run into printing issues where all the normal steps do not seem to work. Well the steps below can show users how to take one extra step beyond the normal steps needed to remove old…
When I recently replaced my image transfer kit on my office HP color laserjet 5550dn printer, I had a slight problem.  The left bracket that holds the transfer kit got stuck in the upright locked position instead of being at a 45 degree angle facing…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now